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.

Similar Messages

  • COPA document not generated when Post Goods Issue is reversed.

    Hello Friends,
    WE uses Stock Transport Order in two steps for transfering Stock from one plant to another.  We have defined a Condition type FRB1 to capture the Freight cost involved in the stock transfer.
    When the Post goods issue is done for the Stock Transport Order. following Accounting documents are generated.
    Accounting
    Profit Center
    COPA
    Spec. Purpose Ledger
    Controlling Document
    Material Ledger document.
    But When the Post goods issue is reversed through transaction code VL09 all the above documents are generated except for COPA document. Though in controlling document it shows the object type hit is REO i.e profitability Analysis
    For further information we have mapped cost element (600150) with Value field in PA transfer structure (Direct assignment from FI and MM. Movement type used for PGI are 641 & 642.
    Thank you

    Dear Colleagues
    I thank all those who put in thier time and efforts for possible solution for my problem. But I could resolve this issue with help from SAP.
    Basically in costing based COPA the system does not post the cost of goods sold to COPA during goods issue but it is done at the time of posting the invoice since the system wants to see the revenues and the COGS values together.
    Since the system posts the COGS into COPA at the time of invoice posting, you will appreciate that if this is also done during goods
    issue then you will have duplicate entries in your COPA (i.e. the COGS will be doubled).
    If in transaction VL01N/VL02N a costing-based line item would be posted, the costs would be double in CO-PA (the billing and goods issue). For this reason, no costing based line items will be created in the standard R/3 system for transaction VL01N/VL02N.
    If for some reason you still wish to post the COGS to COPA during goods issue you have to do the same thro a modification of the system.In your case you have applied note 214381 for the same. Please note here that movement type '641' is used as an example. For other movement types you will need to code accordingly.
    as per note 337488 point 2. the changes of note 214381 were not required in our case. Therefore we reverted these changes in LKEIIF01 and added the relevant coding for movement type 642 in function COPA_DOCUMENT_CHECK as per note 337488 point 2.
    Looking forward for your continued support
    Regards
    Umesh Gothankar

  • Change Moving Average Price when Post Goods issue posted from VL02N

    Hi all,
    Please help me to find USER EXIT / BADI or Enhancement to change Price - MSEG-DMBTR
    when Post Goods Issue posted from transaction VL02N.
    Thanks in advance,
    Mila.

    Hi,
    Check these Enhancemnts...
    Exit Name           Description
    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)
    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)
    Badi Name            Description
    DELIVERY_ADDR_SAP    Determine Time-Dependent Delivery Address in Delivery
    DELIVERY_PUBLISH     Returns BAdI Implementation: Automatic GR Posting T 2
    DELIVERY_PUBLISH     Updating of Delivery in Purchase Order
    DELIVERY_PUBLISH     AIP: Delivery Confirmation for Sales Order
    Regards
    Raghu

  • Error when posting goods issue

    hi gurus,
    can anyone please help me with this error when posting goods issue to a free issue sales order " line item text is mandatory for vendor invoices".
    thanks in advance

    Dear Ysabella
    It seems the item texts is not maintained in the order which is made as mandatory.
    Go to sale order VA02, select that line item and click on "GotoItemTexts".  There maintain the relevant text and retry.
    thanks
    G. Lakshmipathi

  • Error message KI248 on delivery document when posting goods issue

    Hi,
    On the delivery document, when posting goods issue I get the following message:
    "Account 60700000 requires an assignment to a CO object
    Message no. KI248
    Diagnosis
    All given account assignment objects (order, project) are defined as statistical.
    System Response
    Statistical orders or projects are ignored when FI and CO are reconciled. You must enter a cost center, order, project, or cost object to which the costs are posted for CO postings.
    Procedure
    Enter a cost center, an order, a project, or a cost object that is not statistical. The posting row affected is 000 and the account is 60700000."
    On the sales order I have a statistical order.
    CO-PA is active, cost element 607 is included in PA transfer structure.
    I also tried with cost center allocation in OKB9.
    60700000 is defined  as a cost element (category 1).
    Any suggestion could be helpfull.
    Thanks,
    Lavinia

    Hi,
    Thank for your answer.
    I tested with element cost category 12, it's working, but not the way I need: I don't have any value on the cost center.
    When I don't have statistical order in sales order, the sistem it's working exactly how I need: the costs are posted on cost center and the VPRS condition is transfered to CO-PA on profitability segment.
    Anyway, I finaly make it work with a cost center substitution.
    Lavinia

  • Update termination error when posting goods issue

    Helllo
    I have a strange problem I can not figure out.  We have serial numbers like 12345/345.  When trying to post goods issue I get an update termination error  for invalid character. This only happens if the quantity is more than 1 each.  A quantity of 1 each works fine and receives no update termination when post goods issue...only recieve termination error if the post goods issue is for a qty of 2 each.
    I searched the SAP site found OSS note 40355...applied the note.  The note also mentions the chaging print paramters to include "/ _"  this is all done.
    I tried doing a ABAP Debug in SE38 (for the delivery note print program) and setting the breaking point, but when I go to run the transaction after the setting break point...when I hit post goods issue...SE38 does not return back to its screen.  So not sure if I am running the correct program there...or if this works for the update terminations?
    So strange I do not get this for a qty of one each only when it is greater than that.  I am stumped need help....
    Any advice wiould be GREATLY appreciated....

    Looks like there is an error in the delivery (or material movement ?) print program. Easiest would be to disable these outputs for test purposes. When no dump then the error is somewhere in the print program an could be analysed by triggering the print separately with ABAP RSNAST00.
    regards Jack

  • Check material cost when post goods issue

    Hi,
    When i click the post goods issue in VL02N, I would like to check if the cost of mateial is equal to zero. If it is zero, I would like to stop the transaction with a error message.
    But in the user exit, I cannot find which field provide the material cost. Can any one help me?
    Many Thanks
    Jean

    Dear Jean,
    Good morning and greetings,
    In the movement type config make the accounting as mandatory and would surely meet your requirement. Maintain that in the transaction code OMJJ for the Accounting Control to Movement Type as + which is required entry.  The system would throw an error if no accounting entry is generated.
    Hope this meets your requirement
    Please reward points if found useful.
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Help: one request using ALE&IDOC to Posting Goods Issue about MaterialScrap

    Hi Exports,
    i got a situation. My client is using ALE&IDOC to deal with the Material Scrapping. The business scenario is:
    1. One third system (Non-SAP) Send IDOC to SAP Production Server through the Intermedia SEEBEYOND.
        Message Type: MBGMCR
        IDOC Type: MBGMCR02
        BUSINESS OBJECT: BUS2017
    2. SAP Production Server use "Message Type: MBGMCR" to find out the BAPI in Distribution Model and trigger the BAPI.
    the Distribution Model:
    Model View
    SEEBEYONG
    PRODUCTION
    GoodsMovement.CreateFromData
    Reciever determination: no filter
    Now my client's request is:
    When the Movement Type is 551 in the IDOC Segment "E1BP2017_GM_ITEM_CREATE", This IDOC will be ignore and not trigger the BAPI to post goods issue.
    i try to add the destination filter in the Distribution Model. but when i add the filter group, there are only two filter parameter ("Plant" and "Storage Location") and don't allow to add others.
    i have no idea now. can anyone give me a favor. thank you very much in advance.
    Edited by: Dave Wang on Feb 29, 2008 7:09 AM

    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
    Arun

  • 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

  • Update was terminated when Post Goods Issue

    Hi all,
    When I post goods issue, I receive a message "Update was terminated".
    Then, I use SM13 to check update requests, I see an error
       900     USERNAME     20.11.2007     10:47:27     VL02N                         
    double click on that line I see error at module
       8     MB_POST_DOCUMENT     V1     Error
    more details:
       Row 13 in report LMBMBU04
       00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Finally, Error occurr at line:  
       INSERT mkpf FROM TABLE zmkpf.
    Can anyone help me to solve this problem?
    Thanks.

    Hi Nam,
    This probelm is becuase you are trying to enter a record for which primary key already exists in the table.
    The insertion you are doing with a set of values which already exist and sap is getting this error that the "Duplicate record during insertion". try to check your insertion values and through se16 check if they already exist in the table mkpf.
    To rectify the data or else change the table and add one more unique to the primary key.
    Abhishek Purwar
    http://abhishek.purwar.googlepages.com

  • Create idoc DESADV when POST GOODS ISSUE

    Hi everybody!!
    I have a problem and I donu2019t know how to solve it, my question is the following:
    What can I do to make an outbound idoc type DELVRY03, message:
    DESADV doesnu2019t go off until the outbound delivery getu2019s post it, with the fact of creating it going off.
    Thank for your comments.

    Hello There,
    The functionnality you can use for your process is described in notes 340238 and 421276.                                                                               
    I am afraid that the process to create an inbound delivery via DELVRY-IDOC for a stock transfer is not possible as it´s not designed for this.                                                                               
    For the DELVRY-IDOC scenario for inbound deliverys the preceeding document has to be a SD document and not a MM document.                                                                               
    The DELVRY process is designed for purchase orders for your customer:                                                                               
    e.g. CUSTOMER SIDE               YOUR SIDE                                  
         purchase order         - >        sales order                                
               ^                                                                               
    Y                                      
         inbound delivery       < -        outbound delivery                                                                               
    The outbound delivery does not fill the purchase order number in the  IDOC as a check is looking for a SD document wich does not exist.                 
    If you need the DELVRY process for stock transfer then you need a USER-EXIT or a modification in the outbound function module to fill the PO number and the purchase order item number in segment E1EDL41.              
    We only read out the PO number and the item number if the subsequent document on the vendor side was an sales order.
    I hope this helps,
    Elaine.

  • Exit or substitution GL account when posting goods issue

    Hi out there,
    does anyone know how to change BSEG-HKONT via a subsitution ? It seems to be blocked for that purpose. Although if I unblock it in table GB01 this does not work.
    If there is no possibility does anyone know a customer exit to change the account determination for GBB VBR when posting a goods issue ? It is needed for special postings and I want to program it either in a substituiton or exit.
    Thanks a lot for your help.
    Sebastian

    Dear Sebastian,
    It is possiable to change G/L through subsitution. But you will have to take help from abaper who will write code for the subsitution.
    Any subsitution which is realted to G/L can be written though the following path
    Financial Accounting (New)->>Financial Accounting Global Settings (New)->>Tools->>Validation/Substitution->>Substitution in Accounting Documents
    after that enter new line and double clik to write ABAP code based on your requirement.
    Hope you got the way.
    Rupesh

  • OutBound IDOC for Delivery when Post goods issue is trigered

    Hi All
    Does any body have idea which IDOC contains data regarding delivery header and item details.
    for header - sap delivery number , delivery date, ship mode, vessel name, container
    for detail - product code, expiry dt, batch.
    cheers
    AJ

    Hi
    List of IDOC's
    http://www.informatik.fh-wiesbaden.de/~werntges/lv/edi/specs_EN/SAPdoc/IDoc_d.htm
    regards
    pavan

  • Account Determination Error When Posting Goods Issue Against Sales Order

    Hello SAP Experts,
    We are currently experiencing a problem during goods issueance against sales order (VL02N). The system terminates the issueance and gives error:
    "Account XXXXXX requires an assignment to a CO object".
    We have tried maintaining the GL account in OKB9 and assign a default profit center there but i didn't work. The material master also contains the profit center. We were only able to post the transaction if we try to default the a cost center in FS00. However we dont want to assign a default cost center as cost centers differ by plant. We are wondering why it asks the cost center considering that it already contains the sales order assignment. We checked the field selection of the GL account, movement type and even the posting key and all showed that the cost center is not required. We are now in a dead end situation here. Please please help us.
    Thanks in advance!

    Dear,
    Message no. KI235?
    GO TO T-CODE FS00 AND EDIT COST ELEMENT AND THEN YOU ASSIGN COST CENTER
    Please check this link,
    [Account Determination |"Account 'xxxxxx' requires an assignment to a CO object"]
    Regards,
    R.Brahmankar

  • Updation of MCHB-CLABS value on Post Goods Issue through VL01n

    When POsting Goods Issue I need to change  MCHB-CLABS value.
    My requirement:
    When quantity left in the stock is less than (MCHB-CLABS)  .005  I am adding the remaining quantity left to delivered quantity, but the stock (MCHB-CLABS) is not getting updated. It remains the same quantity less than .005.
    Could you tell me any parameter in user exit which I need to modify?

    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

Maybe you are looking for

  • Calling a method from abstarct class

    Hi Experts, Am working on ABAP Objects. I have created an Abstract class - with method m1. I have implemented m1. As we can not instantiate an abstract class, i tried to call the method m1 directly with class name. But it it giving error. Please find

  • Firefox displays gmail in huge font but other web sites show it in regular fonts

    when I open gmail in Firefox it has just started coming up in huge fonts so that i can only see part of the screen. When I open gmail in Internet Explorer or AOL, it comes up just fine and I can see the whole screen. How can I restore the Firefox dis

  • Finding Permutations of an Array

    I was hoping I could get a little help on finding a way to cycle through an array and print all of the permutations of its elements. I have a short example of what I am trying to do. If someone could fill in the blank, I could understand how to use i

  • Coldfusion developer edition for production ?

    Hi I need to daily generate a pdf file from a database and make some small file manipulations and Coldfusion is the perfect solution for me as it would take me very little time to make something usable as I write all my web apps with Coldfusion on ma

  • Product costing related querry

    What are the settings and configurations that are required to be done for production order costing by PP and FICO modules so that the order gets costing. I am told there are settings for activity type in workcenter. Also terms like cost carriers that