Editing Inbound IDoc and store it in an Ztable

Hi
I need to Edit an inbound IDoc(IDOcs through mail or XI) and store the details in an Ztable depends upon the message type (eg UTILMD).plz help me with step by step process
thanks in advance
shibu

for idoc stpes check this:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

Similar Messages

  • Problem with processing edited inbound idoc

    hi
    i am editing an inbound idoc as a result it goes to status 69.
    Then to process this IDoc through program 'RBDAPP01', i am changing the status of the idoc to 64 through IDOC_STATUS_WRITE_TO_DATABASE'.
    But after that when i am calling transaction for RBDAPP01 passing the idoc number it gives me a message 'IDoc is still being processed' and the status is 64.
    Any help on the same is highly appreciated.
    Thanks.

    Hi Anand,
    If you have custom program written, please add FM <b>DEQUEUE_ALL</b> at the end of FM IDOC_STATUS_WRITE_TO_DATABASE. This will prevent overflow of the lock table for large number of IDOCs prior to call program RBDAPP01.
    If you run manually via SE37, please ensure you are completely out from FM IDOC_STATUS_WRITE_TO_DATABASE. Then you can run program RBDAPP01. Please use program RC1_IDOC_SET_STATUS to convert IDoc status.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward point if helpful

  • How to create inbound idoc and FM

    Dear All,
    How to create custom inbound idoc, the program and FM.
    Can anyone send me step by step process to create it, steps in FM and Coding.
    I have created for outbound and its working fine.
    Plz reply ASAP.
    Regards,
    Arun.

    Hi Arun,
    1) Create segment (WE31)
    2) Create IDOC Types (WE30)
    3) Create message type (WE81)
    4) Link message type with basic type (WE82)
    5) Create FM (SE37)
         here in the source code part of the function module you have to loop into the data records table of the idoc. then loop into the status recod table  to update the status of the idoc(Posted/Postedwitherrors/errors).
    6) Create Process Code (Inbound - WE41/ Outbound - WE42)
    7) Link FM and process code (WE57)
    go to WE19 to test it.
    Edited by: Chinna guntur on Sep 2, 2008 9:17 AM

  • Inbound idoc and business object

    Hi
    1)please provide the code for inbound idoc function module.
    my idoc tye contains one segment(s) contains three fields (for ex x , y, z.)
    compare segment (s) fields  x.y  data with databasetable fields (x,y)data.
    if sy-sbub rc =0 idoc is posted other wise it is not posted.
    please provide code for this (with perfom staments.)
    here x is vendor no and  y is invoice no
    2)for businees object
    the records are found after comparing the data of idoc and database table
    the vendor invoice(y) file atached to the fb60 transaction code for this i need business object?

    Hi
    1)please provide the code for inbound idoc function module.
    my idoc tye contains one segment(s) contains three fields (for ex x , y, z.)
    compare segment (s) fields  x.y  data with databasetable fields (x,y)data.
    if sy-sbub rc =0 idoc is posted other wise it is not posted.
    please provide code for this (with perfom staments.)
    here x is vendor no and  y is invoice no
    2)for businees object
    the records are found after comparing the data of idoc and database table
    the vendor invoice(y) file atached to the fb60 transaction code for this i need business object?

  • How do I get picture in picture video + moving animation? + How do edit a clip and store the edit in the library?

    How can I have picture in picture video
    I want to take one video, make it smaller and then have it play on top of another video
    + How do I control its precise position?
    How do I trim and edit a clip and save that clip?
    I've been through the manual, I'm sure I read it, but cant remember
    How do I have sliding in graphics for me video?
    After xx seconds on my video, I wanted a thin strip to slide accross the bottom of the video half way
    Then I wanted 4 graphics to slide onto this white line
    How do I do this?
    Thanks
    Omar

    For the first question: place one video on top of the other, as a connected clip. Change the size and position as you wish.
    You have many questions that suggest you are very unfamiliar with the application. I think you'd be well served by going through a few online tutorials. All the things you ask are easy and fun to do in FCP X. It is best to learn by seeing it done. Look at rippletraining.com, izzyvideo.com, and others. I am sure you'll find that it will be time well spent.

  • How to extract data from idocs and store to target

    I recently started on BODS project, i am really not sure how does teh idocs work.
    Is the sap r3 produces Idocs and the bods need to perform the ETL on idocs? or is it the otherway?
    Thank you very much for the helpful info.
    Kind regards.

    hi,
    Not sure if this helps but give a try
    you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
    or
    below are steps
    1. In EASPATH\console, open components.xml in a text editor.
    2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
    3. Save and close the file.
    4. In EASPATH\console\bin, open admincon.lax in a text editor.
    5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
    6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
    7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
    8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
    9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
    let me know if it works :)

  • How to edit inbound idoc with data errors in multiple segments and reproces

    Hi friends,
    i have a requirement for error handling of inbound sales order(ORDERS04) without using WORKFLOW and WE19.
    i have seen some function modules like edic_* ..
    but my doubt is how to edit the error data(how can i identify the particular error fileds in the segments)and how to reprocess the same idoc.
    Please help me...
    Thanks in advance

    Hi Narasimh,
    Please find the following steps to edit IDOC segment after you find the error using WE02.
    The example codes can be found in website 
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    STEP 1 - Open document to edit
    CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
           EXPORTING
                document_number               = t_docnum
           IMPORTING
                idoc_control                  = itab_edidc
           TABLES
                idoc_data                     = itab_edidd
           EXCEPTIONS
                document_foreign_lock         = 1
                document_not_exist            = 2
                document_not_open             = 3
                status_is_unable_for_changing = 4
                OTHERS                        = 5.
    STEP 2 - Loop at itab_edidd and change data
    LOOP AT itab_edidd WHERE segnam = 'E1EDKA1'.
      e1edka1 = itab_edidd-sdata.
      IF e1edka1-parvw = 'LF'.
        e1edka1-partn = t_eikto.
        itab_edidd-sdata = e1edka1.
        MODIFY itab_edidd.
        EXIT.
      ENDIF.
    ENDLOOP.
    STEP 3 - Change data segments
    CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
               TABLES
                    idoc_changed_data_range = itab_edidd
               EXCEPTIONS
                    idoc_not_open           = 1
                    data_record_not_exist   = 2
                     OTHERS                  = 3.
    STEP 3a - Change control record
    CALL FUNCTION 'EDI_CHANGE_CONTROL_RECORD'
           EXPORTING
                idoc_changed_control         = itab_edidc
           EXCEPTIONS
                idoc_not_open                = 1
                direction_change_not_allowed = 2
                OTHERS                       = 3.
    STEP 4 - Close Idoc
    Update IDoc status
    CLEAR t_itab_edids40.
      t_itab_edids40-docnum      = t_docnum.
      t_itab_edids40-status      = '51'.
      t_itab_edids40-repid       = sy-repid.
      t_itab_edids40-tabnam      = 'EDI_DS'.
      t_itab_edids40-mandt       = sy-mandt.
      t_itab_edids40-stamqu      = 'SAP'.
      t_itab_edids40-stamid      = 'B1'.
      t_itab_edids40-stamno      = '999'.
      t_itab_edids40-stapa1      = 'Sold to changed to '.
      t_itab_edids40-stapa2      = t_new_kunnr.
      t_itab_edids40-logdat      = sy-datum.
      t_itab_edids40-logtim      = sy-uzeit.
      APPEND t_itab_edids40.
      CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
           EXPORTING
                document_number  = t_docnum
                do_commit        = 'X'
                do_update        = 'X'
                write_all_status = 'X'
           TABLES
                status_records   = t_itab_edids40
           EXCEPTIONS
                idoc_not_open    = 1
                db_error         = 2
                OTHERS           = 3.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Inbound IDOC process error

    Hi
    While an Inbound is being processed it is not behaving as per the design and if the same type of idoc is reprocessed through BD87 is it behaving as per the design.
    In detail, the idoc will create a purchase order based on reservation number in R/3 and the quantity needs to be checked against the availability. If the quantity is more in the idoc counting all line items of idoc segments it should not be posted giving that the quantity is not available. If it is automated it is not checking, but while testing on creation of an inbound idoc and reprocessed the validation is happenning.
    So, please help me in understanding as why the idoc is not getting validated when it is automated ans whne it is reprocessed through BD87 it is getting validated.
    Thanks
    Shankar

    Hi Shankar,
    how do you notice that your code is not executed.
    Usually I would say it should.
    Therefore I recommended to implement an infinite loop to make sure that it is really not executed.
    By the way...where did you implement your coding?
    Best regards,
    Oliver
    Edited by: Oliver Hütköper on Aug 12, 2011 8:45 AM

  • How to manullay edit an IDOC

    Consider i am doing an file to IDOC,where there is an error...
    How to manullay edit an IDOC in BD84...is ther a blog or step by step doc for this...
    In bd87..where to edit the idoc and send it....

    Hi PSRK,
       Ok lets talk about an example.
    An inbound Orders Idoc comes in.
    There will be an inbound idoc processing function moule which gets triggered when an idoc comes in.
    In sales order creation, the material number sent by the customer is called customer material number.
    There should be some link in the backend system between our material number and customer material number. That link is maintained in a table called KNMT.
    when the idoc comes for the first time, assume that the link is not maitained in KNMT table. It gets errored out.
    Later we found the issue and maitained the link in KNMT.
    If we now reprocess the idoc using BD84 or BD87, it will get sucessfully posted as an application document.
    Hope it made some sense.
    Please revert in case of any further explanation.
    Regards,
    Ravi kanth talagana
    Regards,
    Ravi Kanth Talagana

  • How to create Inbound Idocs in a ABAP program? Any function Module?

    Hello Experts,
    My requirement is : I have sales order data which I extracted from third party system in my internal tables. In the same box I need to create inbound Idocs and then consequently create sales orders.
    I have used the function module IDOC_INBOUND_WRITE_TO_DB to create inbound Idocs from Sales Orders data in internal tables. I have populated all the data records with correct PSGNUM and HLEVEL values. My plan is to create inbound idocs with this function module and send those to IDOC_INPUT_ORDERS function module which creates Sales Orders.
    If a sales order in the internal table in ABAP program contains only one item, then I am getting correct idocs. But if more than one item exists for a sales order then the line item segments which got repeated in Idoc are having PSGNUM and HLEVEL values as zero when I checked in WE02. As a result the hierarchy from the second item segment is getting disturbed and getting the status 60.
    I populated T_EDIDD with data records from  IDOC_INBOUND_WRITE_TO_DB.
    To the function module IDOC_INPUT_ORDERS,  T_EDIDC and T_EDIDD are the input. I observed that in T_EDIDD also the PSGNUM and HLEVEL values are blank.
    I am getting Status 60 with message 'EDI: Syntax error in IDoc (segment cannot be identified)' for idocs which have more than one item.
    I need to extract sales data from third party and create inbound idocs and create sales orders in one ABAP program only. I need to display corresponding Idoc numbers for the corresponding third party sales order number in a listoutput.
    Can anybody please provide inputs?
    Regards.

    Hi Anjali,
    Thanks for the response.
    I have passed the PSGNUM and HLEVEL values while populating the data records. Then I sent the data records and control record information to the function module IDOC_INBOUND_WRITE_TO_DB. Inside this function module there is code to clear the PSGNUM values and HLEVEL values.
    for compatibility: clear administration data of data records
               perform data_records_wipe
                                      tables
                                          t_data_records.
    FORM DATA_RECORDS_WIPE
                      TABLES
                          T_DATA_RECORDS_IN  STRUCTURE EDIDD.
      LOOP AT  T_DATA_RECORDS_IN.
        CLEAR: T_DATA_RECORDS_IN-MANDT,
               T_DATA_RECORDS_IN-DOCNUM,
               T_DATA_RECORDS_IN-SEGNUM,
               T_DATA_RECORDS_IN-PSGNUM,
               T_DATA_RECORDS_IN-HLEVEL.
        modify t_data_records_in.
      ENDLOOP.
    ENDFORM.                               " DATA_RECORDS_WIPE
    This is the code which is clearing all the PSGNUM and HLEVEL values. After coming out of this function module we are getting the error idocs created with disturbed hierarchy.
    I need to create INBOUND Idocs with the data in ABAP program.
    Please let me know if any inputs? Is there any function module existing to create Inbound Idocs inside an ABAP program?
    Regards

  • Standard Idoc and Report

    Hi Friends-
    Can anybody share with me the list of  Standard  Inbound Idocs and the standard Reports / FM  to upload HR infotype.
    pls make note that this is inbound and not outbound
    Points will be there for sure .
    Regards
    Meeta

    Hello,
           These are some of the IDoc Type which are used in HR Module.
    HRMASTER02
    HRMD_A07
    HRMD_ABA05
    HRMD_B04
    HRMD_WFM
    HROTIN
    HROT_BRM
    HROT_CAP
    HROT_USTP
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Inbound idocs segment fields

    Hi,
    Iam new to idocs and a functional consultant. I need to know whenever we receive the inbound idocs and if i see the segments of the inbound idoc, do the fields which i see in the segments are the sap fields.????/ for instance if the inbound idoc needs to create a sales order, then the fields of the segments of such an inbound idoc are the normal sap sales order fields ??
    do i need to give functional specs to the abapers that whenever the inbound idocs is received the segments fields need to be mapped to sales order fields if such an idoc needs to create a sales order ??
    regards
    sachin

    Hi Sachin,
    Most of the IDoc segment fields are simmilar to SAP transaction fields e.g. most of the ORDERS IDoc segment fields will be simmilar to what you can see in VA01/VA02 screen fields.
    Some fields may have different names.
    In the case of few segments which may repeate in IDoc with different qualifiers (such as partner details, date segments), fields will be same but different qualifier value decides where these field values will be populated in the Order.
    If you are using standard function module to create Order, it will take care of mapping IDoc segment fields to VA01/VA02 screen fields. But if it is a Z function module, then you need to specify the mapping.
    Hope this information will help you.
    Regards,
    Mahesh Pakhale

  • Send inbound IDOC as outbound(copy)

    Hi,
    We need to send the same inbound IDOC as outbound IDOC to the customer(they want to get a copy of it) How can we do this? We are getting inbound sales order IDOC's and the customer wants the copy of the same IDOC, not order acknowledgement. Is it possible?
    Any inputs are greatly appreciated.
    Sarita

    I can think of following:
    You create your own Process code, Function Module to update your data using Inbound IDOC and at the end generate outbound IDOC using same data and then distribute using MASTER_IDOC_DISTRIBUTE.

  • Idoc  and  EDI  for FI

    Hi all,
                 Can anyoune help me out with the topics.
    Idoc and EDI and how this are related to  FI.
    I was looking for some scenario.
    How to process inbound idoc and outbound idoc.
    Thanks advance for help.
    Regards,
    sha

    Idocs can be triggered internally by standard coding logic. It can also be triggered by output.
    For idocs in delivery processing:
    http://help.sap.com/saphelp_erp60/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm
    LE-SHp -> printing and communication -> Delivery interface. (here these idocs are generated by output).

  • How to create an inbound Idoc from an inbound IDoc in same client

    How to create an inbound Idoc from an inbound IDoc in same client
    Idoc will come from XI as an inbound idoc to SAP, now I have to read this inbound Idoc and split it into Several Inbound Idocs and now needs to be posted in the same client.
    please let me know the procedure..
    Thanks in advance,
    Sagar

    Hi Sagar,
    Develop a cusom Z-Inbound function module, configure the Z-FM to trigger when idoc is recieved from XI. In your Z-Inbound function module split the idoc (Recieved from XI)  into respective Idocs and Using MASTER_IDOC_DISTRIBUTE post the IDOCs into the same system.
    Thanks & Regards

