cancel
Showing results for 
Search instead for 
Did you mean: 

Any *USEREXIT* available to check PGI done or not while printing delivery

Former Member
0 Kudos

My Requirement is

Printing of the delivery ticket (Delivery Challan) should be done only after post goods issue and not before that. Hence it has to be validated before every printing.

So, the customer can be given delivery ticket only after post goods issue and no changes can be done subsequnelty in the system.

Any USEREXIT available to check PGI done or not while printing delivery challan?

Please help me in this regard.

Regards,

Anbu

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Dear Anbu

No user exit is required.

Go to IMG -- Logistics-Execution --> Shipping --> Basic Shipping Functions --> Output Control --> Output Determination --> Maintain Output Determination for outbound deliveries --> Maintain output determination procedure.

There select the required procedure and click on u201CControl datau201D and maintain Requirement 1 there. By having this assignment, without doing PGI, delivery document cannot be printed.

thanks

G. Lakshmipathi

Former Member
0 Kudos

I have checked Functional SPRO setting in T.Code: NACE.

In the Output Determination Procedure for Delivery - against the output type there is a column "REQUIREMENT". U can use requirmenet "1" and then system will issue output only after PGI.

The Code in Routine 1 is as follows -

***INCLUDE LV61B001 .

FORM KOBEV_001.

    • Work area KOMKBV2 is available*

    • If goods issue has been posted for the delivery, then the output*

    • should be created.*

IF KOMKBV2-WBSTK = 'C'.

SY-SUBRC = 0.

ELSE.

SY-SUBRC = 4.

ENDIF.

ENDFORM.

FORM KOBED_001.

ENDFORM.

I have gone through SAP Note 415716 But Still it is NOT working.

Any clues?

Regards,

Anbu

Former Member
0 Kudos

Hi,

IF KOMKBV2-WBSTK = 'C'. means total goods movement status is 'C' completed then only print delivery document.

When that condition satisfy then system will print the document.

you can check this status in delivery document>goods movement data in total goods movement status.

Assign this requirement in output determination procedure to output type.

and assign this requirement to Access Sequence also.

Goto NACE and choose application V2, click on access sequence. select the access sequence (E.g 0005) double click on accesses assign requirement to condition table and save it.

I hope this will solve your problem.

Regards,

Chandra

Answers (0)