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

Similar Messages

  • Post a good issue against an outbound delivery with movement type 601 K

    Hello,
    according to my business scenario I need to manage the stock of different vendors into the client's location (plant) at storage location level and I need to post the good issue against an outbound delivery to decrease the stock level.
    Since the owner of the goods isn't my client the item is managed only at quantity level (not value) so I'm not interesed in the accounting document.
    To do it I'm using the functionality related to the vendor consignment stock but I'm not able to post the good issue against an outbound delivery using the movemement type 601 and the special stock indicator equal to K.
    In particular I've tried in two different ways:
    - setup the consignment stock indicator (= K) into the sales item category, but when I post the goods issue the system is not able to find out the right vendor
    - to create a stock determination rule instead of the setting previous described, but the system display an error message (Fld selectn for mvmt type 601 / acct L534200770 differs for Cost center (010) ) even if the accouting is not relevant in my scenario
    Can you suggest me how the system has to be setup in order to cover my requirements?
    Thanks in advance,
    Alessandro

    Hi,
    Please clarrify which material type you are using in this scenario? I suggest you to use material type UNBW (no value updation will be there) and create a material master.  Use special stock indicator K. Proceed with 601K to do GI. Hope it works. Thanking you.

  • I can't  post goods issue for the outbound delivery

    I select the indicator of GI via delivery in transport block via TCODE OPKP and assign the production profile to the work schedule view of the material master.then I create a production order for the material and release it.I do the wm material staging for the producion order via TCODE LP10,An outbound delivery was created automatically and the movement type is 261.then I pick for the delivery and confirm the transfer order.When I do the post goods issue there is a error message .
    E M7 226
    Update control of movement type incorrect (entry 261 X X _ _ _ V )
    then I see the onlinehelp,I find the configurations are ok.
    the content is following in table t345.
    werks  supply area  material staging indicaor  
    1000   PVB 1310WM     1                         1   wmpp   10000

    Please kindly refer to the attached notes below :
    523509     FAQ: Control tables (no Customizing)
    161729     M7226 with KZVBR=V
    Hope this helps.

  • Posting multiple goods issues against the same delivery

    Hello gurus,
    We are a fashion apparel company using ECC 6.0 and would like to know if it is possible to post mutliple goods issues against the same delivery?
    I will explain the business requirement.
    - We create a stock transport order to deliver 400 units of merchandise to on or our retail stores (STO is created and processed to a delivery).
    - This information is passed down to our warehouse management system (which is not SAP)
    - Our warehouse management system has the ability to split a delivery into multiple shipment when needed.  For example, our warehouse may only be able to complete 250 units for our morning shipment and will therefore pick, pack and post this.  This will feed back into SAP and process a 641 movement so that the units now show as "in transit".  This is needed so that our stores can process the ASN and move the units into their inventory when they receive the merchandise later that day.
    - During the afternoon, our warehouse will process the remaining 150 units and will ship this to our store later in the evening or next day.
    Currently, we are not able to process another goods issue against a delivery as we close out the delivery during the first goods issue.  We would prefer not to have to generate a new delivery for our DC and let them continue to process against the same delivery, but we are unsure how to configure this.
    Any help or guideance would be extremely appreciated
    Thanks in advance

    Hi RJ,
    First of all sorry to write such a lengthy reply,In one line if i want to summerize then it is not possible with standard SAP however we can achieve this by writing some piece of code in both the system
    AS - IS
                   Business process
              From business process point of view you are right that once the pick & pack is in process it is not advisable to create a new delivery document for balance quantity and share the same with WMS as then they have to create a new document in WMS and start picking based on that rather then the old delivery document number. if i am in your position then i can give a thought like this
    e.g.
    Delivery                                                  - 100 Unit
    Shipment confirmation from WMS            -   60 Unit
    Change in delievry quanity / Pick qty        -   60 Unit
    Invoice from SAP                                    -   60 Unit
    Second confirmation from WMS                          -   40  Unit
    Change in the existing delivery quantity                -   Now here we have two option either
    1) Change the delivery quantity / Pick qty  to (60+40) =100 or
    2) Remove the 60 and update 40 as delivery and pick quantity
    Pros & Cons
    if you will select option 1 then furhter invoice will happen for 100 unit which is incorrect as physically you are shipping only 40 unit
    if you are selecting option 2 then the document flow is incorrect as you don't have history(in SAP) for the 60 unit which was shipped earlier
    Solution ::
    so in my opinion the best option is to create a seperate delivery document (store the old delviery number in one of the field of the new delivery and pass the same to custom segment of the IDoc) transmit the IDoc to WMS write the validation logic in WMS
    Find the record with old deliver number in the WMS system, check the status whether it is active or inactive
    if it is acitive Validate the Material + qty with the WMS record(Material + balance quantity) if both are same then pass the new deliery number to custom field of the WMS table
    At the time of confirming back to the SAP, Write a piece of code in SAP that if the incoming idoc custom field(new delivery number) field is populated then ignore the orignal document number and post the document using the new delivery document number
    Hope this help

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

  • HU Error-While posting the PGI against the Outbound Delivery

    Hello,
    I am facing the issue,when posting one PGI against the outbound delivery.The error is as below:-
    " Negative stock: 8,000 material: 51238495FA on HU 00233034307019924815"
    The error message detail is :-L9-604"
    Could you please let me know,how we can overcome this issue.
    An earliest response would be appreciable.
    Thanks
    JP

    Have you completed TO and ITs confirmation process for the outbound DElivery ?.If yes then if you are using warehouse managed material then check the stock in LS26  it should be 916 location and then check the handling unit stock.
    Check the Handling unit status is 01 status or  some other status.If it is 01 then definatly sytem will allow you PGI.Check your HU history is your delivery is final document or not .It seems some mismatch with delivery qty and handling qty in your case.

  • Can not "post goods issue" against Vendor Return PO.

    Hello Friends,
    **I have a problem During the "Vendor Return Through Purchase Order" Process.I crated a PO with return flag set.**
    **Then  1) Created a outbound delivery against purchase order (VL10B)**
              2) Created a Billing (VF01)**
              3) Next is VL02N - While doing the "post goods issue" where i got following error  message "Update control of movement type is incorrect (entry 161 X X _ L)"**
    Its shows setting related to Mvt 161 to update .I check allowed transaction with respect to 161....VL02N is there .....But don't understand what change needed in "Update control /WM movement type is needed.....Pls suggest any solution........Thanx**
    Regards
    Sachin
    *Error Messafe -
    Update control of movement type is incorrect (entry 161 X X _ L)
    Message no. M7226
    Diagnosis
    The system could not find entry 161 X X _ L in any of the movement type control tables.
    Procedure
    Cancel current processing.
    Contact your system administrator.
    Action to be taken by the system administrator
    Check in Customizing for Inventory Management under Copy, Change Movement Types whether the entry is contained in the Update control view for the movement type.
    If the entry is missing, proceed as follows:
    For standard movement types, this means that the given process is not supported using the present data combination. Do not create any entries without prior arrangement with your SAP consultant. Otherwise, incorrect postings may result.
    For customer-defined movement types (beginning with 9, X, Y, or Z), this may mean that they have not been fully defined. Delete the movement type and re-create it by copying a standard movement type.

    Hi Antony,
    Thanx for reply.
    1) I had assign  delivery Type (RL -Returns Purchase order) to my document type. Assingnment of delivery type thru
    spro>MM->purchasing>purchase order->set up stock transport order--->assign delivery type and checking rule....
    2) MvT - 161----If i modify 161 wrt to  GR Returns what modification is needed ? ......
    3) VOV6 - I had checked it ,maintain it, but that is not relavant in my case....
    4) During PGI system pick 161 as defalult MvT.....can we change it t0 122 ? but how...??
    still the problem is there......
    Sachin

  • 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

  • Not able to post goods issue in case of delivery against a repair order

    A faulty part was received from customer and repaired and further it has to be sent to customer. Then delivery has been created. Also handling unit has been assigned. Now at the time of post goods issue, following error is appeared.
    "Deficit of sales order stock".
    When I checked with transaction MMBE, I don't find any stock assigned to this order.

    Hi Atul
    Please ensure that the settings is as per the followign link
    http://help.sap.com/saphelp_47x200/helpdata/en/00/044f350bea3278e10000009b38f839/frameset.htm
    Thanks
    G. Lakshmipathi

  • POST GOODS ISSUE AGAINST RESERVATIONS

    Dear All,
    I want to restrict the goods issue against the manual reservations.
    Logic:At the time of goods issue against the reservation system should check stock in hand(unrestricted stock)-all previous reservations.
    Eg:suppose unrestricted stock is 50kg
    Reservation 1 for 20 kg
    Reservation 2 for 30 kg
    Reservation 3 for 40 kg
    Reservation 4 for 10 kg
    When i do goods issue for Res :3
    System should check Uns Stock(50kg)-Previous Res(20kg+30kg)
    give error message stock insufficient.
    Waiting for the expert comment.
    Kind Regards,
    Sankar T

    Hi
       Let me tell you with that logic reservation works.
    While creating manual reservation, system checks whether material is available on specified date or not. In case material is available then system will allow to reserve the material otherwise not.
        Now take your case, if you have made following reservations
    1) 20 Kg
    2) 30 Kg
    3) 40 Kg
    4) 10 Kg
    This means against each reservation material will always be available for particular reservation (because no one can issue particular material by any other means)
    Now suppose in unrestricted use 50 kg of material is available and you want to issue the material against reservation No 3 then system will issue material from reserved material (Not from the un restricted use)
       This means the logic which you want to use is already applied by SAP in one step before (while creating reservation) so need not to apply same logic once again.
       and if you still want to use this logic , you take a help of ABAPer , he only can help you in this mater
    Reward if helpful

  • Need BAPI for MIGO to create a Goods Receipt against PO &Outbound Delivery

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

  • 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

  • Post goods receipt against a Inbound Delivery(VL32N) FM or BAPI Method

    Hi Expert,
       I am looking for a Function Module or BAPI Method to Confirm the Inbound Delivery i.e. that can post Goods Movement Against a Delivery Document.
    My scenario is Create PO-> create Inbound delivery-> post Goods Receipt.
    Regards,
    Kapil.
    Edited by: Kapil Kumar Gupta on May 5, 2011 2:46 PM

    In OSS note 520813 it is said:
    16. Question:
    Which goods movements should I not post using the BAPI_GOODSMVT_CREATE BAPI?
    Answer:
    You should not post the goods receipt for the inbound delivery using BAPI_GOODSMVT_CREATE BAPI because the document base and the status of the inbound delivery are not updated. See Note 199703.
    If you check OSS note 199703 you can see that it is valid from release 45 to release 500.
    Assigned to this note you can find another: 1050944 (it's worth of reading!!!).
    I feel there are contradictions here - it might possible that the first note (520813) is not updated properly. (As far as I remember in my case this BAPI was working properly too).
    In my opinion you should send a message to OSS and ask them whether the statement in note 520813 is still valid or not - you should also tell them that the referred note (199703) is not applicable to ECC6.0.
    (there's a setting in ECC6.0 which enables that document flow is updated if GR is posted via MIGO with reference to IBD - V_TVSHP-SPE_INB_VL_MM)
    I would like to ask you if you have a reply from them, please update this thread - it may be helpful for us.
    Edited by: Csaba Szommer on May 9, 2011 2:34 PM
    One more remark: (based on OSS note 1050944) it seems that you cannot use it only in case of packing (IBD with HU).
    Edited by: Csaba Szommer on May 9, 2011 3:05 PM

  • Trying to post goods issue against a WBS

    Hi:
    I'm at MIGO
    I'm trying to post a goods issue (the material) against a WBS.
    When I pick a grouped WBS I get:
    - Consumption can only be posted to an individual WBS element
    When I pick a non grouped WBS I get:
    - Consumption can only be posted to a grouped individual WBS element
    Any thoughts?

    Hi Ysabella,
    As per my analysis you need to maintain some text for the item in the delivery so,
    Please go to VL02N transaction then go in to the delivery then select the line item then go to menu>Go to>Item-->Click on Texts here you maintain Text data for Vendor Invoices then save the delivery now you try to do PGI.
    I hope it will help you,
    Regards,
    Murali.

  • 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

Maybe you are looking for

  • Can't Install Skype 1638

    Hey I can't install skype, I have uninstalled it completly, got rid of everything in the registry related to skype, yet it still says I already have it installed

  • Slow drive spinup time

    Ever since I installed Snow Leopard, I've been having frequent Finder delays (~10-15 seconds) due to my external drives spinning up, even when I'm not accessing files on them. Anyone heard of this?

  • Workflow Help/Suggestions

    Just picked up an iPad and I'm really enjoying it so far. However, I am looking for a few suggestions on general workflow etc. A little bit of background- I have both Mac and PC (10.4.11 & win 7/XP) and an Android phone. Moving files such as movies,

  • Memory use with PSE 11 on my Mac

    My iMac has 12 GB of RAM - but when I go to preferences on my Photoshop Elements version 11,  I can only get PSE 11 to use about 3 GB of RAM.  I am doing some photomerge panoramas, and when I want to fill in the blank borders of the final image, PSE

  • Re: No free phones eh? Your competitors offer them.

    Binarywebs wrote: Exactly my point. Here we have a rep. of verizon, within the verizon store, who is telling me they have no free phones. At no point and time did he ask if I were a customer. Had he done so, he would have known that i've been a custo