ADVISE Needed: IDoc to post GR (PGI button) in VL02N.

Dear SAP Gurus,
Scenario: PO -> DO -> PGI -> GR (vl02n). This GR must be generated by IDoc (I am using basic type DELVRY01 and message type DESADV).
1) In WE19, since in the real transaction (vl02n) i only need to enter the delivery note number and press PGI button, so i filled in only:
E1EDL20-VBELN=80001100 (the delivery note number)
E1EDL18-Qualifier = PGI (i assume this should be corresponds to the PGI button in the vl02n)
but error asking for some other fields to be filled in. So i filled in the others fields --> point 2) below
2)
E1EDL20-VBELN=80001100
E1EDL18-Qualifier = PGI
E1EDL24-POSNR=000010
E1EDL24-MATNR=1200093
E1EDL24-WERKS=DC61
E1EDL24-LFIMG=1
E1EDL24-VRKME=CT
E1EDL43-POSNR=000010
E1EDL37-EXIDV=AAAAA
E1EDL37-VHILM_KU=AAAAA
E1EDL44-POSNR=000010
E1EDL44-EXIDV=AAAAA
E1EDL44-VEMNG=1
but still come up with error 51: "Item 00000 of purchasing document does not exist" & "Document , item 00000 , already being processed".
Hope anyone can help.. thanks!
Regards,
WILL

run the transaction VL02N by putting same value which you are giving to idoc, it will clear your doubts

