cancel
Showing results for 
Search instead for 
Did you mean: 

PGI

Former Member
0 Kudos

Dear Experts,

I have implemented Shipment and Transportation module in my org.My issue is while creating outbound delivery ther is a tab button Post Goods Issue. I want to make it in display mode while creating delivery with reference through SO nos so that users will able to do the PGI once the shipment doc nos generated.

I want PGI to be done only in VL02n,not through VL01N.

How can i go for this..

Thanks

Shri..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I can suggest you 2 options.

Option one -

Create a transaction variant through SGD0 for VL01N transaction. In that disable PGI button. create a Z transaction as ZVL01N and give authorization to that for those who create the delivery. Remove access to VL01N from them.

Then all the time they'll create delivery from ZVL01N where PGI button will be disabled.

Option two -

Use transaction Vl10C / VL06O instead of VL01N.

Configure screens as per your requirement.

Best regards,

Anupa

Former Member
0 Kudos

Hi Anupa,

I am unable to find screen variant field in SHD0.

Former Member
0 Kudos

Hi,

MB_CHECK_LINE_BADI implement this badi. The logic should be ask the ABAPER to check the entry for the deilvery in VTTP if it is exist in that table means shipment is created for the delivery. In this Badi check the Tcode and restict the PGI.

Please find the logic also.


  SELECT vbeln mtart
        FROM lips
        INTO TABLE it_lips1
        WHERE vbeln = is_vm07m-vbeln.

        IF it_lips1 IS NOT INITIAL.

          SELECT SINGLE tknum
          FROM vttp
          INTO w_tknum1
          WHERE vbeln = is_vm07m-vbeln.
          IF sy-subrc <> 0 AND w_pcfg IS NOT INITIAL.
            MESSAGE e000(ymsd) WITH 'Please Follow The Shipment' 'Process and Then Do The PGI'.
          ENDIF.
        ENDIF.

Regards,

Srinivas.

Edited by: Srinivasa Rao Nemalipuri on Apr 19, 2010 2:40 PM

Edited by: Srinivasa Rao Nemalipuri on Apr 19, 2010 2:40 PM

Edited by: Srinivasa Rao Nemalipuri on Apr 19, 2010 2:42 PM

Former Member
0 Kudos

Hi,

Haven't looked at that. Thought it's possible with SHD0. Sorry!

You have another option with Release strategy in sales orders.

You can configure a release strategy to block PGI.

Once shipment is created; let same user to release the PGI block of the sales order else code a user exit to do same automatically

Then PGI can be done after wards.

Best regards,

Anupa

Answers (0)