Process the Idoc

Hi All,
I am doing some process through an ABAP program when an idoc status will be in the status of 64. Once i complete the process i wants to post the Idoc from the waiting status 64 in the program.Is there any function module available to post an Idoc from the waiting status?
Could you please let me know how to post the Idoc successfully in the ABAP program?
Thanks & Regards,
Navaneeth

Its depands on the requirement,  to process the Idoc for example you want to post the sales order
1 . Create a function module which reads input from the idoc and call some FM (bapi_salesorder_create) to create a sales order
2. Assign the function module to process code (WE42)
3. Assign the process code in the Partner profile
Include this message type and idoc type in the ale settings
than execute the tcode BD87 , the idoc will be posted
Regards
Sasi

Similar Messages

  • Desing requriment for processing the IDOC in real time

    hi Gurus,
    we have a requirement to design for processing the IDOC in real time i.e.all the IDOC must be store and process for give time line with out using BPPM tool.we have suggested to use cache storage or storing the files in file adapter.
    please suggested good process with out compromising the Performance of PI.
    regards
    shankar

    hi Raj,
    Please find the example below for your reference
    let say
    System A-->PI--
    >system B
    system A sends multiple files based on time(daily or weekly) and real time( as an when the record created) to systerm B (CRM) in the form of IDOC Via. PI
    we needs to club the real time files and send it to system B.How best we can do without using BPM.
    regards
    shankar

  • Splitter program for processing the IDOCS with status 64.

    Hello folks,
    I have a requirement explained below. I am looking for a sample code which could help me to jump start with initial development.
    Requirement:
    Develop a splitter program which retrieves all the IDCOS with status 64, create and schedule batch jobs with 200 IDOCS each. The splitter program with be scheduled every 15 min.
    Restrictions
    Only 150 batch jobs can be created at a time.
    Estimation
    There may be around 36000 IDOCS with status 64 every hour.

    Srinivas,
    Here is the explaination why we require a splitter program.
    Using RBDAPP01 parellel processing
    Let us assume there are 4 servers A, B, C and D in a server group. If we select RBDAPP01 parellel processing there will be too many RFC calls to the servergroup.
    (there are some more RFC calls later on for Order creation for example). As there is a restriction with number of RFC calls, we need to clear other RFC's before making new one. This is making complex and messy.
    Using RDBAPP01 serial processing
    For the volume of orders getting created each day, it takes a week to process those Idoca created in one day. Hence it is not a good solution.
    Splitter program
    We spawn 150 batch jobs with 200 records each. This way if we think it takes 20 min for each job to complete...by the end of 20th min we must had processed 30000 idocs.
    Hence it is the solution offered.
    Srinivas...still this confuses me..but if I am wrong anywhere please correct me.
    But your initial response has helped me a lot. Everything was blank to me, ur reply made it clear over the requirement.
    Thanks a lot,
    Naren

  • Error in processing the idoc

    hi,
    i modelled a idoc-jdbc scenario and relased an idoc from the r/3 system......but in the <b>message monitoring of the runtimework bench</b> i see an error....the details of the error are as follows
    <i>Service cannot be reached
    What has happened?
    URL http://hwsapxi:50000/sap/bc/gui/sap/its/webgui/! call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system XIS with error code 403 and for the reason Forbidden.
    The selected virtual host was 0. 
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:hwsapxi_XIS_00-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team</i>
    what does this mean.....
    also in <b>component monitoring of the rwb</b> i see another error for my sender component like following
    <i>You cannot log on to system TASL_MATERIAL_IDOC_SENDER with user XIRWBUSER
    Last Retry Tue Jan 31 13:46:33 IST 2006</i> 
    please help me..i am unable to understand this....
    thanks
    pavan

    Hi Anirbhan,
    thanx for ur reply
    i am not using any URL to end the message to XI..
    i am sending the idoc from the SAP R-3 system to the XI system
    And abt the URL that u gave, what is it used for..?
    please tell me abt it..
    <i>Thirdly, check the authorization of XIRWBUSER</i>
    How and where can i check it authorization
    also in the TCODE <b>IDX5</b> in the XI system i saw the following message for the failed idoc..
    <i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="XICACHE">UPDATE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>HTTP status code401 Unauthorized</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>An error occurred when refreshing the XI runtime cache</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    </i>
    please tell me where did i go wrong
    thanks
    pavan<i></i>

  • I need to process the IDOC

    Hi friends,
    I need to run the IDOCS was created with status 64, Can I do this?
    Which transaction can I do this??
    Thanks in advanced
    David
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Jan 29, 2010 12:37 PM

    Hi Keith
    in HCM you could use the Userexit EXIT_SAPLRHA0_006 in enhancement RHALE001.
    You can raise an exception
    IF sy-subrc = 4
    raise OBJECT_NOT_ACCEPTED
    else.
    endif.
    Regards
    Bernd

  • How to process the Received Idoc in SAP R/3 ? What to be done ?

    Hi All
    I am working for file to Idoc scenario.....
    Idoc received into SAP R/3 but how to process the Idoc data ?
    Such it will store in SAP R/3 DB.....
    Clearly
    How to Process the received idoc data into SAP R/3 ? (this is for inbound idoc)
    I hope any one can help me on the processing steps ?
    Waiting for valuable inputs form experts
    Regards
    Rakesh

    rakesh
    chec <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">Sample IDoc</a>
    normally, based on the idoc types it will get processed. if it is an idoc with master record it will create appropriate master records or if it based for a transaction it will create one.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098</a>

  • Parallel processing of the IDOCs through the program RBDAPP01

    Hello All,
    We are prcoessing the inbound IDOCS using the program RBDAPP01 by scheduling but this processing is taking lot of time to process the IDOCs.
    Please let me know how do we improove the performance of this program RBDAPP01 by making use of
    parallel processing of IDOCS?I read some documentation in this forum but not understand clearly.
    Please give some info regarding this who have already done this requirement earlier.
    Regards
    Mahesh

    Hi,
    Thanks a lot for your quick reply just by giving the package size it will initiate parallel processing?
    in our partner profiles we have setting to trigger through back ground only.
    How to use parallel processing tab in the selection screen of the program RBDAPP01?
    Regards
    Mahesh

  • Problem in processing incoming IDOC

    Hi All,
    I have a problem while processing Incoming IDOC in the system.
    While I try to process and FI IDOC (without purchase order) in the system, by giving the appropriate GL account and cost centre where the document should get posted to (in transaction WE19), I find that the system creates the IDOC successfully with status 53. However, it creates a parked document in the system for the vendor.
    When I try to post the document through transaction FBV0, the system asks for a cost centre. Can you please clarify, why the system is asking for a cost object though it is given in WE19 transaction. Ideally while processing the IDOC the system should post the document directly as it has all the relevant details in the IDOC right?
    (Just for info, I have given the GL account details in segment E1EDP19 with qualifier 002 and the cost centre in segment E1EDP30 with qualifier 045)
    Expecting your help in this regard.
    Regards
    Nagarajan N

    Hi
    You can use WE19 to debug the Idoc FM.
    Check this link if it is helpful:
    Debugging Idocs
    Regards
    Neha

  • Problems migrating data via LSMW using the IDoc method

    Hello everybody,
    I got a very strange problem migrating data via the LSMW. I tried to map legacy data using the IDoc mapping method. I'm using the message type 'CRMXIF_PARTNER_SAVE_M ' and the basic IDoc type 'CRMXIF_PARTNER_SAVE_M01'.
    I can read the import data and convert it to IDoc structure as well as generate the IDoc. When I start processing the IDoc afterwards I get always the same error messages which I don't understand...
    The errors are:
    1) Error status 'A ' calling validation service (Status 51)
    2) Validation error occurred: Module CRM_BUPA_MAIN_VAL , BDoc type BUPA_MAIN (Status 51)
    3) Error_Time Dependency_Addresses CHECK_TABLE_MISSING (Status 51)
    4) Internal error when calling operation module BUA_CHECK_ADDRESS_VALIDITY_ALL : Check table missing (Status 51)
    5) Address moves ignored in the case of time-independent systems (Status 51)
    6) Partner data processed with key PartnerGUID 4BF67ADE9B9923BEE10000000A3500DB (Status 51)
    7) Partner (4BF67ADE9B9923BEE10000000A3500DB ): the following errors occurred (Status 51)
    I tried to import the following data:
    external ID
    Name1
    Name2
    Address data
    Telephone data
    Fax data
    Website data
    Can anybody tell me where those errors come from and how I can fix them. Would be great if somebody could help me!
    Thank you and best regards,
    Markus

    so apparently my issue with this was setting the time zone in the Address to the time zone of the user doing the conversion. You can find the time zone in SU01.
    Also you can create a BP in the WebUI then check t-code SMW01 and it will help you on passing the values to CRMXIF_PARTNER_SAVE
    Edited by: Akeem Lockett on Jul 8, 2010 7:44 AM

  • Processing ABAP Idocs in SAP Java AS CE 7.1 web service client applicatin

    I am trying to build a Java web service client which would call a web service in a non-SAP system.  I am trying to send  Idocs from the back-end CRM system to my Java web service client using a Jco RFC Provider.  I have already created the RFC Destination on the ABAP side to send my Idocs to my Jco RFC Provider program on the Java side.  The connections between the ABAP and Java are working fine.  My question is how in my Java web service client do I pick up the IDoc sent from ABAP to the Jco RFC Provider? 
    Please let me know if more clearification is needed

    I do receive the IDoc with the SAP Java AS "RFC Jco Provider" component I created, and in my Java application I created a class for "IDOC_INBOUND_ASYNCHRONOUSBean" which has a method "processFunction(Function function)" and in that method I can do function.write("filename.xml") and it writes out an xml document of the Idoc sent from the ABAP server.  I can further process the Idoc by pulling field values from the xml structure.  However, my problem is I am now trying to write a second Java application to do the same thing but with a different Idoc type.  I created a a second RFC Jco provider(listener) on the server but the Idocs still flow through the first Java application, which is an undesirable affect.  I got this idea from this document originally "http://nwadave.com/NwadExplorer/data/SAPDoc/ProcessingIDocsWithTheSAPJavaConnector.doc", and it works fine until now when I'm trying to add a second application to do similar work.  This is makeing me wonder if I should have even done the first one this way?  Bottomline is what tell the RFC Jco provider(listener) on the Java server which application to send the Idocs too?

  • Inbound Processing of Idocs with status other than success

    Hi,
           I am new to ALE/Idocs. Can anyone  please let me know how can I process the Idocs which have the status other than 53.
    Thanks &  Regards,
    Indira

    Hi,
    In addition to the previous posts few more programs to process failed inbound IDocs are as mentioned below.
    - Use program RBDAGAIE to process edited IDocs (IDocs with status 69)
    - Use program RBDAPP01 to process IDocs failing with serialization issue (IDocs with status 66)
    - Use program RBDAGAI2 to process IDocs after ALE inbound error (IDocs with status 56, 61, 63, 65)
    ~ Bineah

  • The IDOC INBOUND function is locking an object

    Hi ,
           I have created a wrapper bapi around IDOC_INPUT_SHPMNT , this is because i need to change the shipment using a BDC. No the problem is that once the control comes out of IDOC_INPUT_SHPMNT the locks are still maintained on the shipment.Now is this beacuse i am using WE19 to test the program or will i have manually realease the lock from this. Any pointers with function modules will be helpful.

    IDOC_INPUT_SHPMNT  will be locking the shipment. The lock will not be released until the IDoc has finished processing.
    You could remove the lock yourself.
    Can you not use a user exit in IDOC_INPUT_SHPMNT to provide your solution instead of running a BDC yourself. If your BDC fails how will this error be reported back to the IDoc. You would then not be able to re-process the IDoc either.

  • LSMW Update Process with IDoc

    Hi Experts,
      We have an LSMW project to upload to create new activity in the CRM server and it has been working fine. Now we want to modify the project so that the existing data gets "updated" instead of creating a new activity.
    My question is..
    Is it possible to make data "updates" using LSMW.
    I tried adding more fields in  the existing project and now i get this error when i try to update. "Activity already exists in the system"
    I'd really appreciate your help and inputs.
    Thanks in advance
    Mani

    Hi Mani,
    I have gone through your query.
    When you use LSMW Idoc method to create the Activity with in the CRM system, you can definitely use the same project to update the Activity details as well. Follow the simple rules below.
    1. With the Basic type you have used to create Activity, in the rules for the segments change the task to Update.
    2. With this change done, for the segments you need to update the data, change and save them.
    3. After all these you can create and process the Idocs so that the activity details are updated.
    LSMW can be used to create, update and make changes with in permissible business objects. So definitely this update can be done. I hope this helps.
    Regards,
    Venkat

  • How we will process error IDOC s.

    Hi Experts,
    can any body tell me how we will process the idoc when we got the error.
    Thanks in advance.
    -Bhaskar.

    bhaskar rao wrote:
    Hi Experts,
    can any body tell me how we will process the idoc when we got the error.
    Thanks in advance.
    -Bhaskar.
    Hi,
    When an IDOC have some errors you need to set status for this IDOC by filling table IDOC_STATUS(           IDOC_STATUS                   STRUCTURE BDIDOCSTAT) and table RETURN_VARIABLES            (RETURN_VARIABLES              STRUCTURE BDWFRETVAR).
    code sample:
    LOOP AT IDOC_CONTRL.
      Set IDOC status
        CLEAR IDOC_STATUS.
        IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
        IF FLAG_ERROR_HAPPENED = C_FALSE.
          IDOC_STATUS-STATUS = '53'.       "OK!
    JH/02.02.98/4.0C  KPr100004993 (Anfang)
        Fill Return variables
          CLEAR RETURN_VARIABLES.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
          RETURN_VARIABLES-WF_PARAM = 'Processed_IDOCs'.
          APPEND RETURN_VARIABLES.
        Verknüpfungseintrag anlegen
          READ TABLE T_IDOC_MATNR WITH KEY DOCNUM = IDOC_CONTRL-DOCNUM
                                  BINARY SEARCH.
          IF SY-SUBRC = 0.
            RETURN_VARIABLES-DOC_NUMBER = T_IDOC_MATNR-MATNR.
            RETURN_VARIABLES-WF_PARAM = 'Appl_Objects'.
            APPEND RETURN_VARIABLES.
          ENDIF.
    JH/02.02.98/4.0C  KPr100004993 (Ende)
        ELSE.
          IDOC_STATUS-MSGID = I_MERRDAT-MSGID.
          IDOC_STATUS-MSGTY = I_MERRDAT-MSGTY.
          IDOC_STATUS-MSGNO = I_MERRDAT-MSGNO.
          IDOC_STATUS-MSGV1 = I_MERRDAT-MSGV1.
          IDOC_STATUS-MSGV2 = I_MERRDAT-MSGV2.
          IDOC_STATUS-MSGV3 = I_MERRDAT-MSGV3.
          IDOC_STATUS-MSGV4 = I_MERRDAT-MSGV4.
          IDOC_STATUS-STATUS = '51'.       "ERROR!
        Fill Return variables
          CLEAR RETURN_VARIABLES.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
        return_variables-wf_param = c_wf_par_processed_idocs.
          RETURN_VARIABLES-WF_PARAM = 'Error_IDOCs'.
          APPEND RETURN_VARIABLES.
          WORKFLOW_RESULT = 99999.
        ENDIF.
        APPEND IDOC_STATUS.
      ENDLOOP.
    Regards,
    Gy

  • How to procees the idoc

    Hi,
        I have process the idoc in BD87..It shown an error of 51..
    Now again i want to process the idoc means what i want to do
    Which t.code i want to go

    Hi Mahesh,
    If you configured the system well then in the inbound system you have to get a message 53-application document posted.if you are getting a message 51-application document not posted there may be errors.
    for example i have plant 100 in outbound and i created a material for that plant.then i sent it to receiver system.to post the idoc successfully in the inbound system there must be a plant 100.if it is not there the application document will never be posted until u create the plant 100 in inbound.
    so check why the status is 51.if there is no error then go to we19 and then select the idoc and assign the functional module and then execute.
    if you tell me the message type i will let u know which fm u have to use.
    rewards points if helpful.

Maybe you are looking for

  • Valuation using material cost estimate

    Ciao a tutti, We have create a material cost estimate without standard structure(unit costing) not FOR ALL MATERIALS, but only for ONE VARIANT of generic material (retail solution) (because the other variant have the same price, and because we have t

  • Receiver mail adapter configuration for e-mail attachments

    Hi , I need to send two files from sender file adapter to receiver mail adapter as e mail attachment. I want same attachment name in email as on sender side on FTP location. This is by pass scenario no object created in ESR.Please suggest how to hand

  • Alternative Text for images

    Hello! I would like to know How to add alternative text to the images in Oracle Portal. And also to each area in an image map. I have tried with ALT="name" but it doesn't works. Thanks, Carmen

  • Unexpected error compiling the runtime metadata for Split-Join.

    Hi Everyone, We are getting below error while restarting the managed servers on Weblogic. We are having 6 managed servers in our cluster. In one of the application in OSB10.3, we are using SplitJoin to call third party webservices. The application is

  • Error "svr.unknown" in Folio Builder panel

    We are unable to log in to the Folio Builder. We tried all of the suggestions here - http://kb2.adobe.com/cps/915/cpsid_91536.html - and nothing worked. Is there an error on Adobes end?