19.09.2016 Views

Transportation Management with SAP LES

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Picking Goods 7.1<br />

7.1.6 Condition for Executing Picking<br />

As the last setting before picking, you must define the condition that indicates<br />

when the delivery document can be released for picking. You must create your<br />

own definition.<br />

Standard <strong>SAP</strong> software provides condition 111. The condition is set so that picking<br />

cannot occur when the delivery is flagged <strong>with</strong> a credit limit block. Listing 7.1<br />

gives the coding for condition 111.<br />

* FORM BEDINGUNG_PRUEFEN_111<br />

* User checks for subsequent functions from a delivery *<br />

* *<br />

* Picking *<br />

FORM BEDINGUNG_PRUEFEN_111.<br />

* Picking is not allowed if a credit block exists<br />

* IF statement deleted “n_566523<br />

* document header<br />

IF VBUK-CMGPC CA ‘B’.<br />

*Read the subsequent function information for the message<br />

PERFORM FOFUN_TEXT_READ USING GL_FOFUN<br />

CHANGING FOFUN_TEXT.<br />

MESSAGE ID ‘V1’ TYPE ‘E’ NUMBER ‘849’<br />

WITH FOFUN_TEXT<br />

RAISING ERROR.<br />

ENDIF.<br />

ENDFORM.<br />

Listing 7.1 Program Code for Condition 111<br />

If the status of the credit limit is set to “B,” error message 849 from message ID<br />

V1 is displayed: “Subsequent function ‘&’ not possible due to a credit block.” The<br />

coding itself is stored in ABAP LV07A111.<br />

Technical Information About the Picking Condition<br />

EE<br />

EE<br />

EE<br />

EE<br />

Field Length: 3 places<br />

Path in Customizing: Logistics Execution • Shipping • Picking • Define Picking<br />

Requirements<br />

Specific Transaction: OVB6<br />

Table: TVFO (follow-up function “11,” group ID “FOFU”)<br />

Personal Copy for Tina Mastrup, user id 9f19c686-d5e1-4016-94fd-ebc72e1b8f7e<br />

241

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!