Maybe you are looking for

  • 5800 Problem with Ovi Store and Facebook - HELP PL...

    I have had my 5800 for about 4 weeks now and had a great time using Facebook and downloading stuff from the Ovi Store when suddenly my problem appeared.  When I try and log on to the Ovi Store it says at the bottom "you are logged in as Purpledwarfy

  • Reading masterdata of attribute in BI 7.0

    Hello Gurus I have the following situation: I am creating a transformation from an ODS to the Cube. I have an InfoObject in the cube which should be populated based on the value of another InfoObject in the ODS (which is a navigation attribute of ano

  • Settings not saved on Exit (iTunes 7)

    I'm loving every new feature of iTunes 7 - I've found a small nuisance though: settings chosen upon startup are not being saved upon exit. Every time I start iTunes I get those same questions(do you want iTunes to manage your songs, etc...), and all

  • MSI 915p Thoughts & ram questions

    Hi All,          I'm thinking of buying one of  MSI 915P neo2 Platinum motherboards, but i have a couple of questions. Firstly i'm having dificulty finding reviews for this mobo, so i've come here to see what you think of it (unbiased of course). Sec

  • SAP NetWeaver 7.0 (2004s) Trial Version Java download issue

    The SAP NetWeaver 7.0 (2004s) Trial Version - Full Java Edition does not download even with using Internet Download Manager. I have also tried downloading using other download managers but no luck. Those who have downloaded previously please try down