IDOC Number for a record

Hello All,
I am working in HR. If I have a record created by IDOC, is ther any way for finding IDOC  number that has created this record.
Regards,
Rahul

Hi Sergie
The ALEAUD is a separate IDoc, so naturally it must have a different number than the original IDoc. However, the field E1STATE/DOCNUM in ALEAUD is a reference to the original IDoc.
How is your ALEAUD generated? If you are doing this "manually" via a message mapping, you need to include the original IDoc number in the message to your receiving system so that it can send an audit message back containing the original IDoc number. From this audit message you should be able to map a correct ALEAUD message.
Regards,
Thorsten

Similar Messages

  • Number for every record that is retrieved from (query)

    Hello
    I wish to put a number for every record that is retrieved
    from the record that is output by this query
    For example
    For the first recored/row
    Generated number, ksnumber, date
    1, gg111 11/05/05
    2, oo235 12/06/05
    the query returned 2 records 1 and 2 are the number that is
    generated with this code.
    In addition if there is a built in function, where in the
    code do I put it???
    <cfquery name="gelov datasource="kl90">
    SELECT
    FROM
    WHERE
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfks value="KSNUMBER">
    KS.KS_NBR
    </cfks>
    <cfks value="CREATIONDATE">
    KS.KREATDAT
    </cfks>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfks value="HTML">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Ctwye Kss Report</title>
    </head>
    <style type="text/css">
    table{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Ctwye Kss
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>report returned #getCtwyeKss.RecordCount#
    records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="1" cellpadding="2" cellspacing="0">
    <tr>
    <td width="160">Ks Number</td>
    <td>Creation Date</td>
    <!--- <td class="dataField">Address</td>
    <td class="dataField">Type</td>
    <td class="dataField">Description</td>--->
    </tr>
    <cfloop query="getCtwyeKss">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#KS_NBR#</td>
    <td>#dateformat(KREATDAT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfks>
    <cfks value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=ctwye.csv">
    <cfcontent type="application/msexcel">"Ks
    Number","Creation Date"
    <cfoutput
    query="getCtwyeKss">#ltrim(KS_NBR)#,"#dateformat(KREATDAT,"mm/dd/yyyy")#"
    <tr #IIF(getCtwyeKss.CurrentRow MOD
    2,DE(''),DE('backgroundColor="##999"'))#>
    <!---<tr bgcolor="<cfif currentrow mod
    2>##808080<cfelse>##ffffff</cfif>"> --->
    </cfoutput>
    </cfks>
    </cfswitch>

    <cfks> is not a Coldfusion tag. Use <cfcase>
    instead.
    The following code will print the row numbers
    <cfquery name="gelov" datasource="kl90">
    select ksnumber, date
    from yourTable
    </cfquery>
    <cfoutput query="gelov">
    #currentrow#, #ksnumber#, #date#<br>
    </cfoutput>

  • To find IDoc number for a Scheduling agreement.

    Hi all,
         I am new to this area. I need to find out IDoc number for a Scheduling agreement. I have been instructed to go to VA33. And then after entering SA number and going in they instructed me to systems--> service for objects. But when I go there it is giving me message "NO SERVICE AVAILABLE". Can anyone help me out with this.
    Thanks in advance.
    Ravi Boppana

    Hi,
       The issue is solved. It seems that a parameter is missing in user profile as per our basis guy.
    Thank you
    Ravi Boppana

  • How to get Get IDOC Number for Inbound IDOCS

    Hi,
    I am using the FM -- IDOC_INPUT_HRMD for creating Inbound IDOCS.
    I populate the values for Control Record and Data Record and the IDOC is posted successfully and i get the status 53 in the status Table.
    But the problem is the field for IDOC number(DOCNUM in IDOC_STATUS Table of the FM ) is empty.
    How can i get the DOCNUM for the IDOC posted as a result of this FM ?
    regards,
    Siddhartha

    Hi Siddhartha,
    I think you cannot call IDOC_INPUT_HRMD fm directly from the external program as this fm only handles the application logic part and not the idoc number generation and save part.
    So I think you have to call IDOC_INBOUND_SINGLE from your external program and then get the IDOC number.
    Then if you need the status records then you need to call another fm and feed IDOC number that you have got from IDOC_INBOUND_SINGLE (there is one IDOC_READ_COMPLETELY but it is not a remote enabled fm)
    <b>OK, I just found one RFC enabled fm which you can use,
    <b>EDI_DOCUMENT_READ_ALL_STATUS</b></b>
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • How to get IDoc number using sdata records

    Hi Experts,
    I have executed a report program in background. Its generating few IDoc's. I can view those idoc's in WE05 also. But now i want to display those idoc number in the result output of the report. One of the segment having materrial number and plant details in the IDoc. Using this details i want to display the IDoc number in the output screen. Even i have tried with EDID4 table its taking huge time to get a single IDoc. Is there is any simplest way is there to get those idoc's .
    Otherwise how to achive this?
    Thanks and Regards,
    Mohana

    Hi,
    1.)If you want the ouput in the same report program which triggers the idoc, it is better to use the control record information.
    You will get IDoc Number from XEDIDC(check the below code) and you can store the idoc number into an internal table if more idoc is expecting to be triggered.
         call function 'MASTER_IDOC_DISTRIBUTE'
              exporting
                MASTER_IDOC_CONTROL        = EDIDC
              tables
                COMMUNICATION_IDOC_CONTROL = XEDIDC
                MASTER_IDOC_DATA           = XEDIDD
              exceptions
                others                     = 5.
       read table xedidc index 1.
      append xedidc-docno to it_docno.
    And finallly use this to display in the output.
    2.) if u want it in a seperate report, then select based on date, idoctype, messagetype
    Regards,
    Sajith

  • Get IDoc number for IDoc generated through RBDMIDOC

    Hi All,
    I have a requirement where in I need to send Vendor master information through CREMAS to PI system. I am using change pointer and batch job to trigger RBDMIDOC and send IDocs.
    In case the IDoc fails a mail needs to be triggered to concerned person giving vendor number, Idoc number and date. Can anyone suggest any user exit/BADI where this can be done ??
    Note: system is 4.7C.

    Hi Chinmay
    I didn't knew you were in 4.7. Since you mentioned about the details of the workflow getting triggered, here are the options i can think of.
    In case of error it is triggering the standard task 00007989 which you can check in PFTC. This task calls the method ERRORPROCESS from Business Object IDOCAPPL. My suggestion here would be to create a subtype of BO IDOCAPPL in SWO1 transaction and add additional logic in method ERROR_PROCESS to send the mail. The details of the IDOC number and other things are available in the task container of TS00007989. But make sure you do it specific for your message type, as this will be triggered for all message types. And then change the BO and method reference in task 00007989 to point to your new BO method.
    Other options would be to delegate the BO IDOCAPPL to a new Z BO, and then modify the method IDOCAPPL. This way you don't have to change the task BO assignment, as it will implicitly use the Z BO method. May be you can get in touch with your Workflow consultant who can help you more on this.
    Regards
    Ranganath

  • Finding the idoc number for material document

    Hi,
    I have a material document which was created by an idoc. How do I know the idoc number that has created this material doc?
    We have lots of idocs coming from external systems which do GI, GR, transfer postings etc. With the material document , not able to trace which idoc created it.
    Regards

    Hi Ramees,
    "Refer the Tables MKPF / MSEG inorder to get the IDOC no's for Material Docs. "
    But how can it be found for Transfer posting documents where no PO history exist !!
    Alex.

  • IDOC Number for a Application document

    Hi frinds,
    Using Idocs we create application documents like Sales orders(inbound),invoices, delivery etc (outbound) to create application document in some other system or used in case of B2B scenario.
    my requirement is can we get the Idoc # form the slaesorders number using some function module (to get the idoc #'s of huge number of sales orders). however we can find the sales order number form the Idoc number using WE05 i want the reverse way.
    Thanks,
    vin.

    Hi,
    If your requirement is like Xi generates an outbound idoc to R/3 which is different to inbound idoc number of R/3.
    USe SREL_GET_NEXT_NEIGHBORS  ,
    object-objkey = idoc num  object-objtyp = 'IDOC', max_hops = '99'.
    You can get the list of outbound,inbound idoc numbers and sales order .
    Thanks and Regards,
    P.Bharadwaj
    Edited by: Bharadwaj p on Jun 14, 2010 8:31 AM

  • Find idoc number for partner

    in WE02, I find the receiving idoc number 24792 in client 800, the partner number shows client 500, how to know the sending idoc number in client 500? thanks

    Hi,
       The issue is solved. It seems that a parameter is missing in user profile as per our basis guy.
    Thank you
    Ravi Boppana

  • 499 Step Number for condition record?

    Hello Everyone,
    In ECC6,  Quotation print output AN00 is not showing price per unit for some items. I checked in debug, there seem to be a condition record with step number 499 (which does not have a condition type) that is missing values for XKOMV-KBERT. When I populate this value in debug, it shows up find in the output. Step number 499 is not in KONV.  What logic does SAP use to come up with these values for step number 499?
    I know this may sound like an ABAP question but it is not. I think some pricing is not configured right. There is a calculation type condition but it is only populating field KWERT.
    TIA,
    Lyn

    Hi lyn
    Check in your piricing procedure V/08 wheather , in the step 499 what has been maintained any text type ? and if condition type has been maintained. , check wheather condition record has been maintained or not ? and also check wheather that  value is coming in the sales order or not .
    check for the step 499 wheather in print feild it  has been checked or not .
    Regards
    Srinath

  • Assign sequential number for same records

    Please help in writing query for the below scenario
    Table                
    recordId
    Name
    date
    Abc-123
    Star
    23-09-2013
    Abc-123
    Neon
    17-09-2014
    Abc-123
    lap
    05-05-2014
    Xyz-789
    Note
    09-10-2013
    Xyz-789
    Sketch
    15-01-2014
    I must write query where the o/p would be like this
    Where same recordid  should be numbered sequentially ,and the sequence should start from beginning
     for the another record.only same recordid’s should be considered and numbered irrespective other fields
     in the tables
    O/p
    Numbering
    recordId
    Name
    date
    1
    Abc-123
    Star
    23-09-2013
    2
    Abc-123
    Neon
    17-09-2014
    3
    Abc-123
    lap
    05-05-2014
    1
    Xyz-789
    Note
    09-10-2013
    2
    Xyz-789
    Sketch
    15-01-2014

    thanks sofiya .. could you also  please  help in another requirement .
    recordId
    Name
    Abc-123
    Star
    Neon
    lap
    Xyz-789
    Note
    Sketch
    I want to get  to all the names associated with one recorded ..as shown in the above table.

  • Invoice Accounting doc related IDOC number

    Hi Gurus,
    Now that I'd like to know what's the idoc number for particular accounting document, I know I can get the idoc number one by one by simplely checking the [Relationship] button in FB03 on the topleft of the window.
    But now, I have about 4000 accounting documents, I need to retrieve idoc for them all.
    Do you know is there any table or program to trigger the idoc infomation for certain accounting document as a whole?
    Your answer is really appreciated!
    regards,
    Maximum

    Hi,
    Use T-Code WE09 (Idoc Search for business data)
    Give parameters same like you give in we02 for idoc search, but you will have a tab in the bottom - Criteria for search in data records - give the segment, field names: and the value. May be you find out the segment and field name for idoc for the accounting document, and then in value-give the accounting document number, or do an open search without giving an accounting document, and export the idoc result and then cross map with required accounting documents.
    Thanks
    Balla

  • Idoc number from sales order in ECC

    Hi,
    Sales order is created by processing an Idoc. Now i want to trace back the idoc number for the sales order created.
    Please let me how we can do this in ECC. I saw couple of posts stating ICON SERVICE FOR OBJECTS...i couldn't really identify that icon. In someother post i saw this can found under Environment.
    Please let me know whether there are any prerequisites for this, and how i can i achieve this in ECC?
    Thank You in Advacne
    Thank You
    Challa

    Hi Challa,
    To find which idoc created the sales order, you can do the following,
    Check for the customer PO no in the sales order.
    Then go to any other inbound idoc which is bound to create a sales order, and see in which segment is the PO number.
    Then go to WE09 and put the dates etc and then go to " Criteria for search in Data Records"
    Put the segement no in Search in segement field.
    Put the idoc field in which you see the PO number
    and put the PO no in the " for Value" field and execute.
    You will get the idoc which created the sales order.
    Let us know.
    Regards,
    SB

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

  • From PO Number to IDOC number

    Hi Everyone,
    i want a table where we can get the IDoc number for a partcular PO number. As in PO we have 2 Idocs,that is Inbound and Outbound Idocs.I need to find out the inbound Idocs.
    Regards
    Siva

    Hi,
    Go to -> SE16 for this identifying the PO and corresponding Idoc number using table name: EDID4
    To identify the PO you have to query the field (EDID4-SDATA) from this table. System will display the PO applications,PO number in first segment data.
    otherwise,In transaction code WE02 use to find the PO number.
    Regards,
    thiru

Maybe you are looking for

  • Driver Program for GRN Smartform

    Hi, Please tell me the Driver Program for GRN Smartform

  • Reoccuring Message. Won't let anything other than Safari open.

    Hello,  On our Toshiba Satellite L305D computer, the message " Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." This is weird considering it's showing up on the only profile

  • Env setup :built in DBMS_ERROR_TEXT failed

    I am trying to setup a new environment. My application server, repository and application database is on different servers. After setup, now when I try to start webform, application server starts jinitiator but instead of logging screen. I get a blan

  • Color LaserJet 2605dn reboots when attempting any report from LCD. Says Printing, then resets.

    HP Color LaserJet 2605dn reboots itself when attempting any report from LCD.  Says Printing, then resets with the green and amber light lit and the LCD screen says Hewlett-Packard.  If I try to send a print job to it from a computer, it says printing

  • Skipping a Column in SQL Loader

    Hi all, I have successfully used SQL*Loader in the example below. Data to Import: 1     Ahmed Baraka     1000     1.87     1-1-2000 2     John Rice     5000     2.4     10-5-1998 3     Emme Rak     2500     2.34      4     King Size     2700      5