BADIs used in VL01n transaction ( for post Goods issue)

Hi,
The requirement I have is to substitute the transaction type field (BSEG-BEWAR)based on the mapping to movement types.
The first step, in case of a Goods issue is to look into table LIPS, field BWART to get the movement type. However, since the outbound delivery has not been created, I cannot query this table on the basis of VBELN.
Is there any BADI which will help me get the value BWART(movement type)?
Any help/documentation will be greatly appreciated.

Hi,
VL01N has one BAdi called "DELIVERY_PUBLISH".
Why don't you use User exit for solving your problem?
Following are the user exits availble for the transaction:
V53W0001  User exits for creating picking waves                  
V53C0002  W&S: RWE enhancement - shipping material type/time slot    
V53C0001  Rough workload calculation in time per item                
V50S0001  User Exits for Delivery Processing                         
V50R0004  Calculation of Stock for POs for Shipping Due Date List    
V50R0002  Collective processing for delivery creation                
V50R0001  Collective processing for delivery creation                
V50Q0001  Delivery Monitor: User Exits for Filling Display Fields    
V50PSTAT  Delivery: Item Status Calculation                          
V02V0004  User Exit for Staging Area Determination (Item)            
V02V0003  User exit for gate + matl staging area determination (headr)
V02V0002  User exit for storage location determination               
V02V0001  Sales area determination for stock transport order         
VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)      
VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)      
VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)     
VMDE0001  Shipping Interface: Error Handling - Inbound IDoc          
Regards,
Dharitree

