Get ECC idoc number from PI

Hi All
IS there a way to get the IDOC number created in the ecc system from PI? A FM or something you can call the get the ecc idoc number?

IDoc acknowledgements is the way to go.
Configure ALEAUD and it should respond back with the IDoc number and what happened to the IDoc in SAP
http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6550507d11d18ee90000e8366fc2/frameset.htm

Similar Messages

  • Getting valid idoc number from the sales document

    hi,
    Iam sending the code for getting the idoc number from sales document.
    but iam not getting the result.
    please see the code and correct the code so that i will get the idoc number from the sales document.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input         = p_vbeln
    IMPORTING
       OUTPUT        = p_vbeln
    select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    it is very urgent..............
    thanks in advance......

    See the below code :
    report zxyz.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    <b>data sdata like edid4-sdata.</b>
    start-of-selection.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = p_vbeln
    IMPORTING
    OUTPUT = p_vbeln
    <b>concatenate '%' p_vbeln '%' into sdata.</b>
    select single docnum from edid4 into l_docnum
                  where sdata like <b>sdata.</b>
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    Thanks
    Seshu

  • Get IDoc-number from flat IDoc using dynamic configuration

    Dear experts
    In an IDoc2File scenario I have added the IDoc-number to dynamic configuration using the folling code in an UDF:
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","DOCNUM");
    conf.put(FileName, a);
    The information is stored in the SOAP message
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="DOCNUM">0000000000012345</SAP:Record>
    </SAP:DynamicConfiguration>
    Can anybody tell me how I can access this information in the "variable substitution" section of the CC? Perhaps something like "message:docnum"?
    Additional information:
    Taking the IDoc-number from the payload using e.g. "payload:ORDERS05,1,IDOC,1,EDI_DC40,1,DOCNUM,1" does not work, since the XML-IDoc has been converted to an flat-IDoc.
    Thanks in advance for any good ideas
    Markus

    Dear Rodrigo and Sarvesh
    Thanks for your help so far! I applied your hints and now it is working fine.
    But now I have the following additional questions
    1.) My message mapping only maps the input IDoc to an output IDoc of the same type and structure. The MM is only required to process the UDF. Is there another, better solution to achieve my requirement that the IDoc-number shall be part of the filename?
    2.) In the CC you have the possibility to use temporary files (section "Processing", Option "Put File" = "Use Temporary File". I think this will not work with the given solution, will it?
    To possibly help somebody else or clarify the mechanism once again, I wrote down how my solution now looks like.
    My UDF in the message-mapping looks like this
    - Input = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - Outpt = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - UDF:
    public String putDynamicConfiguration(String docnum, Container container) throws StreamTransformationException{
    try
         DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
         DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
         String filename = "Prefix_" + docnum + ".txt";
         conf.put(key, filename);
         return docnum;
    catch (Exception e)
         return docnum;
    In the CC the settings are now as follows
    File Name Scheme = . -> only a dot or something else, because this field is obligatory, even if it is not used in this case.
    Variable substitution (...)
        Enable -> unchecked
    Adapter-Specific Message Attributes
        Use Adapter-Specific Message Attributes -> checked
        Fail If Adapter-Specific Message Attributes Missing -> checked
        File Name -> checked
        Directory, File Type, Temporary Name Scheme for Target File Name -> unchecked
    When I send an IDoc to PI and view the Adapte-Engine Version of the message (the SOAP-document, not the payload) I can find the Filename:
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
    <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">Prefix_0000000000012345.txt</SAP:Record>
    </SAP:DynamicConfiguration>

  • Idoc number from personal number in ECC

    Hi All,
    i am new to idocs ,please tell me how to get the idoc number using the personal number.

    https://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
    01. Go to T code We09 or WE10
    02.Give date range for Created on
    03.Give direction : Inbound or outbound
    04.Give basic Type/logical message/ Port etc  ( If you know - for faster search )
    05. Now next tab is Criteria for search in data record :--
    a. You need Segment name : find out segment name from we02 thru some existing / known Idoc .
    b. Field name : Fro WE02 can get this value
    C. Once you know Segment and field name of personal number - enter all three values and execute.
    You will get respective Idoc#
    Hope this helps. Let us  know if you need further input on this.
    Best Regards/Rajesh

  • Retrieve idoc number from r/3

    Hi Experts.
    I have an interesting issue..i am sending an idoc to r/3..asynchronously from bpm..Is it possible to get the idoc number of the idoc from the r/3 system for the same idoc that i had sent.....no the docnum is not what i am looking for, dont want to create another scenario where i retrieve it using rfc..etc...
    just want the idoc number back so i can append it to the soap response..and hence wash my hands off the situation...
    Venkat

    Venkat,
    Just check this doc,if it helps https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe

  • Problem in finding Idoc number from Delivery document number(VERY URGENT)

    Hi experts,
    I have a delivery document number.Now i have to find the Idoc number for thet delivery document and extract some necessary data from one of the segment of that Idoc.So I am not able to find a link through tables .
    So I exact query is 'what is the selection method i have to follow to get the idoc number given the delivery document number'.
    Regards,
    Praveen.
    Edited by: Praveen Jada on Mar 14, 2008 12:15 PM

    That's what I meant, do the following query:
    DATA: LT_DOCNUM TYPE TABLE OF EDI_DOCNUM.
    SELECT DOCNUM
      INTO TABLE LT_DOCNUM
      FROM EDID4
      WHERE SEGNAM EQ 'E1EDL20'
      AND SDATA EQ '0001234567%'.
    This will list you all the IDOC numbers in which delivery number 0001234567 appear in the delivery header segment.
    Depending on your process it's probably going to be one entry only.
    Hope that clarifies it,
    Michael

  • Retreiving latest IDOC number from Invoice number

    Hi,
    I am interested in retreiving latest IDOC number from a Invoice.
    Usually we have multiple IDOC numbers for same Invoice number.
    This is a report requirement.
    thank you.
    praveen

    Hi,
    Use NAST with the invoice to get the latest record for that output type..
    use the table CMFP to get the IDOC number..The combination is
    NAST-CMFPNR = CMFP-CMFPNR..
    Then in the column CMFP-MSGV1 you can find the idoc number..
    Thanks,
    Naren

  • How to find Outbound Idoc number from inbound Idoc number.

    Hi,
    I have one inbound Idoc in my system, then
    How to find the  idoc number from the system which sends that idoc(Outbound Idoc number).

    Hello
    You can use fm SREL_GET_NEXT_NEIGHBORS for this purpose.
    Scenario: An EDI purchase order is received by SAP-XI and forwarded as Inbound ORDERS IDoc to R/3. SAP-XI generates an (outbound) IDoc number which differs from the (inbound) ORDERS05 IDoc in the R/3 system.
    Calling fm SREL_GET_NEXT_NEIGHBORS with the following parameters:
    OBJECT-OBJKEY = <IDoc number, 16-digits>
    OBJECT-OBJTYPE = 'IDOC'
    MAX_HOPS = '99'            " <<< get all links
    I get the following result:
    0000000000133906                                   IDOC       CUSTOMER   OUTIDOC
    0000000000407402                                   IDOC                  INIDOC
    000000370383                                       BUS2012    CUSTOMER   OUTBELEG
    0010057944                                         BUS2032               INBELEG
    Outbound IDoc number
    Inbound IDoc number (ORDERS05)
    PO number
    Sales order (created from inbound ORDERS IDoc)
    Regards
      Uwe

  • How do I get my UDID number from my ipod if I can't plug it into itunes?  Apple took it back because it was broken and gave me a new one but I have games and apps that can only be moved over with the UDID from the old pod.

    How do you get the UDID number from your ipod if you don't have the ipod anymore.  The apple store took it because it wasn't working so I can't plug it in to get the number.  Some of my apps are associated wtih that number and I can't move them to my new Ipad without that number.  Any ideas?

    Hi KT. I restored my information back to November 10th and the one app that I need the info on is still empty like I just downloaded it. Do you have another suggestion? I was able to track down my serial number but can't get the UDID without plugging it in and I no longer have it. Suggestions?

  • Can anyone help me get a serial number from Adobe & Identit-e?

    I bought the Adobe Creative Suite 6 Design Standard Student & Teacher edition through Amazon online. I followed the instructions inside the package to verify my eligibilty as an educator. I received a message on the screen after submitting my materials that I was verified & I would be receiving a serial number.  This was on June 1. I contacted Adobe Chat and a rep. told me to wait 2 -3 business days, but still no email with serial number had arrived. On June 7, I contacted Adobe Chat again and the rep told me to contact customer service at identit-e.  I have sent  identit-e two emails with no response. It has been one week of trying to get my serial number from either Adobe or identit-e.  Can anyone help me get my serial number?
    Product Code <removed by moderator>. 
    My work email is <Removed by moderator>

    Jeff,
    I ordered through Amazon and not through Adobe so there is not a record of my order on the Adobe website.  I do have a record of the order with Amazon so I requested a refund through Amazon.  The product is unusable without the serial number.  It has been 8 days since my eligibility  was verified with identit-e.  I have spoken with three Adobe rep.s and two unanswered email to identit -e trying to get the serial number since I was verified as eligible to receive the student/educator version of Creative Suites. I am very disaapointed with the lack of help I have received from Adobe with this issue.
    Being referred to identit-e or to a FAQ page is not what I needed to solve the problem- I needed the serial number  I have lost complete confidence in Adobe's customer service and that the serial number will ever be provided.
    Kathie

  • My iPod touch was stolen. Can you tell me how I can get the serial number from my iTunes account?, My iPod touch was stolen. Can you tell me how I can get the serial number from my iTunes account?

    My iPod touch was stolen. Can I get the serial number from my iTunes account?

    See the end of:
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                                                
    Reporting a lost or stolen Apple product                                        
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • If my ipod was stolen can i get my serial number from apple?

    how would i get my serial number through apple store if it was stolen today? i need it ASAP beause im in school and the day ends at 1:45...someone help me please

    I don't believe you can get your serial number from Apple since they have know way of knowing that you are indeed you, but you can call Apple tech support at 1-800-275-2273 (if you have a cellphone or can make an 800 call from school) and ask.
    Otherwise, if you have access to a computer to which you synced the iPod, or someone you can call does, you can find the serial number in iTunes on that computer. See:
    http://support.apple.com/kb/HT1459#one
    Regards.

  • HT1349 My Ipad was stolen, How can I get the serial Number from Apple. It was registered with them

    I had  2 Ipads, a mac book pro and a Mac Air stolen 2 weeks ago
    I am trying to locate one of the serial numbers, but cant find the last box.  Can I get the serial number from Apple. It was registered and now it is not showing up as one of my products.
    Thanks

    The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two,  device connectivity and device sync.  run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices.

  • How to get payment document number from paid column in monthly invoice

    Dear experts
    I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
    in table MIN1, only contain invoice and credit note document number, there is no payment document number
    thank you for your help
    Best Regards
    JeiMing

    Dear Gordon
    Yeah, you are right, i can use field MIentry in RCT2
    thank you
    Best regards
    jeiming

  • I keep getting an invalid serial number when re-installing Adobe Acrobat 9 I am getting my serial number from my registered products

    I keep getting an invalid serial number when re-installing Adobe Acrobat 9 I am getting my serial number from my registered products

    If it was an upgrade version, it may be you are being asked for the qualifying product S/N and are entering the new S/N instead. That would cause a problem.

Maybe you are looking for