Help on IDOC -POST GOODS ISSUE

Hi Folks,
           I have requirement with me, but I don’t know where to start could you please help me regarding that..
Here is the scenario....
Requirement Specification:
XYZ Company Mexico operations  uses third party systems Foursite) for their inventory process.
The communication between Foursite and SAP is thru EDI/IDOC.
In the case of goods customer return to Mexico warehouse, using the following steps the process will be mapped in to SAP.
Customer calls the account specialist.
Account specialist creates a ZO order in SAP and conveys a RA to customer.
Account specialist creates a delivery. The delivery information conveyed to Mexico warehouse thru Inbound receipt IDOC.
Customer physically returns the goods to Mexico warehouse.
Mexico warehouse receive the goods with reference to delivery number in Inbound receipt IDOC.
Once the goods are received, Mexico warehouse send a conformation (Receipt confirmation IDOC) to SAP, which triggers PGI and credit memo.
Functional Specifications:
Create POST GOODS ISSUE in SAP for the material and quantity for the delivery mentioned in Receipt conformation EDI.
Receipt confirmation from Foursite
Data fields received in the EDI
Delivery number:LIKP-VBELN
Material number::LIPS-MATNR
Quantity:LIPS-LFIMG
Unit LIPS-MEINS
Plant :DMEX
Status  :RS
Possible IDOC:  SDPICK
Trigger:
This IDOC should trigger a Post good issue, for the possible values.
Transaction: Post good issue.
Please give ur input /suggestion , What steps I should take to get it complete .
Thanks in Advance..
Bye and have a good one .

Somnath,
If I understand the right, it is like a integration using EDI formats. Do you have a middleware in place to do the mapping transformation? If yes, the message in EDI format will be recieved by the middleware and will be transformed into IDOC format.
Then you do the normal settings for an IDOC to be recieved into a SAP system (Partner Profiles, Inbound Messages etc).
Is this what you were looking for?
Regards,
Ravi
Note : Please reward the posts that help you.

