How to edit Idoc data in inbound processing

Moved to correct forum by moderator
Hi All,
How to edit idoc data in inbound processing ? We have a custom FM in inbound scenario and requirement is to update a value in idoc, this value comes after certain processing in custom FM.
I tried editing it through
EDI_DOCUMENT_OPEN_FOR_EDIT
EDI_CHANGE_DATA_SEGMENTS
EDI_DOCUMENT_CLOSE_EDIT
but there is problem in this approach. By this procedure two idocs are created in system, one with original data and one with modified data. We want only one with modified data.
We do not want any direct database table updates.
Please provide appropriate solution.
Note : We are not changing status record. Please do not post replies related to status change
Edited by: Matt on Nov 19, 2008 2:24 PM

Hi,
You can edit the idoc by doing the following steps:-
1. Goto WE02 transaction and give the IDOC number and execute
2. Once the required IDOC gets retrieved then double on the text pad icon beside the segment which you wanted to change.
3. Select the Data Record at the top and click Display <-> Change option, which will enable you to change the data in that segment.
4. After doing the step 3 then click the save button to save your changes.
5. Then system will generate a new idoc number to store the actual data and your current idoc will hold the new data and the idoc will be in 69 status.
6. Execute the Program RC1_IDOC_SET_STATUS by giving your idoc number and status as 69 and new status 64 and remove the test flag
7. Then the IDOC will be in 64 status and you can reprocess the idoc with the help of the program RBDAPP01 by giving the idoc number.
The above is the entire process for editing the error idoc and reprocessing it again.
I hope I am clear and you understood the entire flow of editing and reprocessing an idoc.
Thanks,
Mahesh.