Similar Messages

  • USER-EXIT for post goods issue

    Hi all,
      after the delivery (VL01n)is created, i have to go for post goods issue.there is a push button named 'post goods issue' in VL02n.
    when i will press this button,all my data for this delivery ,should be downloaded to a text file.
    for this thing, i want to use a USER-EXIT.can u plz advice me the correct & specific user-exit for this requirement.it is very urgent. i have to it by today.
    your help is highly appreaciated.
    Regards
    pabitra

    Check the following
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (h
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of stock for POs for shipping due date list
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards

  • EXIT or BADI for Post Goods Issue

    Hello Experts,
    I need help in finding a USER EXIT, or BADI to change the contents of MSEG at PGI moment in VL02N.
    I'm using version 4.6c.
    When I click at Post Goods Issue, I need to insert the customer number at MSEG for certain documents that the standard does not use this field.
    Can anyone PLEASE help?
    Will reward points!
    Thanks a lot and regards,
    Fernanda

    Hi
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    V02V0004                               
    User Exit for Staging Area Determination (Item)                
    V02V0003                              
    User exit for gate + artl staging area determination (headr)   
    V02V0002                             
      User exit for storage location determination                   
    V02V0001                               
    Sales area determination for stock transport order             
    VMDE0004                             
      Shipping Interface: Message SDPACK (Packing, Inbound)          
    VMDE0003                               
    Shipping Interface: Message SDPICK (Picking, Inbound)          
    VMDE0002                               
    Shipping Interface: Message PICKSD (Picking, Outbound)         
    VMDE0001                              
    Shipping Interface: Error Handling - Inbound IDoc              
    V53W0001                            
    User exits for creating picking waves                          
    V53C0002                               
    W&S: RWE enhancement - shipping material type/time slot        
    V53C0001                               
    Rough workload calculation in time per item                    
    V50S0001                              
    User Exits for Delivery Processing                             
    V50R0004                               
    Calculation of Stock for POs for Shipping Due Date List        
    V50R0002                               
    Collective processing for delivery creation                    
    V50R0001                               
    Collective processing for delivery creation                    
    V50Q0001                              
    Delivery Monitor: User Exits for Filling Display Fields        
    V50PSTAT                               
    Delivery: Item Status Calculation                                                                               
    Business Add-in                                                                               
    DELIVERY_PUBLISH                      
    Announcement of delivery data during database update           
    If it is  helpful rewards points
    Regards
    Pratap.M

  • BADI or User Exit for Post Goods Issue Reverse (VL09)

    Hi,
    Could you please let me know any BADI/User Exit which will trigger while doing Post Goods Issue Reverse through VL09 transaction.
    Thanks,
    Sandeep

    Hello,
    If you can be specific about your requirement, then response can be better.
    Still, check with following Exit:
    - V50R0001  Collective processing for delivery creation
    - V50R0002  Collective processing for delivery creation
    - VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    - VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    - V50S0001  User Exits for Delivery Processing
    Thanks & Regards
    JP

  • USEREXIT_SAVE_DOCUMENT - indicator for Post Goods Issue ?

    Hi,
    I'm using USEREXIT_SAVE_DOCUMENT to process a custom table update during Post Goods Issue (VL02n).  The problem is I can't figure out how to identify when the user exit is being called for PGI processing. 
    I currently check T180-TRTYP = "V" and FCODE = "SICH" but this combination is also used for picking.  I want to invoke my logic during PGI only. 
    Thanks,
    Cal

    Hi,
         You can use <b>BADI_le_shp_goodsmovement</b> which will trigger for both inbound and outbound deliverys when u click on postgoods issue(PGI).Which i have practically used.
    The following user exit availble for VL02N
    BADI DELIVERY_PUBLISH and  LE_SHP_DELIVERY_PROC
    Please check this user exits avalaible for VL02N
    V50PSTAT - Delivery: Item Status Calculation
    V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001 - Collective processing for delivery creation
    V50R0002 - Collective processing for delivery creation
    V50R0004 - Calculation of Stock for POs for Shipping Due Date List
    V50S0001 - User Exits for Delivery Processing
    V53C0001 - Rough workload calculation in time per item
    V53C0002 - W&S: RWE enhancement - shipping material type/time slot
    V53W0001 - User exits for creating picking waves
    VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound)
    V02V0001 - Sales area determination for stock transport order
    V02V0002 - User exit for storage location determination
    V02V0003 - User exit for gate + matl staging area determination (headr)
    V02V0004 - User Exit for Staging Area Determination (Item)
    <b>Reward points</b>
    Regards

  • Need User Exits for Creation of Delivery and for Posting Goods Issue

    Hi,
    I need User Exits for
    Creation of Delivery
    Posting Goods Issue
    I need to make some checks regarding customer license expiration and if checks fail, I need to stop Creation of Delivery and Posting Goods Issue.
    Thanks in advance,
    Will reward,
    Mindaugas

    In the delivery you can use userexit USEREXIT_SAVE_DOCUMENT_PREPARE to make your checks and send an error message to the user in case they fail.
    You can find this user exit (form routine) in include MV50AFZ1.
    Hope that helps,
    Michael

  • User exit/routine for post goods issue

    Dear all,
    I want to stop printing of delivery chalan from a replinshment delivery before post goods issue /actual goods movement.Can anuone suggest me for some user exit or routine that stops printing of delivery chalan from a replinshment delivery(VL10B) untill the post goods issue takes place in stock transfer scenario?
          Is there any possibility to put some routine in the output of delivery chalan which displays a message that printing of delivery chalan is not possible since post goods issue has not taken place & system do not allow the printing from replinshment delivery unless PGI tales place in stock transfer scenario.
    I will be highly greatful to you.
    regards
    vikas chhabra
    [email protected]
    [email protected]

    Dear all,
    I want to stop printing of delivery chalan from a replinshment delivery before post goods issue /actual goods movement.Can anuone suggest me for some user exit or routine that stops printing of delivery chalan from a replinshment delivery(VL10B) untill the post goods issue takes place in stock transfer scenario?
          Is there any possibility to put some routine in the output of delivery chalan which displays a message that printing of delivery chalan is not possible since post goods issue has not taken place & system do not allow the printing from replinshment delivery unless PGI tales place in stock transfer scenario.
    I will be highly greatful to you.
    regards
    vikas chhabra
    [email protected]
    [email protected]

  • User Exit or BADI for Post Goods Issue (VL02N)

    Hello everyone!
    I have an issue with one of my customers and I would like your help.
    When we do a stock transfer, from one plant to another, if the Material has a serial number set up in Material Master in one of the plants, and haven't for the other one, the system is generating an error message saying they have different serial numbers.
    I need to find a User Exit, or BADI, that can be used to force the system to ignore serial number validation during the goods issue (for one especifc plant), but still require serial numbers in the deliveries from the other plants.
    Any ideas experts?

    Hey Juan Carlos,
    Any ideas on which user-exits I should use?
    And by your answer, did you mean I should make the values look the same, and try to "fool" the system?
    Thanks

  • BAPI for Picking and Post Goods Issue ?

    Hi All,
    Is there any BAPI for doing Picking and Post Goods Issue in VL02N ? I don't think we can use BAPI_OUTB_DELIVERY_CHANGE.
    Is it advisable to use BAPI or BDC ( if no BAPI exist ).  Thanks in Advance.

    BAPI for picking in VL02N
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI for posting Goods Issue
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    For reference: http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/LEIDW/LEIDW.pdf

  • Problem with post goods issue

    hi
    I'm doing a delivery using vl01n bt at post goods issue its showing run time error.the error message details gvn below.
    Information on where terminated
    Termination occurred in the ABAP program "SAPLMBWL" - in
    "MB_POST_GOODS_MOVEMENT".
    The main program was "SAPMV50A ".
    In the source code you have the termination point in line 59
    of the (Include) program "LMBWLU21".
    Source Code Extract
    Line SourceCde
    29 * when a goods movement for an inbound or outbound delivery is posted
    30 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
    31 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
    32 * BKPF as well. There is no other way to forward XBLNR to FI as not
    33 * every document is posted by MB_CREATE -> a new function module in
    34 * MBWL for transferring the information, called by FI, meant to load
    35 * the complete function group for all MBxx postings when this isn't
    36 * required (Performance). Would be the better way to transport the
    37 * information after switching off MBxx in later release.
    38 * corresponding IMPORT ... FROM MEMORY ... can be found in
    39 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
    40 l_mem_id = 'MKPF-XBLNR'. " 641365
    41 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
    42 ENDIF.
    43 IF xmkpf-xabln IS INITIAL. "note 434093
    44 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
    45 ENDIF. "note 434093
    46
    47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
    48
    49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
    50 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
    51 EXCEPTIONS
    52 error_message = 4.
    53 * As soon as we have started to put things into UPDATE TASK, we must
    54 * ensure that errors definitely terminate the transaction.
    55 * MESSAGE A is not sufficient because it can be catched from
    56 * external callers which COMMIT WORK afterwards, resulting in
    57 * incomplete updates. Read note 385830 for the full story.
    58 IF NOT sy-subrc IS INITIAL.
    >>>>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
    60 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    61 * MESSAGE A263.
    62 ENDIF.
    plz tell me the configuration steps for post goods issue in SD if applicable.

    Hi Lakshmipati,
        I have maintained movement type 601 at OMJJ. I hav also added the filed cost center in that (before it was not available).
      I checked GL acct at fs00, it is already contain field status group g004 and the check box "post automaticallyt" is also activated. The cost element has also assigned to cost center. After assigning the cost center to cost element, the error is changed to fld selection for mvmt type 601/ acct 300021 differs for cost center
       But i noticed one thing: If i chage the field status group to g006, the error has not appeared and giving the other error:
    valuation area xxx2 (plant) not yet ptoductive with material ledger this error has been already posted by me but not yet received correct answer.
    Kindly provide the solution for this.
    Regads
    Sabera

  • Problem with post goods issue in SD std. delivery

    hi
    while doing post goods issue of a delivery in VL01n its showing run time error. the error message is gvn below.
    Information on where terminated
    Termination occurred in the ABAP program "SAPLMBWL" - in
    "MB_POST_GOODS_MOVEMENT".
    The main program was "SAPMV50A ".
    In the source code you have the termination point in line 59
    of the (Include) program "LMBWLU21".
    Source Code Extract
    Line SourceCde
    29 * when a goods movement for an inbound or outbound delivery is posted
    30 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
    31 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
    32 * BKPF as well. There is no other way to forward XBLNR to FI as not
    33 * every document is posted by MB_CREATE -> a new function module in
    34 * MBWL for transferring the information, called by FI, meant to load
    35 * the complete function group for all MBxx postings when this isn't
    36 * required (Performance). Would be the better way to transport the
    37 * information after switching off MBxx in later release.
    38 * corresponding IMPORT ... FROM MEMORY ... can be found in
    39 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
    40 l_mem_id = 'MKPF-XBLNR'. " 641365
    41 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
    42 ENDIF.
    43 IF xmkpf-xabln IS INITIAL. "note 434093
    44 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
    45 ENDIF. "note 434093
    46
    47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
    48
    49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
    50 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
    51 EXCEPTIONS
    52 error_message = 4.
    53 * As soon as we have started to put things into UPDATE TASK, we must
    54 * ensure that errors definitely terminate the transaction.
    55 * MESSAGE A is not sufficient because it can be catched from
    56 * external callers which COMMIT WORK afterwards, resulting in
    57 * incomplete updates. Read note 385830 for the full story.
    58 IF NOT sy-subrc IS INITIAL.
    >>>>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
    60 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    61 * MESSAGE A263.
    62 ENDIF.
    if there is any configuration step for post goods issue in SD thn plz mention it.
    Plz help..

    Hi Lakshmipati,
        I have maintained movement type 601 at OMJJ. I hav also added the filed cost center in that (before it was not available).
      I checked GL acct at fs00, it is already contain field status group g004 and the check box "post automaticallyt" is also activated. The cost element has also assigned to cost center. After assigning the cost center to cost element, the error is changed to fld selection for mvmt type 601/ acct 300021 differs for cost center
       But i noticed one thing: If i chage the field status group to g006, the error has not appeared and giving the other error:
    valuation area xxx2 (plant) not yet ptoductive with material ledger this error has been already posted by me but not yet received correct answer.
    Kindly provide the solution for this.
    Regads
    Sabera

  • Generate DELVRY  Idoc when Post goods issue is done in SAP

    I need to generate an Idoc when post goods issue is done in SAP (outbound to SAP) .I understood that I can do this using the message control .The message type DESADV with the process code DELV will support this.
    But I didn’t understand how to trigger the Idoc.In the current scenario our Company is doing the post goods issue in SAP for the in three different ways.
    1.Manually doing the post goods issue through the transaction VL02N
    2. an Inbound Interface (using Idoc)  which will do Post goods Issue in SAP
    3.Another Interface using BAPI, which will, do post goods issue in SAP
    I have to run my outbound interface when the post goods issue is done by all the above three ways.  Can any one help me out in this?

    You have to configure the output first .
    You can use output type LAVA ( avaialble in Std SAP ) .
    ( Tcode is NACE , Select Application V2 -> Outputtypes ).
    ( Create condition records suitable to generate an output)
    Next is ALE.
    Setup a distribution Model ( for DESADV ) and all other setup for ALE i.e. Distribute Dist. Model / Generate Partner Profile .
    In the Partner profile in WE20 select your partner system. Double CLick on Outbound Message DESADV ( this wd be there after you generate partner profile , if not add it here in outbound ) . On this screen goto tab MESSAGE CONTROL .
    Application - V2
    Message Type - LAVA
    Process Code - DELV.
    Now you are ready to go. The moment a PGI is done in any form an output LAVA would be proposed and processed using process code DELV.
    Cheers.

  • Automatic Billing with Post Goods Issue

    I need Help on How to Make Automatic Billing while Posting Goods Issue, The Process Flow as Below:
    VA01 Make Sales Order ( Normal Sales Order "OR" )
    VL01N ( Picking and Post Goods Issue )
    VF01 ( Make Billing )
    My customer needs when he Posts Goods Issue in VL01N , automatically the Billing document to be Posted and The Invoice Printed, without Going to VF01 to make the Billing.
    We are using SAP ECC 6.0
    Please Note: i need it on how to do it in customization and with out using the Report (RV60SBT1) which makes collective billing in the background using a job
    Thanks for Your Help

    Dear Omar,
    One way is to use background jobs which will create billing documents in the background (VF06).
    Another way is write a BDC program.
    Refer to following links, in which the same has been discussed.
    Automatic billing
    Re: How to set up in SAP to have automatic billing after PGI
    Hope, you may find this informaton useful.
    Best Regards,
    Amit

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • ERROR IN POSTING GOODS ISSUE..

    HI ALL,
    I WANT TO GET INFORMATION FOR HOW TO SOLVE THE ERROR..
    WHEN I AM GOING FOR POSTING GOODS ISSUE, BEFORE THAT I MAINTAINED CONTROLLING AREA, COST CENTER, COST ELEMENT FOR MY COMPANY.
    SO AFTER THAT I WENT TO MB1A (GOODS ISSUES) TO POST THE GOODS ISSUE THEN IT WAS SHOWING AN ERROR AS " PURCHASE INFO RECORD IS NOT FOUND IN PURCHASE ORGANIZATION"
    pleas tell me how to solve this error.
    thanks

    Hi!
    Just a further hint to the last info offered by Jürgen: This assignment to the standard purchasing organization is made in the customizing, under the IMG path:
    Enterprise Structure
    -> Assignment
    -> Materials Management
    -> Assign standard purchasing organization to plant
    Please, read the IMG activity documentation linked to this transaction before making the assignment.
    I hope this helps you further.
    Best regards,
    Esther.

Maybe you are looking for

  • How to access classes in jar files

    hi I have added a jar file to my project in eclipse.How to access the classes in that jar file?

  • Parameter BP (CRM to R3) for BOR based transaction launcher

    Hi, Our requirement is to display R3 sales order(VA03) through IC webclient. The BP no of the confirmed business partner should be shown as default in the Sold to party field of VA03 transactn screen. Steps followed - 1. Created a BOR transaction lau

  • Multiple members in a substitution variable

    <p>Hi,</p><p> </p><p>I use substitution variables in Planning forms to choose wichyear to display.  I would like to have FY06, FY07 andFY08 in the same variable.  I just tried to add it in AAS(separeted by commas) and there is no problems, but when I

  • Error ocurred while mingling data

    iTunes can't sync my contacts because of this error while mingling data. Any suggestions? I tried checking all the options in the advanced section "Replace Information on This iPhone" and syncing again with no luck.

  • J2EE server doesn't start (has been starting..) EP6SP9 on Windows XP Pro.

    I am trying to install EP6 SP9 sneak preview edition. Just I followed the instructions. Installation is successful. After that I installed PDK6(6090) using SDM. I also exported initial data objects to SLD. When I restart the from SAPMMC console, jcon