User exit PGI

Heloo Gurus,
I have a scenario where I need to copy some fields from shipment into EIKP table at the time of PGI.
Can you gurus help me with the user exit to be used.
The process in as follows.
Create Sales order VA01
Create delivery VL01n
create shipment VT01n
Post goods issue VL02n (At this time some of the header details need to be updated in EIKP table)
Invoice
Muchas gracias

Hello Sunny, Welcome to SCN
https://wiki.sdn.sap.com/wiki/x/WAJBB - find user exit and BADI for a Tr.

Similar Messages

  • Calling a driver program by submit in user exit for PGI

    Hi Gurus,
    I have a question regarding post goods issue (PGI) for transaction vl01n,vl02n and vl06g.
    earlier i have created a smartofrm and a driver program for sending the form output attachment in a mail after delivery posting manually.
    for this i have created a smartform and driver program in which all the logic to attach and mail send is written on delivery posting.
    but now customer want this fucntionality on Post goods issue (PGI), when user go to trasaction vl01n ,vl02n and vlo6g and pressing PGI button,
    then mail should be sent automatically with for output attachment.
    i have found a user exit which is being triggerd on PGI press MV50AFZ1 in which implemented the implecit enhancement in perform
    user_exit_save_document_prepeare with below code.
    ENHANCEMENT 1  ZPGI_MAIL_SEND.    "active version
    DATA c_zlf TYPE likp-lfart.
    IF sy-ucomm = 'WABU_T' and xlikp-lfart = c_zlf.
    SUBMIT ZSD_DECLARATION_CONFORMITY AND RETURN.
    ENDIF.
    ENDENHANCEMENT.
    After going to transaction vl02n i am putting unposted delivery number and clicking on PGI button.
    in debugging its going to condition check for ucomm for PGI buttion and delivery type.
    if condtion is fullfiled and curser going further on submit statement, but without executing the driver program ZSD_DECLARATION_CONFORMITY it coming out of enhancement.
    its not performing the task which is develped in the driver program.
    Please help me with the submit statement structure if i am missing any or other solution for my problem.
    Br,
    Surya

    Hi Team,
    I have used the perform.
    ENHANCEMENT 1  ZPGI_MAIL_SEND.    "active version
    DATA c_zlf TYPE likp-lfart.
    IF sy-ucomm = 'WABU_T' and xlikp-lfart = c_zlf.
    Perform entry( ZSD_DECLARATION_CONFORMITY )using return screen.
    ENDIF.
    ENDENHANCEMENT.
    Now i am able to communicate with my program.
    Thanks,
    surya

  • BADI/User-Exit Required for VL01N (Only PGI)

    Dear All,
    I need a BADI or User-Exit which will be triggered in VL01N only during PGI just before the material document gets created (after all validations are done).
    Thanks in Advance
    Santosh

    HI Santosh,
    Why do you want to Enhance just before the Material document creation. ?
    Why Cannot you do all your validations in USEREXIT_SAVE_DOCUMENT_PREPARE. so that this data is passed when MM document is created?
    any way The PGI push button, uses the FM MB_CREATE_GOODS_ISSUE_ITEM internall.This FM has some space provided for the Customer enhancements ( EXIT_SAPLMBWL_400)  iNCLUDE name is ( LXOIAU07) . I have not used this exit. So figure out if this can help you..
    But Try to analyze why do we need to modify just before MM document creation. if you can tell the problem thats forcing you, then some one in the forum has a solution for it...
    Thanks,

  • User Exit or Enhancement for Material accounting document in VL02N at PGI

    Hi,
    I have 2 requirement at the time of PGI of Delivery.
    1) Currently there are 2 accounting document getting created for 2 countries. i want to restrict acc. document creation for one company code.
    2) I want to change the GL account in the accounting document while creation.
    Could you please help me in finding any user exit or enhancement or BAdi or BTE which can resolve th eissue?
    Thanks,

    Hi,
    GL account can be changed through the badi AC_DOCUMENT.
    Use the the method CHANGE_INITIAL to change the GL account..
    Regards
    Aromal R

  • User exit triggered after clicking on PGI button in vl02n

    What is the user exit which gets triggered after clicking PGI booton in vl02n.
    i used 'MV50AFZ1' which interrupts the process of creating material document.
    so pls tell me any User exit which can be used before the process of creating material doc gets started

    Hey,
    Have you tried with this?
    MV45AFZZ
    MV45AIZZ
    MV45AOZZ
    MV45ATZZ
    or...
    VMDE0004
    VMDE0003
    VMDE0002
    VMDE0001
    V53W0001
    V53C0002
    V53C0001
    V50S0001
    V50R0004
    V50R0002
    V50R0001
    V50Q0001
    V50PSTAT
    V02V0004
    V02V0003
    V02V0002
    V02V0001
    Not sure if possible...buy maybe
    Bye,

  • User Exit for Automatic Loading & PGI

    Hi,
    Experts May I know what are the User exit will use in Automatic Loading and PGI
    Thanks
    Regards,
    MH

    Hi,
    Can you provide more details. Auto PGI can be done by setting up Shipping status profile. You can set the shipment status using a Function module based on which Auto PGI can be triggered. Explain when exactly you want to trigger Auto PGI.
    Thanks
    Vinod.

  • User exit for PGI via delivery (Vl02N)

    Hi Folks
    Can you suggest me appropriate user exit which can be used during PGI for delivery in Vl02N. This should get triggered when POST PGI tab is hit in VL02N.
    Via USer exit I want to change the GL account in the accounting document for PGI ( GL account for Tr price difference which is posted via key AUM (Expense/revenue from stock transfer).
    Please reply ASAP.
    Thanks
    Vipin

    Hi Vipin
    I did a small check in our internal system.
    In VL02n choosing the PGI TAB it hits user exit MV50AFZ1 -> FORM USEREXIT_SAVE_DOCUMENT_PREPARE
    This is the call:
    Main Program     SAPMV50A
    Source code of   FV50XF0B_BELEG_SICHERN
    form BELEG_SICHERN_DET_CHECK
    * Userexit
        PERFORM userexit_save_document_prepare(sapmv50a).
    So you are good to go with MV50AFZ1 just use
    form USEREXIT_SAVE_DOCUMENT_PREPARE
    Kind regards
    Brian

  • User exit to triger after PGI

    Hi ,
    I want to find out an user exit to trigger after PGI (MIGO) I want to do some operation after PGI.
    I have to close this Issue with in 1 day.. I have to add the login in that exit also...
    Plz can any one help me out on this Urjent....

    Hello Sudha,
    Once the PGI ( Post Goods Issues ) over then I want to do some operation .. for that I want to find out the user exit where I can write some logic and process after the PGI...
    Can you help me on this Plzzzzzzzzzzzzz....

  • User exit for PGI in delivery

    Hello every one,
    This is regarding vl03n transaction. The requirement is to have some checks before PGI is done. If that checks are not satisfied PGI should not be happened and the delivery document should not be saved. The user exit we have used is SAVE_DOCUMENT_PREPARE. But the problem if we save the document without doing PGI then also the checks are carrying out and if those are not satisfied delivery is not saving. The requirement is to bypass the PGI when we save the document in case when we doesn't do PGI.

    hi prabhu,
    Thanks for your reply. Seems it may work, but i have another idea and that is we can use IF fcode = 'WABU' then only PGI checks will be carried out.If we save directly instead of doing PGI the fcode is different and checks will not be carried out. Hope it will work. If you have any further ideas please post it.
    thank you.

  • User exit to triger after PGI (Post Goods Issue)..

    Hi,
    Can any one help me on this........... Plz .. Urjent...
    I want to make some operation after PGI and I want to find out the user exit to triger after PGI... I dont know How to find out that exact .. Can any one help me on this ...
    I want the User exit that triger after PGI...
    Regards,
    Raghunath.S

    Hello Sudha,
    Once the PGI ( Post Goods Issues ) over then I want to do some operation .. for that I want to find out the user exit where I can write some logic and process after the PGI...
    Can you help me on this Plzzzzzzzzzzzzz....

  • User Exit to trigger after PGI

    Hi,
    Can any one help me on this........... Plz .. Urjent...
    I want to make some operation after PGI and I want to find out the user exit to triger after PGI... I dont know How to find out that exact .. Can any one help me on this ...
    I want the User exit that triger after PGI...
    Regards,
    Raghunath.S

    Hello Sudha,
    Once the PGI ( Post Goods Issues ) over then I want to do some operation .. for that I want to find out the user exit where I can write some logic and process after the PGI...
    Can you help me on this Plzzzzzzzzzzzzz....

  • User Exit to do the ICBilling (ZIV) before PGI & CustomerBilling (ZF1)

    Hi All,
    There is business Requirement to do the IC Billing (ZIV) before PGI and Customer Billing (ZF1).To achieve the same , we have tried implementing OSS Note 38501 in User Exit "EXIT_SAPLV05I_003" but this user exit is getting hit only after PGI and its not feeding the purpose as we want it before PGI. Can anybody please tell me the User Exit which triggers before PGI Or any other solution to feed the purpose.
    Edited by: Ruchi P. on Nov 4, 2009 1:02 PM

    If my understanding correct Before you send inbound delivery information to third party system you will send one Flag to Third party system to do goods receipt.I have one question if system failed to create /user cancelled Outbound delivery then how will you stop auto goods receipt in Third party system ?.Also After goods receipt GR messages failed in sap as there is no ASN created in system.
    If you want to send the flag before ASN creation then at Speed message level you split the Idoc message into two parts one for flag the message two third party system and another one to create Inbound delivery.

  • User exit for Delivery PGI

    Hi,
    I want to use user exit which can be triggered during Delivery PGI.
    I read on the forums that I can use BADI LE_SHP_GOODSMVMT.
    I searched for this BADI in transaction SE18 and there is no BADI with this name.
    Also I searched in Customization for BADIs under Logistocs> Shipping->System Modifications. There is no item called "Business Addins".
    Can anyone help to find the user exit or BADI for PGI?
    Thanks,
    Ashok.

    Hi Ashok,
    Here are the user exits available for PGI.
    MBCF0002 - Customer function exit: Segment text in material doc. item   
    MBCF0005 - Material document item for goods receipt/issue slip          
    MBCF0006 - Customer function for WBS element                            
    MBCF0007 - Customer function exit: Updating a reservation               
    MBCF0009 - Filling the storage location field                           
    MBCF0010 - Customer exit: Create reservation BAPI_RESERVATION_CREATE1   
    MBCF0011 - Read from RESB and RKPF for print list in  MB26              
    MB_CF001 - Customer Function Exit in the Case of Updating a Mat. Doc.   
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Regarding user Exit for PGI

    when user do PGI i need to create the billing document automatically in back ground can any one suggest user exit present for PGI(user can do PGI directly from VL02N or directly for VA01 or VA02 ).............
    Very urgent ...........
    Points will be rewarded for your answers

    Hi try exit MV50AFZ1 - This include is reserved for user modifications
    Forms for delivery processing
    also verify OSS note 415716 for this
    sugested code: if user name <> ADMIN User, no change allowed.
    Ask your abapper to do this. (use appropirte user name for ADMIn user)
    rewards if useful...........
    Thanks.
    abhay.

  • User exit or BADI for PGI with blank movement type

    Hello,
       Am looking for a BADI or user exit which can throw a pop message based on certain checks. The BADI LE_SHP_GOODSMOVEMENT doesn't help because it is not called if the movement type is blank on the delivery (a particular delivery item category in our case).
       USER_EXIT_SAVE_DOCUMENT_PREPARE cannot be used as it is called in update task(?) and can interfere with rest of the processing.
       So which user exit or BADI can I use. Pop message is required after hitting the PGI button on VL02N screen. Access to LIKP, LIPS, VBPA and VBUK is required inside the exit/BADI code for the validations.
    Thanks,
    Rajesh

    Hi Rajesh,
    I have validated  multiple condition in the USEREXIT_SAVE_DOCUMENT_PREPARE   with socndition and I don't have any problem for update  task thing.
    Thi user exit  update only internal table not databse table . once this perform run after that system run for update  to another subroutine USEREXIT_SAVE_DOCUMENT. for updating record in database.
    If you need this run only only for PGI then  please add condition as I mention earlier, it will be work.
    Regards,
    Prasenjit

Maybe you are looking for

  • Moving from SQL server 2005 to SQL server 2008 ... for a MS/SQL newbie.

    Hello, I am in charge of moving an existing SAP NW BI (SPS20) from a MS SQL Server 2005 database on Windows Server 2003 (x864/64 bit) Platform to a MS SQL Server 2008 database/Windows Server 2008 Platform (x64/64 bit). The SID of the SAP system will

  • Itext connect to the database and put values in a table

    Hi, I have a problem because I can't find any tutorial that would connect to the database using the itext servlet and then update the table. I have found a source code that is transferring the database items on the list package of itext. I need an ex

  • No photo tab...

    I just did an upgrade to the iPhone 3GS and have iTunes 9.1, however when I try to sync my photo's from my computer onto my iPhone, I don't have the Photo Tab that will let me do so. I've looked around and I have no idea what to do. Has anyone else h

  • Myrio file path/data logging

    The following code shown below is for a humidity sensor attached to a myrio.  I was wondering how could I save this data onboard the myrio, as a text document, saving the y axis with a time stamp.  I know I can invoke a node from the front panel of t

  • I just loaded ios7 on my I phone and am now locked out.  I've tried every password I can remember

    Just loaded ios7 to my iphone4 Bd am now locked out.  No password I've tried works