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.

Similar Messages

  • Help required regarding user exit for STPSHH01 IDOC

    Need help regarding user exit.
    I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
    I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
    The functional module is IDOC_INPUT_SHIPPL
    and there is a CALL CUSTOMER-FUNCTION '012'
    this will take us to function module EXIT_SAPLV56I_012
    This includes ZXV56U08
    Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCST

    Hi,
    use this FM to update ur shipment
    variables
    DATA: lo_tp_g_tra       TYPE v56e_shipment_activities, "Data to modify
          lo_tp_g_shp       TYPE v56e_shipment,
          lo_tp_g_log       TYPE v56e_logfile, " Errors function
    call the function to modify shipments
    CALL FUNCTION 'SD_SHIPMENT_PROCESS'
      IMPORTING
        e_logfile    = lo_tp_g_log
      CHANGING
        c_activities = lo_tp_g_tra
        c_shipment   = lo_tp_g_shp
      EXCEPTIONS
        error        = 1
        OTHERS       = 2.
    Thanks,
    Sendil.

  • 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

  • User Exit for PGI

    Dear All,
    I have a requirement where client wants del. qty. & pick qty. should be uneditable i.e. not changeable before PGI. The net wt. i.e. del. qty. & pick qty. is updated in VL02N through weigh bridge system by internally run BDC. Users are creating D.O. by entering a expected qty. in VL01N.
    can anybody suggest any specific USEREXIT for PGI to fix this issue.
    Regards
    Subrat
    Message was edited by:
            subrat panda

    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)

  • 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 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.

  • Regarding User Exit for VD01

    Hi All,
    I need to do some special validations based on the partner funstion which is entered during the customer creation through the transaction VD01.
    May i know which user exit can be used for the above or any badi can be used
    Thanks.

    Hi,
    User sxit for VD01   SAPMF02D  User exits: Customer master data
    Regards,
    Prashant

  • Regarding User Exit for SD Field Catalog

    Hi All,
    I need to insert a field called "Transportation Zone" in the field catalog.
    Path: sproF5sales and DistBasic FunctionsPricing-Pricing ControlMaintain Condition Tables..
    Now using CMOD Tcode, how to locate the appropriate Exit for this issue...???
    Regards
    PAvan

    Hi Pavan,
    You can see these user exits in SE38
    To create a new field in the field catalog, the field needs to be put in field catalog with a Z name, say ZZ_TRZONE
    Now you have to make changes in these 2 user exits to populate the transportation zone which is coming from masterdata into sales order , into the structure TKOMP ...etc which are populated during pricing. If you achieve that, then the condition records will be updated.
    Please let me know if you need further information on this.
    Rwd point if it helps.
    BTW, These userexits are used only if the field which you want to include in the condition table is not in the list of allowed fields in the field catalog or not in structures KOMG, KOMP, KOMK. If the field is already there in field catalog and in all these structures, then there is no  need for user exit. You just need to create the condition table.
    Message was edited by:
            iimnava

  • Regarding user-exit for customer return order in sales order creation

    Hi,
    My problem is when sales order type ZRE(Customer return) is created with refrence to Invocie i have to check the quantity in the return order is less than the original invoice or not.If quantity in return order is greater than invoice quantity then i have to raise error message.For this which user-exit is suitable in sales order program SAPMV45A.
    Thanks,
    shyla kumar

    Hi
        Use can use MV45AFZZ AND MV45AFZB userexits
    Within mv45afzz USE CAN form related to VBAP or
    save_document_prepare.
    Please reward if useful.

  • Regarding user exit for FB60 Duplicate invoices

    hi experts,
    I want to fnd out how to check  Duplicate invoices in fb60 and disallows posting.
    Any kind soul can help?
    Thnaq.

    Transaction Code - FB60                     Enter Incoming Invoices
    Exit Name           Description
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    No of Exits:         14
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Regarding user exit for me32l - Scheduling agreement

    hi,
       i am using the exit ZXM06U44 for both purchase order and scheduling agreement, but the thing is for purchase order the function module EXIT_SAPMM06E_006 is been triggerin for exproting and importing of the memory if of transaction type, know i need to find out the same thing for scheduling agreement , help me out in this plz.

    Check the user exit avilable for transaction ME31 and try to user the user exit which suit your requirement.
    I am sending you the list of the enhancements available for ME31.
    MEQUERY1
    MM06E011
    LMEKO001
    LMEKO002
    AMPL0001
    LMEDR001
    LMELA002
    LMELA010
    LMEQR001
    LMEXF001
    LWSUS001
    M06B0001
    M06B0002
    M06B0003
    M06B0004
    M06B0005
    M06E0004
    M06E0005
    ME590001
    MEETA001
    MEFLD004
    MELAB001
    MEVME001
    MM06E001
    MM06E003
    MM06E004
    MM06E005
    MM06E007
    MM06E008
    MM06E009
    MM06E010
    MMAL0001
    MMAL0002
    MMAL0003
    MMAL0004
    MMDA0001
    MMFAB001
    MRFLB001
    Let me know if it works.
    Amandeep

  • Regarding User Exit for MIGO

    Hi Friends:
       I've got the following urgent requirement.When we execute the transaction code for GR i.e. 'MIGO', there should a BDC triggered automatically in the background.This BDC should update the transaction code 'F.13' for automatic clearing.
       I just wanted to ask if there is any kind of user/customer exit or BADI available so that a BDC can be linked to MIGO.I want this BDC to be triggered as soon as the MIGO gets saved.The data in F.13 should be updated is 'company code, fiscal year, assignment no(concatenate ebeln & ebelp), check G/L acct, put G/l acct. no, uncheck 'Test run').This BDC should run on a runtime basis i.e. we have to pick data one by one from MIGO.
         I hope I've made my requirement clear.Is there anyone who have done this earlier & can give me a readymade guideline/example/code so that I can handle this urgent requirement.Is there any kind of confusion, please advise.I really need help on this.Please advise.Reward points will be there.If anyone want to send any material on this, please send on '[email protected]'.
         Friends, I'll really be thankful for this help.
    Thanks:
    Gaurav

    Hi Gaurav,
    Following exits are available for MIGO:
    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.
    Following exits are available for F.13:
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not s
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI docume
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Chang
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Tex
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segmen
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    Ashven

  • User exit for IW28

    Hi experts,
    I have question regarding user exit for IW28 tcode:-
    1) When you goto IW28 and double click on any "Notification" which does not have "Functional location".
    2) Then on "Notification" TAB if you put "Functional location" in "Functional loc." field then it automatically changes Cost Center, WBS Element and SettlementOrder fields in "Location" TAB, and these fields will be changed correspondence to the "Functional Location" entered in "Notification" TAB.
    But we don't want that. In "Location" TAB we don't want these three fields Cost Center, WBS Element and SettlementOrder to get updated whenever we enter "Functional Location" in "Notification" TAB.
    We want "Location" TAB fields should have what ever it had initially and not changed whenever we enter Functional Location in "Notification" TAB.
    I am looking for some user-exit to stop this. Please help me for 1) which user exit i should use and 2) how to proceed.
    Thank You Very Much!!
    .mala

    hi mala,
    in iw21/iw22 or iw28 when ever you you change the tech object f.loc or eqpt that data in the location tab and some more data like catalogue profile are taken from the f.loc /eqpt master records and when ever you change the tech object this data again pulled fom the respective master record but if you dont want thse fields to be updated then do not maintain in ie02/il02 ... but i suggest you to maintain this data as it would be easy in processing ..
    regards
    pushpa

  • User exits for delivery picking confirmation and transfer order creation

    Hi
    We have a scenario for which we need help.
    This is to do with replenishment from plant to plant.
    We have sales sets.
    The sales sets needs to be replenished from one plant to another. We want the componenets of the sales sets to picked from the issuing plant. For this we need a transfer order. this needs tobe confirmed and then the goods issue should take place from the issuing plant. Its a two step process.
    we are doing Sales sets in STO. The explosion takes place in STO. However when we create deliveries for this. Only the sales set header item without its components are flowing into the delivery.
    The Tranfer order does not contain the components either.
    However post  the goods issue we  can create a TO with reference to the TR. This is is not acceptable because we want the picking and confirmation to occur before PGI from the issuing plant.
    Could anybody help: We want the TO to be created with the components even though in the delivery only the Sales set header appears. Can u suggest a user exit in which when we create the TR from the delivery the components of the set.
    After confirmation of the TO then we want the picking status to be put as C.
    Supreeth

    Hi,
    Check the following users exits.
    MWMRFSSG            user exit for sorting TOs in RF system-guided transaction
    MWMRFUP             Customer defined general purpose pushbutton called from scr.
    MWMRP001            Cust. Exit for Fixed Bin Replenish.: Delivery Item Selection
    MWMRP002            Cust. Exit for Fixed Bin Replenishment: TR Quantity Distr.
    MWMRP003            Customer Exit for Replenishment using RLLNACH1
    MWMRP004            User Exit for Replenishment using RLLNACH4
    MWMTO001            Enhancements for end of transfer order generation
    MWMTO010            Exit: Calculation of Total Planned TO Processing Time
    MWMTO011            Correction of Planned Processing Time for TO Item
    MWMTO012            Correction of Sorting and Split Transfer Order
    MWMTO013            Stock Removal for Sev. Storage Types as in Stringent FIFO
    MWMTOAU3            Separate selection of posting changes for autom.TO creation
    MWMTR001            Exits at the end of transfer rqmnt creation (IM,PP interf.)
    MWMD0001            Transfer order print via RLVSDR40
    MWMD0002            Transfer order print as multiple process with RLKOMM40
    MWMIDI07            Enhancement for Output WMPIHU (Create Pick-HU) Inbound
    MWMIDO11            Enhancement for message WMTORD: TO with several items
    MWMIDO12            Enhancement for Output WMPIHU (Pick-HUs) Outbound
    MWMIDO13            Extension for WMMBXY (subsequent tasks after goods movement)
    MWMPP001            Enhancement WM/PP Interface (automatic TR generation)
    Regards,
    Murali

  • User Exit for Changing G/L account in Accounting Document

    hi all,
    This one is urgent for me. If you guys can help.
    Iam looking for a user-exit to change the G/L account while posting the accounting document.
    If someone has worked on a similar user-exit Kindly help.
    Thanks and Regards
    Varun

    Hi Experts,
    The requirement is to change the GL account when PGI is done for a delivery.
    I have coded in the above user exit for changing the GL account. I am facing the issue here.
    I am changing the GL account through a user exit, but even before the user exit is  called the standard SAP is throwing a error.
    the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
    Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
    I have coded this in the enhancement point. Include  MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
    Thanks,

Maybe you are looking for

  • Function module to convert character value of month into numeric value?

    Hi Experts,                  I need to convert a character value of a month in three alphabets to its numeric value. e.g. 'jun' should be converted into '06' and 'jan' into '01' using a function module.Can anybody please provide me a similar function

  • Attaching iMac to the wall -- like a flatscreen ?!?!

    Hi, I'm about to buy my FIRST apple in April, and looking into the iMacs. My husband & I were wondering if it's possible to remove the foot pedistol (spelling!?) from the screen, and attach the screen just to the wall, like a flatscreen. THis would b

  • Photo Book error, any advise?

    I created a book using iPhoto on my iPad, but unfortunately can't order it due to an export error. Any experiences?

  • Install printer driver for the hp 3511

    I have a mac 0S X older than 10.6 version and i need help finding and installing a driver

  • Microsoft Access with Unicode

    Hi, I recently upgraded my website from CF5 to CF9 running on a virtual server. Below are the specs. CF Version: 9,0,0,251028 Edition: Enterprise Operating System: Windows Server 2008 My old code worked fine except that certain queries were running s