Similar Messages

  • 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

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

  • Posting goods issue using Message type SHPCON and idoc type DELVRY03

    Hi SAP Gurus,
    I am using message type SHPCON and idoc type DELVRY01 with processing code DELV to post goods issue for a delivery note.
    I tried to simulate the inbound entry via WE19. The scenario should be posting goods issue based on the delivery order.
    In some cases, quantity issued is less than the quantity in the DO. For this, I need to change the delv quantity in the DO via VL02N before I select Post goods issue button. This will change at the same time post the goods issue.
    What I have filled up are the fields:
    E1EDL20-VBELN = DO num
    E1EDL20-VSTEL = Plant
    E1EDL18-QUALF = "PGI"
    E1EDTH13-QUALF = "006"
    E1EDTH13-NTANF = date today
    E1EDL24-POSNR = 000010
    E1EDL24-MATNR = material num
    E1EDL24-WERKS = delv plant
    E1EDL24-LGORT = sloc
    E1EDL24-LFIMG = updated quantity
    But everytime I simulate using WE19, the entire quantity in the DO is not changed at all. The goods issue quantity posted is still the original DO quantity.
    May I know how to do this? Thanks.

    Put value in E1EDL24-LGMNG for qty to pgi.

  • Failing Idoc Based on Posts Goods Issue

    Hi experts,
    I have a requirement where I need to check whether a STO exists for the idoc PORDCR102. Another requirement is to check Post Goods Issue is present. If STO exists and PGI exists, I need to fail the idoc. How to do this(both failing idoc and checking how PGI exists). I am using the user exit EXIT_SAPL2012_001 for this purpose.
    Regards,
    Sajith

    Below are the inbound function module which in  turn are calling the bapis to post the document 
    IDOC_INPUT_PORDCR1  calls BAPI_PO_CREATE1
    IDOC_INPUT_PORDCR calls  BAPI_PO_CREATE
    Search for  a exit in BAPI ...which will serve you requirement ....ie. in turn throw a error message if the bapi throws a message the idoc will fail...!

  • No Acc. Doc generated after Post Good Issue - please help!

    Hi All,
    I have problem when I try to post good issue, the accounting doc doesn't generated.
    I have created SO, (Order type - OR, item category - TAB, Schedule Line cat - CB), created PO after the purchase requisition was generated in the SO. processed good receipt and created outbound delivery, everything is fine until post good issue, there is no Acc. Doc created automatically after PGI.
    I have check the following setting
    material type attribute setting - ok (standard price control, val.update, qty update)
    valuation level - ok (valuation area is plant)
    valuation grouping code - ok (activated)
    valuation areas assigned to the valuation grouping code - ok
    valuation class(s) is linked to material type(s) vis acc. cat. ref. - ok
    accout grouping for movement type - ok (leave it as default)
    configure auto posting - ok (I have run the simulation test, and created the missing G/L acc in the company code which under testing)
    The WL Acc Doc type is defined and assigned with number range.
    material and accounting period are open
    In Purchase order, the purchase item assigned with Acc Assignment Category E, Special Stock is E, Consumption Posting set in Acc Assignment Category is E, Acc Modification is VAY, GR non-valuated and GR non-val. binding checkboxes are deselected.
    I know the Acc Assignment Cate will affect the auto acc posting in GR, but I am not sure it will affect PGI in the same way.
    Could anyone tell me which value string will be using for this auto acc posting for PGI? My best guess is
    MvT S val. update, qty update Mvt Cns
    601 E YES YES L ?
    Could anyone tell me what cause the Acc Doc not be generated after PGI?
    Thanks for your time
    Alvin

    thanks for reply.
    Regard to the point 2 suggested by Cathy, the account determination for billing is set, the accouting doc is created after billing.
    my problem is no acc. doc generated after PGI.
    meanwhile I have searched a similar problem in other forums, I found some similar reply as Prasanth did, so I think I may try to run VA88 to see the result.
    Prasanth, could you please explain the pinciple behind of why this happen if what you say is correct.
    Thanks for your time!!!
    Alvin

  • 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

  • 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

  • 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

  • Billing doc while post goods issue

    Hi,
    Is there any Exit to creat a billing doc immediately when we post goods issue.
    Please, if there any other solution. don't hesitate.
    Thanks.

    You can use message condition record in outbound delivery ,as soon as you do PGI ,this message condition will trigger & it will create Billing document Back ground.Take ABAPer help he will guide you.

  • Can we Create Post Good Issue Document as Background Job

    Hi SAP Techies,
    My current projects requires me to run Post Good Issue , as Background Job, Is it possible to do it.If yes
    What is the entire process.
    Regards
    Naveen

    Hi
    The answer to this question lies in transaction VL23.
    You can create a variant and schedule it to run; for example at 10:00 pm every night.
    You need to explore this more but this t-code is the main answer.
    Please reward points if you found this helpful.
    Regards
    SDC

  • Error message while posting goods issue.

    Hi,
    Please help me with the following problem..
    I have created Sales Order, Delivery & also created the Transfer Order number. After creating Transfer ordering, while submitting post goods issue, when I click on PGI, I get
    "Posting only available for period 2002/10 to 2002/11"...
    As a resulf of the above, I am not able to complete Billing for all the sales orders I have created.
    Can somebody please help me with above?
    Regards
    Nadeem

    Use the MMPV transaction to check your current period. Since you have transactions already done you need to do closing for every month.
    If you are on an IDES system for training purposes you can do a fast transaction by removing the plant assignment from the company code. The use the MMPI transaction to set your current period. Remmber April is period 1 if you are are using the indian financial year and fiscal year variant k4.
    Then reassign the plant and now try posting It will allow you. But a word of caution. Never attempt to remove the plant asignment in the development system. It might cause errors. for that there is a separate note.
    regards
    Jude

  • Goods picking and Post goods issue in VL02N

    Dear All,
    Am hving problem in Picking goods and Post goods issue.
    This is for the Stock Transport Order with Delivery via Shipping
    Supplying plant is 1000(SAP std,sloc 0001) and Receiving plant 1100(sloc 0001).
    Sales org:1000
    Distrbn Chnnl:10
    Division:00
    1.maintained matrial for both the plants.
    2.Creted STO by using DOC type as "UB" and item cat "U".
    3.And getting the Shipping data for the material in the STO.as shipping point is 1000.
    saved the Po.
    4.After that i done the GR w/o PO for the material using Mvt type 501.
    5.Then,VL10B creating Delivery doc.n this is also created.
    6.but when i do the picking and PGI in VL02N there picking field is greyed out bt i have tried to mangae that when i give the picking Qty in the picking qty field system is throwing the following error.
    <b>Item to be picked by WM (picking quantity cannot be entered)
    Message no. VL118
    Diagnosis
    For this item, picking is carried out using warehouse management transfer orders since the material is stored in a warehouse with random storage.
    System Response
    The system does not allow you to enter a picking quantity manually. The picking quantity is copied automatically into the delivery during the creation of the corresponding transfer order.</b>
    is any data missed by me while doing this process?
    pls let me know n help me in this regrds
    Thank you all

    Hi Vijay
    By changing storage location you could do b'coz the new storage location is not maintained with warehouse, hence no need to perform warehouse transactions (TO creation and confirmation) before inventory mgmt transactions (PGI).
    For trying pick up with WH, first u should have enough stocks in approppriate storage bins and u should perform pick up by creation of TO and confirmation.
    warm regards
    sairam akundi

  • Need Bapi Names for Post Goods Reciept and Post Goods issue to STO in MIGO

    Hi All..
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.
    Also once STO (Stock Transport order) is created, i also need to Post goods issue to STO in MIGO transaction. I do need a bapi for this too...
    Appreciate your help and will reward any helpful answers.
    Thanks..

    Hi,
    ata  : gm_header  type bapi2017_gm_head_01.
    data  : gm_code    type bapi2017_gm_code.
    data  : gm_headret type bapi2017_gm_head_ret.
    data  : gm_item    type table of
            bapi2017_gm_item_create with header line.
    data  : gm_return  type bapiret2 occurs 0 with header line.
    data  : gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
    clear : gm_return, gm_retmtd. refresh gm_return.
    gm_code-gm_code      = '03'.
    gm_header-header_txt = firstscreen-bktxt.
        gm_header-pstng_date = sy-datum.
        gm_header-doc_date   = sy-datum.
        gm_header-ver_gr_gi_slip = ' '.  "print
        gm_code-gm_code      = '03'.
      move lineitem1-bwartwa  to gm_item-move_type     .
          move lineitem1-matnr  to gm_item-material.
          move lineitem1-erfmg     to gm_item-entry_qnt.
          move 'EA'    to gm_item-entry_uom.
          move lineitem1-werks  to gm_item-plant.
          move lineitem1-lgort  to gm_item-stge_loc.
          move lineitem1-kostl to gm_item-costcenter.
          while gm_item-costcenter+9(1) = ' '.
            shift gm_item-costcenter right.
          endwhile.
          overlay gm_item-costcenter with '0000000000'.
          append gm_item.
    call function 'BAPI_GOODSMVT_CREATE'
           exporting
                goodsmvt_header  = gm_header
                goodsmvt_code    = gm_code
           importing
                goodsmvt_headret = gm_headret
                materialdocument = gm_retmtd
           tables
                goodsmvt_item    = gm_item
                return           = gm_return.
    Thanks
    venki

Maybe you are looking for