Similar Messages

  • User exit triggered after clicking on PGI button in vl02n

    What is the user exit which gets triggered after clicking PGI booton in vl02n.
    i used 'MV50AFZ1' which interrupts the process of creating material document.
    so pls tell me any User exit which can be used before the process of creating material doc gets started

    Hey,
    Have you tried with this?
    MV45AFZZ
    MV45AIZZ
    MV45AOZZ
    MV45ATZZ
    or...
    VMDE0004
    VMDE0003
    VMDE0002
    VMDE0001
    V53W0001
    V53C0002
    V53C0001
    V50S0001
    V50R0004
    V50R0002
    V50R0001
    V50Q0001
    V50PSTAT
    V02V0004
    V02V0003
    V02V0002
    V02V0001
    Not sure if possible...buy maybe
    Bye,

  • Cash Disc in pymt advise need to post thr f-28 when doc# does not match

    Hi
    The below is the scenerio for posting incoming payment following by our client
    1) Creation of payment advise (FBE1)
    2) Posting through F-28 by giving payment advise no. in f-28
    In payment advises amount field will be Gross amount, Payment amount and discount amount.
    Customer gives gross amount, payment amount and discount in payment advise.(payment advise generates through IDOCS)
    while posting incoming payment based on payment advise, if the document no. matches with customer document no., then system posts automatically discount based on payment terms.
    But if the document no. does not match, system will simply credit the customer and debit the customer with payment amount.
    Ex:-
    Gross amount: 10000
    Payment amount:9000
    Discount amount: 1000
    System will post below entry
    DR Bank    9000
    CR Customer 9000
    i.e., system is ignoring the gross and disc. fields.
    Here the requirement is if the document no. does not match, system should generate an entry displaying gross amount, discount amount and payment amount and post to the customer.
    i.e.,
    DR Bank            9000 (payment amt)
    CR customer       10000 (Gross)
    DR customer        1000 (Discount)
    Request to suggest is there any workaround to meet the above requirement.
    Regards
    Srinivasa Rao

    Hi
    The below is the scenerio for posting incoming payment following by our client
    1) Creation of payment advise (FBE1)
    2) Posting through F-28 by giving payment advise no. in f-28
    In payment advises amount field will be Gross amount, Payment amount and discount amount.
    Customer gives gross amount, payment amount and discount in payment advise.(payment advise generates through IDOCS)
    while posting incoming payment based on payment advise, if the document no. matches with customer document no., then system posts automatically discount based on payment terms.
    But if the document no. does not match, system will simply credit the customer and debit the customer with payment amount.
    Ex:-
    Gross amount: 10000
    Payment amount:9000
    Discount amount: 1000
    System will post below entry
    DR Bank    9000
    CR Customer 9000
    i.e., system is ignoring the gross and disc. fields.
    Here the requirement is if the document no. does not match, system should generate an entry displaying gross amount, discount amount and payment amount and post to the customer.
    i.e.,
    DR Bank            9000 (payment amt)
    CR customer       10000 (Gross)
    DR customer        1000 (Discount)
    Request to suggest is there any workaround to meet the above requirement.
    Regards
    Srinivasa Rao

  • Need the suitable IDOC to post data.

    Hi all.
    I m working on an XI implementation. I need to find a suitable idoc to post sales data. Could you please help me how to find the idocs or please suggest me some sales related idocs.
    Some of the fields are:  item num, item name, shop num, receipt num, customer num, customer name, date, quantity, price, total price.
    Thanks in Advance,
    Regards,
    XI Beginner

    Hi,
    what is your business process?
    Are you supplier or vendor?
    ORDERS should fit.
    Creating Purchase Order Idoc through XI
    http://www.apentia-online.com/UP/Apentia/files/Article/SAPPress_Mastering_IDoc_Business_Scenarios.pdf
    Regards Mario

  • Error in IDoc DELVRY01: posting GR using VL02N

    Dear SAP Gurus,
    Scenario: PO -> DO -> PGI -> GR (vl02n). This GR must be generated by IDoc (I am using basic type DELVRY01 and message type DESADV).
    1) In WE19, since in the real transaction (vl02n) i only need to enter the delivery note number and press PGI button, so i filled in only:
    E1EDL20-VBELN=80001100 (the delivery note number)
    E1EDL18-Qualifier = PGI (i assume this should be corresponds to the PGI button in the vl02n)
    but error asking for some other fields to be filled in. So i filled in the others fields --> point 2) below
    2)
    E1EDL20-VBELN=80001100
    E1EDL18-Qualifier = PGI
    E1EDL24-POSNR=000010
    E1EDL24-MATNR=1200093
    E1EDL24-WERKS=DC61
    E1EDL24-LFIMG=1
    E1EDL24-VRKME=CT
    E1EDL43-POSNR=000010
    E1EDL37-EXIDV=AAAAA
    E1EDL37-VHILM_KU=AAAAA
    E1EDL44-POSNR=000010
    E1EDL44-EXIDV=AAAAA
    E1EDL44-VEMNG=1
    but still come up with error 51: "Item 00000 of purchasing document does not exist" & "Document , item 00000 , already being processed".
    Hope anyone can help.. thanks!
    Regards,
    WILL

    Hello!
    I have done something similar, these are the idocs I used:
    message type       idoc                function
    ORDERS              ORDERS01     PO sent to subsystem
    WMMBXY             WMBID01       GR from subsystem to SAP
    DESADV              DELVRY03      Delivery due list to subsystem
    PICKSD               SDPIOD01       Pick List to subsystem
    SDPICK               SDPIID01        Confirm Pick and PGI from subsystem.
    this worked for a decentralized non-SAP warehouse with SAP generating PO's for new stock and deliveries for customers. The subsystem posted back the GR of stock and the pick and PGI for deliveries.
    If you're struggling with too much functionality required from the idoc then you may have to use to more then one idoc, one to generate the GR and one to post the PGI. Functionality may be limited by the process code  linked to the idoc. i.e. DESADV uses process code DELV and WMMBXY uses process code WMMB.
    Regards,

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

  • Inbound IDOC to post goods receipt with inbound delivery as reference

    Kindly let me know the message and IDOC type for
    Inbound IDOC to POST GOODS RECEIPT  with inbound delivery as reference
    I tried using WMMBXY but it didn;t work.
    Pls let me know asap.Your help is appreciated.
    Thanks and Regards
    Priti
    Edited by: Priti Adukia on Feb 11, 2008 4:48 AM

    Hi Nicole,
    What I've to do is quite the same as the case. Outbound and Inbound are in the same SAP system. If I've good understanding, I must set partner profile as follows :
    INBOUND - Parter LI with
                            Message DESADV
                            Operation code DELS
    OUTBOUND - Partner KU
                            Message DESADV
                            Operation code ???
    Please advise
    Suchart

  • How to convert XML into idocs and post in ECC using PI

    Hello All,
    I want to configure the scenario like this MDM->PI->ECC. Using FTP I am getting able to fetch the xml file from MDM Server Ready folder. Now, I need to convert this XML file into Idocs and post it in ECC. Can anyone provide me step by step configuration in PI to achieve this. I have configured communication channel with adapter type Idoc in Itegration Builder. But, I am not sure where it will do the conversion of XML into Idoc and how do post it to ECC. I am working first time on PI 7.1. I have worked on XI 3.0 in 2006-2007. Any help to configure this step by step shall be appreciated.
    Thanks & Regards,
    Hemal

    In you have the XML from MDM you have to use the mapping provided by the funtionals in the Funtional specification documents. once you did it you must configure the Receiver IDoc Adapter. and later dont fonget to configure properly the ReceiverAgreement.
    as you receive the docuement from MDM via FTP, thats not a SAP System that means that you have to define PI as the sender of the IDoc,otherwise you will have the Error "Unable to convert the sender service to an ALE logical system"
    to do that in the receiver Agreement>Header Mapping>Sender System-->Select PI server.
    Take in mind to send IDocs to any SAP System, the system that send it must be a SAP system too. thats why you configure it
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm
    Another thing is you have configure the ALE distribution Model.
    se this:
    http://wiki.sdn.sap.com/wiki/display/XI/FileToIDOC
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Let us know
    Rodrigo P-.

  • EDI / IDoc : While posting inbound IDocs, IDocs gets into status 56

    EDI / IDoc : While posting inbound IDocs, IDocs gets into status 56 with message "EDI: Sender port in control record is invalid".
    But if I reprocess the same idoc without doing any changes using RBDINPUT and select radio button to processs idocs for status 56, then it gets successfully posted.
    So not getting why this stucks for the first time.
    Thanks in Advance..........

    i fixed this my self

  • IDOC filtering for VLO2N PGI interface

    Hello everyone,
    we have an outbound interface online. An idoc is generated on PGI in VL02N (Interface ART_DVT).
    We have another outbound interface which generates an IDOC for deliveries (Interface ART_OUT).
    Both these interfaces update a table in a third party system.
    As per my current requirement, the PGI interface should be triggered only for deliveries for which ART_OUT has been triggered.
    The ART_DVT interface is being triggered via message control NACE.
    Message Type : DELINF
    Basic Type      : DELVRY05
    Whenever ART_OUT is triggered, a z-table gets updated in SAP with the necessary details.
    I think I can check here before triggering the ART_DVT interface if i could use an user-exit in VL02N.
    Any help is appreciated.
    Thanks in advance.
    Regards,
    Xineohpi

    Can someone atleast tell me if there is an user-exit or badi using which i can restrict the PGI idoc generation based on some check or if the message control execution part can be restricted..
    in dire need of help......
    Regards,
    Xineohpi

  • Configuration to trigger the EDI IDOC when posting

    Hi all,
    Can I know what is the configuration needed in order to trigger the EDI message type INVOIC IDOC when posting to certain company code (eg: AP10)?
    As I know for order acknowlegment need to do some configuration in Tcode v v13 in order to trigger the EDI...
    Please help.
    Thanks a lot.

    Hi,
    Please refer the below link:
    SAP IDoc Configuration Overview:
    http://www.topxml.com/biztalkutilities/walkthroughs/SAP%20IDoc%20Configuration.pdf
    SAP Network Blog: IDOC: EAN mapping in EDI orders:
    /people/michal.krawczyk2/blog/2006/12/22/idoc-ean-mapping-in-edi-orders
    Hope this helps.
    Please assign points as way to say thanks

  • Correct user exit need for vl32n - post goods receipt.

    Sorry this is not the correct forum . SO please don't look in to this
    For vl32n , upon "Post goods receipt" button click, I was  writing code in "mv50afz1" ...Basically in the  "mv50afz1" program, I am clearing the value of batch(charg) and the same batch value I am assigning to vendor batch(am doing by moving xlips-charg value to xlips-lichn).
    But the thing is my logic should be written in one of the userexit before this user exit( Why because  SAP generates one batch on it's own and assigns that to batch if it the batch field in vl32n is space - If batch field is not space SAP's generated batch won't be assigned - So I need to make the batch value space in vl32n upon click of "Post goods receipt" button to allow assignment of SAP's batch).
    So could you please suggest me is there any user exit available for this ? 
    THANKS.
    Edited by: sam kumar on May 8, 2009 7:22 PM

    I am sorry this i snot the correct forum.

  • User Exit for Idoc being posted through ACC_DOCUMENT

    Hi Experts!!
    We have an inbound interface to post FI document using message type ACC_DOCUMENT. Now, we need to influence the idoc before posting. In detail, we need to change a particular field in the header and then only post it. I tried with EXIT_SAPLF050_008. But that was not being updated. Is this user exit only for a few message types like FIDCMT, FIDCC1, FIDCC2?
    If yes, which user exits can be used to influence the idoc before posting?
    Kindly help me out.
    Thanks a lot in advance.

    Hi ,
    chk with these  exits:
    SIDOC001 -> fm EXIT_SAPLEDI1_001
    SIDOC002 -> fms
    EXIT_SAPLEDI6_001
    EXIT_SAPLEDI6_002
    EXIT_SAPLEDI6_003
    hope it helps..
    Regards,
    Deeba

  • HT4513 You need to include "Click the Advanced button" between points 3 and 4 in the description above

    You need to include "Click the Advanced button" between points 3 and 4 in the description above

    I hate these HTxxxx linked discussions as I often can't follow/or miss the meaning of the post.
    If you look above you'll see:
    Learn About AppleTV: Apple Remote.....
    which links to HT4513.
    AC

  • Why need do close posting period

    Hi, All,
    Why we need to close posting period, then we can do goods receipt?
    What means MMPV?
    What's the different material posting period and financial posting period?
    Thanks,

    JC,
    You are asking the wrong people
    Closing a period is a business decision.  When you close a period, certain records are written that enable your FI and CO people to close their financial books and produce any required end-of-period reporting.  In most companies that make financial statements on a regular basis, such as value of various types of inventory, they need a clear delineation between one period and the next.
    Closing the period from a Material and inventory perspective (MMPV) creates that clear line.  Once the line is drawn, and the records are written, then everyone can continue making transactions.  The financial data can then more easily be extracted, and reports written, using data produced during the  period close procedure, instead of trying to create reports while transactions are continually updating the inventory and other accounting type information.
    So, ask your Accountants in your company why they want you to close your MM records each period.
    In addition to Inventory records, other types of transactional data relative to accounting must also have similar "clear lines" drawn between reporting periods.  These are the Financial closings you are talking about.
    Regards,
    DB49

Maybe you are looking for

  • A desperate cry for help; My alt key has rendered my mac useless!

    Hi! A few weeks ago I spilled a little glass of water on my macbook pro (2010/15") and as a consequence of this the alt key became dysfunctional. Although not mechanically jammed, the macbook seems to be registering a constantly activated alt key. Th

  • Adding song to playlist and duplicates in library

    Hi, Every time I add a song from my library to a playlist, that song duplicates itself in my library. Is there a way I can have the song not duplicate itself?

  • Cluster Setup on 10.1.3

    Starting a seperate thread.... I am trying to setup a cluster on RHEL3 update 6 (with 10.1.3 OiAS) but have been unsuccessful so far, the two machines are in the same subnet, the firewall on both (iptables) has been opened for the multicast ip/port u

  • 2 nanos to one computer

    how do i set up my wifes and i's two nanos so that they work on one computer. i have tried without much succes as the computer recognises my nano as my wifes and synchronises to her settings ?

  • Partial retirement or transfer of prior-yr acquis. not possible

    Partial retirement or transfer of prior-yr acquis. not possible? How can I fix it? wht does it mean? thanq