How to get R/3 IDoc number in XI (file- XI- R/3 IDoc)

Hi all,
I want to do something simple
In my scenario file->XI (SP14)->R/3 IDoc, I have to return the list of IDoc numbers to the sender external application.
So I use a BPM with steps: Receiver (from file adapter), Transformation (Grouping and Splitting) and Parallel Block.
In this block I have a Mapping (one message to IDOC) and Send step (to Idoc adapter).
Its works fine, but I have to know the R/3 IDoc number for each message in the block.
I tried to find solution in this forum but I didn’t find anything useful. Can you help me with any idea or link?
Regards,
Emil.

Hi all!
I was a little bit surprised. Is my question is stupid or complex or …?
I found something strange: In the error acknowledgment message in SOAP Header / Trace I saw that there was a runtime error:
<Trace level="1" type="B" name="CL_XMS_MAIN-RITE_MESSAGE_LOG_TO_PERSIST" />
  <Trace level="1" type="T">Runtime exception return from pipeline processing! </Trace>
  <Trace level="1" type="T">Persist Message in Stopped State</Trace>
  <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
  </SAP:Trace>
The workflow status is still In Process.
Any idea what happened?
Regards,
Emil.

Similar Messages

  • How to get the current month number

    Hi everyone,
    Does anybody know how to get the current month number in Oracle Discoverer Worksheet calculation?
    I try to use EUL_DATE_TRUNC(CURRENT_DATE, 'MM'), but instead I got 01-AUG-00.
    If I change the data display format to MM, it will give me "08" but if I use TO_NUMBER function to convert it to number I get error "invalid number"
    Is there anyway to get the current month value in number? Thanks

    Scott,
    Thank you so much! It works perfectly! :)
    Hope you have a great day ahead!
    Cheers,
    Angeline

  • How to get the unoccupied material number in a number range

    How to get the unoccupied material number in a number range.for example, I wang to get a number between 1500000 and 1599990 which is unoccupied as my material number to be created. Is ther any FM or codes?

    Dear,
    You can get this information from Tcode SNUM or you can access database table NRIV.

  • How to get the 4 digit number associated with a SAP icon ( ICON_MAIL )

    Hi Friends,
                   Could anyone please tell me how to get the 4 digit number associated with a SAP icon ( ICON_MAIL ).
                   eg: - For ICON_GREEN_LIGHT the four digit id code is '@08@' (which you can get from ICON table )and the associated 4 digit number is'1003'.
                  Similarly I want to get the 4 digit number for ICON_MAIL(e-mail icon)
    <b><REMOVED BY MODERATOR></b>
    Ashiq
    Message was edited by:
            Alvaro Tejada Galindo

    You can use this report...It's not mine...
    REPORT zdummy_atg_2.
    TABLES: ICON.
    INCLUDE <ICON>.
    FIELD-SYMBOLS: <F>.
    SELECT * FROM ICON.
       ASSIGN (ICON-NAME) TO <F>.
       WRITE:   /(5) <F>, 20 '@',21 ICON-ID+1(2),23 '@',ICON-OLENG,
                ICON-BUTTON,ICON-STATUS,ICON-MESSAGE,ICON-FUNCTION,
                ICON-NAME.
    ENDSELECT.
    Greetings,
    Blag.

  • How to get a service notification number for given serial number

    Please, someones know how to get a service notification number based on serial number.
    In our process the notification can be created as first step (IW51) or can be created starting from service order (IW32).
    Thanks in advance.
    Luca

    Hi pooja,
    actually standard service request numbers are configured in spro->crm->transactions->Settings for Service Requests->Number Ranges. here they are maintain service request,incident,problem number ranges..
    so when ever your creating any service request then that number range will appear in that object id.
    you have to get that object id in your custom field get_method and based on that you have to change your number..
    example:
    current = me->bo.
    current->get_property_as_string( EXPORTING iv_attr_name  = 'OBJECTI_ID'  RECEIVING rv_result  = lv_id ).
    here you will get object_id based on that you have to write your own logic to display custom value.
    " write your custom logic to populate custom field. pass that custom field value into returning parameter.
    value = custom_value.
    Thanks & Regards,
    Srinivas.

  • How to get the iphone serial number  in application?

    hello,  everyone
       i  really want to konw how to get the iphone serial number in aplication ?  As it's different from uniqueIdentifier ....
    thank you

    Michele is correct - sneep will help you get the serial from the running domain on the M3000 ,
    and it is a good idea to install STB on your machines.
    If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
    I believe that on this platform, sneep gets the serial from the output of prtconf.
    There is a minor correction to be made :
    After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
    man -M /opt/SUNWsneep/man sneep
    with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
    that you will find on the physical serial tag.
    The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command.

  • How to get the attribute value of an XML file??

    How to get the attribute value of an XML file??
    For example, how to get name and age attributes?
    <student name="Joe" age="20" />

    What are you using to read the XML file??
    On the assumption of JDOM - www.jdom.org. Something along the lines of:SAXBuilder builder = new SAXBuilder(true);
    Document doc = builder.build(filename);
    Element root = doc.getRootElement();
    List children = root.getChildren();
    Element thisElement = (Element)children.get(n);
    String name = thisElement.getAttributeValue("name")
    try
         int age = Integer.parseInt(thisElement.getAttributeValue("age"));
    catch (Exception ex)
         throw new InvalidElementException("Expected an int.....");
    }Ben

  • How to get HTTP session in Applcation Module IMPL file

    Hi Guys,
    Can any one tell me how to get HTTP session in Applcation Module IMPL file ?
    thnks

    You can, but that's not a best practice.
    Re: How to reach HttpContext from model Project

  • Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?

    Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
    I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
    FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
    Thanks!

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • How to get list of drives present in local file system?

    Hi all,
    I want to show all drives and their contents using JTree.
    Does anybody know how to get list of drives present in local file system?

    Thank you!
    I have new question.
    I want to disply size and file type. Can you give ur suggestion in order to do that?
    I want to provide following using JTree
    + root <Dir> 50KB
    - file1 <txt> 10KB
    - file2 <bmp> 20KB
    + root2 <Dir> 200KB
    -file1 <jpeg> 50KB
    Is this possible?
    Plz reply..........
    bye

  • How can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    how can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    let's say a registration form, there is only 1 full address provided in my registration pdf, but applicant could have more than 1 address, so i have to make it more flexible to extend the address page no matter how many addresses that applicant provided, i have use adobe acrobat pro to edit the form properties. but dont know how to extend/duplicate a page in felxible times.
    Please advise~ tks so much!!! George

  • How to get EBS Concurrent Request number (and more) into BIP Report Layout

    hi,
    I have been using BIP for 9 months but have several years experience of Reports 6i development (matrix, drill-thru etc). We are beginning to use BI Publisher with EBS and would like to be able to incorporate the Concurrent Request number into the report layout (preferably in the footer area). I have looked back over previous forum posts and have found mention of how to get the report parameters into the XML datastream and template, but nothing for the Concurrent Request number. I've also looked at the DevTools/Reports forum but cannot see anything similar there.
    It would add a lot of value to generated output for end-users if this information (+ environment/instance name etc) can be put into the layout.
    Sean

    Hi
    Create a data query in data template/reports as
    select fnd_global.conc_request_id "REQUEST_ID" from dual
    and this will pick up the request id and then u can use it in the RTF layout
    Hope this helps..

  • How to get the final document number?

    Hi,
    How do I retrieve the document number of a document (e.g. delivery note) that is just added?
    Currently, I use the following event listener:
    [B1Listener(BoEventTypes.et_FORM_DATA_ADD, false)]
    in which I retrieve the document number by reading out the text field on the form:
    EditText text = (EditText)form.Items.Item("8").Specific;
    string deliveryNoteNumber = text.Value;
    This works perfect if only one person is adding documents.  But if two persons are posting a document, they both see the same (temporary) document number in the form while entering the data.  The latest person who finalizes his document, will get another number than the one that was displayed in the form (because the first person already used that number).  So, how can I retrieve the number of a document that is just finalized?
    Thank you very much for your help.
    Regards,
    Pieter Verhaeghe

    You can use the "ObjectKey" property of the BusinessObjectInfo object returned by the form_data_add.
    Catcth the event with BeforeAction = false - after the add event has successfully happened. Then you will see the ObjectKey property of the BusinessObjectInfo object will have an XML string in it. Inside that XML you can find the DocEntry of the newly added document, you will just need to parse it properly!

  • How to get the PO response number

    hi,
    i need to get the Purchase Order Response number for a given PO number and item.
    i have checked BBP_PD_PO_GETHISTORY FM, for few of po numbers i'm not able to find the POR number in this FM.
    can anyone suggest how to get the POresponse number.
    help me soon.
    thanks.

    hi all,
    thanks for the valuable info, now i'm able to get the POR number.
    could you please tell the DB table name, so that i can fetch directly and i can improve the performance.
    thanks,
    gupta.

  • How to get input source line number

    I wrote a XSLT transformation that checks the input XML for errors.
    When the transformer finds a problem, it can terminate with <xsl:message terminate="yes">, which outputs the line number within the transformer XML source. I do so in my implementation to indicate errors.
    But i need to output the line number of the input source, not that of the transformer source, because this is the location of the error.
    Anybody knows how to do this?
    How can i get the current line number of the input source XML text?

    Hello Fritz!
    XALAN reads the entire input file (SAX) before starting with transformation.
    So overriding the input stream is no way to find this line number.
    I think this would have to be a built-in XSLT functionality within the tag "xsl:message".

Maybe you are looking for