Similar Messages

  • Idoc verification in inbound process

    Hi,
    in outbound process.. the idoc posting is fine..
    mean.. the message : the data passed to port ok .
    it is sd to mm realated..(functional side)..
    question is .. how to see idoc status in the inbound process  ??
    regards,

    Hi,
        You can check the Idoc status using the transactions WE02 OR WE05.
    When the Inbound Idoc is created then the status will be 64(IDoc ready to be transferred to application) then after you process the Idoc then the status will change to 53(Application document posted).
    Thanks,
    Srinivas

  • How to Upload IDOCs data into BW

    Hi guys,
    I am working in a Retail project, In this project BW and BW-BPS is playing the main role.
    The scenario is like, Every small POS (point of sales) machine data comming to one central POS server. From this server the data is uploaded everyday into SAP R/3 and BW through IDOCs. With this IDOCs the aggregated data going to R/3 and non-aggregated data to BW i.e., like Article, Qty and price.
    can u suggest me how to get the data from IDOCs into BW server.
    A waiting ur kind reply.......
    Regards,
    rams

    Hi,
    First , thanks for your answer.
    Concerning the scope of my project, currently we just have a SAP system to be integrated into BW but in a few times we will get also other OLAP Tools to integrate in BW. Also my customer want to manage all the message processing with only one product if it's possible and currently he use SAP XI for it so that's why he want's to use XI between SAP and BW.
    If i understand weel your answer, i can use XI without defining XML file in BW I can use standard extractor so XI just transfert IDOC  receving from SAP to BW , it that right ?
    Thansk again.
    Best regards.
    Bertrand.

  • File to idocs - sequence of inbound processing

    Hi everybody,
    we have a file to (2) idocs scenario. In XI we map the received data of vendors into two idocs (adrmas and cremas). After building the idocs we send them in that sequence to the reveiver systems (recommended). The problem is that in the receiver system very often the idoc cremas wants to be processed before adrmas is ready. This leads to the error "vendor xy is blocked by user sapale". Especially for massprocessing I get a lot of these error-messages in bd87. As workaround I processed all the error-idocs by the report rbdmani2. (First step adrmas - second step cremas) But then I face missing data in some cases in table lfa1 - which seems to me that the sequence of 1. adrmas and 2. cremas was not correct processed.
    Is there a possibility for inbound processing with the rule process adrmas - wait until ready - process the associated cremas and so on?
    I checked the sap-help article for seralisation - but we could not achieve a better result by queing the outgoing messages in the xi.
    Thanks very much.
    With kind regards
    Jörg

    You have to get a solution based on the following concepts
    1. Do not use BPM it is not efficient
    2. Understand what is the difference between an IDOC in received state and processed state. Received state mean IDOC is saved into IDOC table. Processed state mean IDOC processed into the business system.
    3. You can ASK BASIS guy to turn on the immediate IDOC processing option in SAP system,so that SAP process the IDOC as soon as it arrive in IDOC table. This is not efficient, in case if your SAP system has to process SAP online client request and SAP document (inbound and outbound) same time.
    4. Understand the concept of standard based integration, mean integration system provide the option to business parties to provide the successfull message transfer.
    Based on all these points I recomend you to follow the steps below.
    1. Extract each record from the input files into two idocs.
    2. Send the first IDOC to the receiving system
    3. Send the second IDOC to a ESB storage such as DATABASE, JMS Queue, MQ Series Q (if you have available) or even to another File.
    4. Develop an RFC module to check the status of the IDOC being send to the receiving system. Status here mean whether the IDOC data processed into the business system. You can do this lookup using a custom RFC lookup using the attribute connecting the first IDOC record with second IDOC.
    5. Process the records (second IDOC) from the intermediate storage using the RFC lookup into the business system updates its status as ready to deliver.
    6. Using another process such as FILE to IDOC or JMS to IDOC or JDBC to IDOC send each record which are ready to process from intermediate storage to the receiving system.
    7. Create a report using FILE or JMS, JDBC adaptor module to keep track of these three stage processing, so that in case an inconsistency happed you will have an auditing trace available.
    This is the standard based integration approach.
    ABAP guys, BASIS guys they may not get it when then repair a BMW in local auto workshop, cuz I had to fight with them 4 years ago to make it happen in Verizon supply chain project where I had to accomplish the same concept in SAME IDOCS you mentioned here.
    BPM, turning on immediate processing of IDOCS etc will end up in buying another 16 CPU hardware and BASIS guys or ABAP guys running BAD record IDOC processing report for 350.00 hr consulting FEES.
    SAP is a good company and XI is a good product, as long as it is being used as per right usage.

  • IDOC DEBMDM and inbound process code

    Hi ya.
    Do you know if there is a standard inbound process code for IDOC DEBMDM in R3?
    Regards
    Agnieszka

    I can not make it working at the moment. I am getting message: IDOC_INPUT_DEBITOR_MDM called up.
    I can not find an error in my config at the moment.
    Function module IDOC_INPUT_DEBITOR_MDM is assigned to message type DEBMDM and IDOC DEBMDM06.
    Any clues ?

  • How to edit a data merge field in a 'header'?

    Hi All,
    I'm trying to figure out how to edit the green bar so I can replace <<Expertise>>-<<Expertise>> with a different field from my excel data source. I want to replace it with the Category field in the Data Merge box but I cannot seem to edit that green bar.
    Help! Thanks in advance,
    Mark

    Actually you were right, it was being inherited by the master page. And the 'live' page we were working on was unable to delete it. When I went to the master page, I deleted the << >> and it deleted it from the live page.
    Now when I put in the <<category>> on the master page, it shows on the live page. For some reason my data rows are not displaying multiple records to a page now (shows only 1 per page so I've got 117 pages!), but ill try to figure out what happened.
    Thanks!!

  • How to edit birth date of child in family sharing

    I've just added my daughter to my Family Sharing account and it doesnt have her birthdate correct, how can I edit the date to the correct birth date?

    I know its not a good idea to lie about children ages, but KIDS love iDevices, and as they are the Future how can we refuse them. Plus a lot of parents let they're KIDS use the Adults Apple ID. I have 2 daughters, and using Family sharing I can choose to accept or refuse Apps they try to download. I also lock down they're iDevices so they are not subjected to unsightly material.
    We are all in the incubation stage of the development of the handheld Devices, so some times you have to find a work around solution which works best for you. I am sure in the Future these small problems will have a solution. Plus my girls are teaching me more and more about the potential use of iDevices.
    After all, its all about Parents parenting they're KIDS. You teach them the "Green cross code' (how to cross a road safely), so it should be so that you Educate them to not to talk to strangers on the streets, or in the Virtual world. Teach them well and they will Learn.
    LOOKFACEHELP.

  • How to edit raw data?

    Is there a way to edit raw data in Oracle Sql Developer?
    For example, table has raw(3) column. How can I edit this column in grid?

    hi,
    You will have to delete the load entry from your data provider where it is getting loaded.If it is present in the Infoprivider it will not allow you to make changes.
    Delete the entry from the Infoprivider and then go ahead with the steps.
    hope it helps,
    regards,
    Parth.

  • How to read  input data of the process which running fine

    Hi Guys,
    How to read the recently completed BPEL PROCESSes input data ( input xml) .
    Please help me.
    Regards
    janardhan

    Some browsers behave differently, FireFox 2 generally works better than FireFox 3 and IE.
    If you select the process that has run from the BPEL console in the instances tab you can select Audit or Flow. Audit generally works best at seeing the XML being past to each activity but the flow is nice to follow graphically. The major issue with the flow is that some payloads are displayed as a URL link. In IE this sometimes doesn't work. If this is the case go to the same point in the Audit and the XML will be there. This is also a good place to copy and paste xml for documentation purposes.
    cheers
    James

  • How to edit the date in an event

    Help please, I uploaded some pictures into iphoto (I'm new to it). However they were uploaded and dated in an event automatically as 2004 and they are supposed to be 2009. Does anyone know how to change the date for events manually? I cannot figure it out. Thanks!!!

    Check your camera set up - the dates iPhoto use come from it
    to correct dates select the photo(s) you want to correct and adjust the time and date - iphoto menu ==> adjust date and time
    You may find the iPhoto tutorials worth watching - http://www.apple.com/findouthow/photos/ - as simple and intuitive as iPhoto is there is a learning curve and there are lots of features to learn
    LN

  • IDOCs - create new inbound process code   Error

    Hi
    Regarding Zprocess Code in WE42..
    Que-1
    I have already mainted in BD51 . then
    In we42 , When I provide the Zprocess Code and Enter , the following mesages/information I am getting-
    -> The ALE table is not yet maintained for process code ZPUR !
    -> For entry, access 'Function module for ALE-EDI inbound processing'
    Ques-2
    When I was proving OBJECT TYPE : blank  , I was getting the error as " APPLICATION OBJECT TYPE  is not planned ".
    Does it means to maintain anywhere..?
    Please help in this regard.
    Thanks
    Kalpesh

    Hi KALPESH,
    check the below things and try..
    Process code <give ur zprocess code>
    Description test
    Identification <give ur functionmodule>
    Option ALE
    click on radio button Processing with ALE service
    processing type
    click on radio button Processing by function module
    Now press enter button,now u will get transport request,create the transport request nad then u will get the information message
    'Function module for ALE-EDI inbound processing'.Now press enter ,
    u will get a new screen..now from the drop down list select ur zfucnction module..
    give the application object and press on save button..
    now ur zprocess code will be created.
    HOPE THIS HELPS

  • Edit Idoc data and reprocess..?

    I have created one inboubd idoc this idoc is failed..
       i want to change some data in the idoc and reprocess the idoc ..how can i do this..?

    Hi,
    You can right click on the Idoc and then open the same in edit mode.
    Also in the menu tabs, you will find an option EDIT AND REPROCESS.
    This way you can process the idoc and post the same with correct values.
    PS: Not infront of SAP system so not able to tell the exact path. But do some R&D you will get the same.
    Hope this wud be of help!!!
    Regards,
    Lalit Kabra

  • How to delete InfoCube data in a Process Chain with restictions?

    Hi Friends!
    My process chain is a full update in the cube 
    I need delete the data everyday except  the last day in the month.
    How can I do this in 7.0 release?
    Thanks!

    Hi,
    Please use the option Delete of overlapp requests process type
    Take the following conditions as :
    1) Only delete request from same DTP
    3) Only Full DTP
    3) Only Delete DTP requests from same souce
    Selections are
    Overlapping
    Request date
    Is in the current month
    based on the month
    Hope this helps out
    Thanks
    PT
    Edited by: PT on Feb 23, 2010 7:18 PM

  • IDoc Serialization for Inbound processing

    Hi Techies,
    I have a requirement of sending the IDocs from XI to SAP in the same order in which they were sent from the sender SAP system.
    i have a special constriant here which says "if the message get stuck in the Integration Engine (may be because of any runtime error) the messages sent after this message should not be processed.
    How can i achieve this, please help.
    Regards,
    Jeet

    Hi,
    This will help you..
    http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards,
    Sarvesh

  • How to edit line data in AL11 file

    Hi Friends,
    I am facing some problem for below requirement,
    we are uploading data into AL11 files into BW-ODS, but sometimes whiles loading they are facing with error data, now we are trying to edit the particular line, i am able to edit and am able to transferring into same file, but stil old line be there only,
    here how can we delete one line in AL11?
    we have one solution for this we can edit data in PSA first and later upload into target....but in PSA data is complete trucationg...
    That's why we are searching this type of solution..
    Please help me on this...
    I will appreciate your help...
    Regards,
    Sri

    Finally we got 1 solution, please find solution below:
    when we displaying output on screen we used write:/ ltext input on,,
    by with output will display in edit mode, after we change this data, we need to press save button( this save button will be created with PF STATUS), by at user command option, i used below lines if code to save what we edited on output screen.
      line_num = 1.  do a times.,   clear ltext2., READ LINE line_num FIELD VALUE ltext2., if sy-subrc eq 0.  condense ltext2.  concatenate  ltext1 ltext2 into ltext1.  line_num = line_num + 1.  clear ltext2. else.   exit.  endif. enddo.
    here why used 'a', usually in AL11 data line has more than 1000 chars, it is diffcult to display in reading manner on output screen,
    thats wht i splitted line data into some line, each line with 125 chars,
    suppose i have line with 400 chars, i splitted line into 4 lines, so we need to move DO with 4 times...
    after concatecated 4 lines into sinlge line again i transferred into AL11.
    ...This is the solution what we got,
    please share if other solutuon is there..
    And Thank you all of you who shared your thoughts ...
    Sri.
    Edited by: Sri on Nov 5, 2009 2:18 PM

Maybe you are looking for

  • Acces to cFolder from ME23N in ECC6

    Dear Sirs, in the additional data of ME23N on our ECC6 there is a button called "CFolders". Pressing that button the system shows the MEPO300 mesage beacause no customization is present for cFolder. I have putted in customizing one line in "Specify c

  • DBConsole problem

    Hi all, I've installed 10.2.0.1, upgraded to 10.2.0.4 on Windows 2003 32-bit server. Created database using dbca, I got Enterprise Manager error that it has to be run manually. I ran the below steps but it is not able to start the DBConsole for some

  • I can't select more one song

    I had to re-install windows7, now I am trying to get all of my songs back to itunes.  I can't create a playlist by selection more than one song. 

  • Funky Zoom Level

    The zoom level is set at 125 but keeps changing as I go to different screens.  It bounces to 1560 and I have to cycle it thru 100 and then 125.  It will not stay at 125 and  I cannot find a solution to the problem.  In fact when I ask for 'zoom level

  • XML file created by Library- Export

    In looking at the XML file created by Library->Export, there is a persistent ID for the library as a whole, and a persistent ID for each track. But there isn't a persistent ID for each CD. But it appears that there must be such an ID, because if you