BADI_BUILD_MESSAGE + IDOC numbers required

Hi,
I am setting up an alert notificatio in solution manager for IDOCs. It is working fine. But the requirement is to extend the functionality  and add idoc numbers also in the same mail alert. I found a BADI  "BADI_BUILD_MESSAGE"  for this purpose.
Please help me to suggest if this is the correct  BADI and also where(in which parameter of the badi) will I find the IDOC numbers. I could not find the source of the IDOC numbers as this is running in background system.

Check if note 1609090 can help you.

Similar Messages

  • Logic to update the table with IDOC numbers

    Hi all,
    I have an issue while I am running my interface. The IDOCs are getting generated and are displaying in WE02 successfully. But in my logic, I have a requirement to update these created IDOCs in a customized database table. This table has the IDOC number as the first key field.
    Now the issue is that when a file is placed on the FTP server with the data, the IDOCs get generated with no doubt but the table is not getting updated with these IDOC numbers due to which my other data is also not seen in my table.
    Please help with the logic that I need to place to update these IDOC numbers in my table.
    Thanks.
    Taarikha

    Also, this is happening when the file is placed. But when i run it manually through WE19 one by one, it has no problem. When it collectively run thorugh the file in background, this issue is ocuuring. Please help.
    Thanks.
    Taarikha

  • Capture Idoc numbers for outbound INVOIC02

    Hi,
    We have a requirement where we need to capture the idoc numbers before it is dispatched.
    IDOCS are populated by FM IDOC_OUTPUT_INVOIC using process code SD09 for custom output type(EDI processing).
    Our requirement is to capture these idoc numbers into a custom table which will be used for further custom processing. The user exits in the above FM are good for just for segment population.
    What is the best approach to capture these idocs? Is there a user exit to capture these idocs?
    Thanks,
    Pratik

    sorry wrong forum

  • Idoc numbers for a certain output in Sales Orders

    I have more than hundred Sales Order
    One EDI output was triggered (with a unique partner type) from each of these Sales Orders.
    How to find idoc numbers for all these Sales Order for this particular output?
    I tried WE09 giving Segment and field with value....two issues with this. first is it is not working for me...not records found.
    Secondly It take one value at a time. I can't do this for every Sales Order
    Is there any database table or something else to find these idocs?
    Thanks a lot!

    Hi,
    if this special partner type is the partner type of the IDoc receiver, then you can search for relevant IDocs in transaction WE02.
    If you need a partner type out of the sales order data, then it is stored in table EDID4 "IDoc Data Records".

  • Extract IDOC numbers

    Hello,
    need to extract IDOCs numbers of a lot of IDOCs which run on a mapping error and
    have been stopped in sxmb_moni. Is there a possibility to extract the IDOCs numbers as
    as a list? We have XI 3.0.
    Thanks
    Chris

    Hello
    @Rajesh: This is the thing I don't want to do. Look into the payload of hundreads of IDOCs is not very funny. But thanks for your answer.
    @ Jaishankar  and  Siddhesh Pathak         
    IDX5 contains the needed information. Thanks for the hint. Points given.

  • How to extract Idocs Numbers from Bulk Purchase orders

    Hi Gurus,
    I have around 1400 purchase orders.I need to get their Idoc numbers to reprocess in order to generate Sales orders.Is their any process to extract  the Idoc numbers of all the purchase orders at a time. Pls suggest on the same.
    Thanks in Advance
    Ganesh Kumar

    Use t.code WE02.
    Enter IDOC basic type and date ranges. This will pull the IDOC numbers.
    Regards

  • Function module or BAPI for getting all the Idoc numbers of a sales order

    Hi Folks,
    Is there any function module or BAPI exists for getting all the Idoc numbers which are generated for a Sales order.
    Thanks in advance.
    Regards,
    Sarath.....

    Hi Sarath,
    try this function module...
    BAPI_IDOCAPPL_DISPLAY
    Regards,
    Prabhudas

  • How to find out the idoc type required for our requirement

    Hi,
         How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
    Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
    Points will be given for the useful answers
    Thanks,
    Prasanna

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • Flat File to IDOC Mapping requirement to generate Multiple Segments

    Hi Experts,
    I got a requirement were i have 2 records in a file and i need to generate 2 IDOCs  with  multiple segments in it.
    FILE :
    10/01/2010     101  KRNA     ic_quantity          30-0257     3526     1     1     ea     110000     10
    10/01/2010     101     KRNA     ic_quantity          90-0005     3526     1     2     ea     110000     10
    Idoc should generate 2 IDOCs with multiple segments as shown below
    I have imported the IDOC and changed the occurrence to " unbounded "
    The Basic  IDOC Type :  WMMBID02
    I need to generate Multiple segments of  E1MBXY1
    i.e..,  First IDOC should contain two  E1MBXY1 segments
             Second IDOC should contain Four  E1MBXY1 segments
    IDOC1 :   WMMBID02
    Segment :   E1MBXY1( 2 segments)                                                       
    10/01/2010     101     KRNA     ic_quantity          30-0257     3526     1     1     ea     110000     10
    10/01/2010     101     KRNA     ic_quantity          90-0005     3526     1     2     ea     110000     10
    IDOC2 : WMMBID02
    Segment :  E1MBXY1 ( 4 segments)                                                  
    10/01/2010     101     KRNA     ic_quantity          30-0257     3526     1     1     ea     110000     10
    10/01/2010     101     KRNA     ic_quantity          30-0257     3521     1     1     ea     110000     10
    10/01/2010     101     KRNA     ic_quantity          90-0005     3526     1     2     ea     110000     10
    10/01/2010     101     KRNA      ic_quantity          90-0005     3521     1     2     ea     110000     10
    Can anyone suggest me how to generate IDOCs with multiple segments
    what are multiple ways of generating it
    Whether it can be achieved using Multi-mapping or I need go for UDF
    If any one has done has done this type of requirement ,please share the points.
    Thanks
    Sai

    Basically you need to generate idoc per record in the flat file. During fcc conversion you convert flat file to xml structure at the sender side. In the mapping use xml file structure source and idoc as receiver structure. You just export idoc and update the idoc segment 1 to unbounded.  Please follow the michael blog for file to idoc multimapping without bpm. Yes without bpm it is possible.
    see this link... This will answer your requirement.
    https://wiki.sdn.sap.com/wiki/display/XI/File%20to%20Multiple%20IDOC%20Splitting%20without%20BPM
    >Whether it can be achieved using Multi-mapping or I need go for UDF
    you dont need udf for this.

  • XI generates own IDOC numbers in outbound IDOC

    Hello, The scenario we have is R/3 --> XI --> 3'rd party (via IDOC rcvr adapter) AND then SYSTAT back from the 3'rd party to R/3 via XI.
    Example: R/3 sends an IDOC with IDOC number 100. XI (by default) submits this IDOC to the 3'rd party system with IDOC number 200 (it's own internally generated number).
    Accordingly, the 3'rd party responds back with a status IDOC, SYSTAT, containing IDOC 200 in the E1STATS ==>DOCNUM field.
    This is now a problem since if XI submits the SYSTAT as received from the 3'rd party, it has 200 in the DOCNUM field and this fails in R/3 since there is no original IDOC with number 200.
    This can be solved if XI is able to pass the original number 100 through to the 3'rd party system (since then when the 3'rd party responds it will send a SYSTAT with IDOCNUM as 100 back, which will setup correctly in R/3).
    I have gone through the other pertinent posts and none of them have this specific problem / offer a solution. I'm hoping I have missed something as this seems to be a pretty basic requirement.
    Thank you for the time.
    Some additional details...
    - 3'rd party is non SAP.
    - In the IDOC rcvr adapter we have flags 'Apply Control Record Values from Payload', 'Take Sender from Payload' and 'Take Receiver from Payload' fields checked.
    - We have not checked any flags in the Rcvr Agreement.
    - We are not using BPM and do not have a way to correlate the inbound 200 with the original 100 that went out.

    Bhishma,
    Just clarrification for you...when you said..
    "R/3 sends an IDOC with IDOC number 100. XI (by default) submits this IDOC to the 3'rd party system with IDOC number 200 (it's own internally generated number)."
    Here Idoc number 100 is outbound idoc from R/2 where as Idoc number 200 is inbound idoc...n they are totally different idocs..not same
    I think there is work around...while mapping data from XI --> 3rd party assign / store outbound idoc in one of the unused field of inbound idoc...and while mapping back use this field to map it back...I think this will work.
    Let us know the result.
    Nilesh

  • IDOC mapping requirment

    Dear all,
    I have a mapping requirment based on IDOC Segment to SOAP.
    My  IDOC Structue is like this:
    Source               Target
    segement1:         
       itemA
       itemB
       itemC                 ID
       itemD
    Segement2:
      itemD
      itemE                 Description
      itemF                 Value
    Based on ItemF ,if  its value is 00  then get itemC from Segement1 and itemE  from Segement2 and map to target  as ID and Desciption .
    Please provide me the  graphical mapping design.
    Regards
    Vsantosh

    can u provide me some more information like
    if ItemF value is 00 then ur trying to get the data from the two fields from the source side ,
    what do u want to do with those two values (means u want concatnate or what) and
    if itemf value is not queals to 00 then what to do .......

  • XI and IDOC numbers

    Hi,
    we have the following scenario:
    SAP(IDOC)->XI(IDOC)->Third Party(IDOC)
    XI receives the SAP-IDOCs and creates automatically a new XI-IDOC number and sends the XI-IDOC to the third party system.
    If a problem is coming up, SAP user and Third Party user have problems to find the correct IDOC, because the numbers are different (SAP IDOC number vs. XI IDOC number).
    Is there a way to prevent XI from creating a new IDOC number? XI should use the SAP-IDOC number that is coming within the IDOC.
    Thanks for any help,
    Christian

    Hi Christian,
    You cannot switch off the creation of an IDOC when XI sends it to a receiving system. This is for XI to store the IDOC uniquely with an IDOC number in the XI system.
    To cross reference the XI IDOC number to the Original Idoc number of the sending system, the table entries in the table IDXRCVPOR can be used. The field IDOCNUMBER in the table has the XI idoc number & the field SNDLAD has the idoc number of the sending system.
    hope this information helps...
    Thanks,
    Renjith.

  • Screen Numbers required for object links

    i am unable to add few object links to a document type as i dont have the screen number for the object links.  Can anyone give me the screen numbers of the following object links
    L     Object     Object Desc.     Screen Number
    EN     AENR     Change Number     
    EN     AFPO     PROD ORDER     
    EN     ANLA     Asset     
    EN     ESTLP     Subst.rep.gen.var.     
    EN     ESTRH     Substance master     
    EN     NFAL     Case     
    EN     NORG     Organizational unit     
    EN     NPAT     Patient     
    EN     PLPO     TASK LIST     
    EN     PMQMEL     PM notifications     
    EN     VORGNET     Network
    Also, it would be of great help if i can get how to find these screen numbers and also the comprehensive list of all the possible default SAP object links a Document type can have!
    Edited by: sujatha sirobhushanam on Jan 15, 2009 8:07 AM

    Hi,
    In IMG settings you will find required link
    Doc. Mang.->control data->Maintain screens for object link
    & req. screens are
    AENR Change Number -218
    AFPO PROD ORDER -251
    ANLA Asset -225
    ESTLP Subst.rep.gen.var. -232
    ESTRH Substance master -231
    NFAL Case -208
    NORG Organizational unit -209
    NPAT Patient -203
    PMQMEL PM notifications -235
    VORGNET Network-226
    thx..
    consider points if useful...

  • IDOC - system requirements

    Hi,
    I am not sure if this is the right forum for my question, sorry if it isn´t.
    I want to get some really basic informations about SAP and IDOC. Can anybody provide me with a source or the info what system requirements a SAP-System has to use the IDOC-technology? Do I need a special configuration / module for this?
    Also a source for further information what kind of use-cases for IDOCs exists (a few examples where and for what I could use IDOCs would be great for better understanding).
    Sorry for these really basic questions, I am not really familiar with the architecture of SAP in this case.
    Thanks a lot for your help,
    Christoph

    Hi Cristoph,
    Welcome to SAP
    Basically an IDoc stands for Intermediate Documents, these are the documents with the help of which data is exchanged between SAP R/3 and non-R/3 systems.
    To know more about IDoc check this link http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
    Also if you are new to SAP IDOC or ALE check the help.sap
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6095507d11d18ee90000e8366fc2/frameset.htm
    And the ERP forum will be the most correct forum for your query
    Enterprise Resource Planning (SAP ERP)
    and if you have some IDoc development queries raise it in ABAP Forum
    ABAP Development
    Regards
    Suraj

  • Plan numbers required for Products .

    Hi All,
        I am stuck up with a problem . 
        I want to use the BAPI " BAPI_PPMSRVAPS_GETLIST "  and this uses Plant keys to get executed .
        I have a list of products for which I require the plan numbers .
        Can anyone guide me on from which table do I get this information ?
    Regards,
    Ranjita

    Hi,
    There is apparently no one direct table.
    One group of tables is as below:
    1.     Table  /SAPAPO/MAPMAP  >> Get Product ID
    2.     Table  /SAPAPO/LOCMAP >> Get Location ID
    3.     Table  /SAPAPO/TRPROD
    Location ID
    Product ID
    Supply Srce Cat      >>       2   (for PPM)
    You get         Ext. Plan No.
    4.     Table   /SAPAPO/PLANMAP
    Ext. Plan No.
    You get
    Plan            (PLANNR)
    Plan   Id         (PLANID)
    There may be some other  group of tables though.
    Regards
    Datta

Maybe you are looking for