Running 3 BDC in an inbound idoc

Data comes to inbound idoc and iam running 3 BDC's . but this is taking more time to execute. is i need to write something after each call transaction code.

Check for performance improvement which can be done for selecting data for executing BDC.
if there is any data selection..see if that execution time can be minimised.
Thanks.

Similar Messages

  • Help in inbound idoc posting using bdc

    Hi,
    We are facing a problem during integration testing to post inbound idocs.
    The scenario is :
    A custom FM is written to process the inbound idocs, which does the following processes in sequence.
    1. BAPI used to create Goods Receipt
    2. BDC used to create Delivery using VL01N
    3. BDC used to create Handling Unit using VL02N
    4. BDC used to create Post Goods Issue using VL02N
    The VL01N creates a deivery, and using that delivery BDC calls VL02N to create HU.
    In unit testing the idocs are success, but when multiple idocs are used in integration testing, all fails either during delivery creation or HU creation.
    The error message we often get when HU is failed is  : "Runtime error RAISE_EXCEPTION has occured ".
    We have also incorporated a commit work and wait of 5 seconds after each BDC to avoid locking problem if any.
    The partner profile is set to ' trigger by background program'.
    Standard program RBDAPP01 is scheduled to collect the IDocs in status 64 and then to be processed.
    The package size used is 1,  inorder to process idocs one by one to avoid locking.
    Should any object type be given in RBDAPP01 ?
    If so, is it required to maintain any record for that object type in table TBD55 to process idocs serially in RBDAPP01 ?
    Any help in this regard is appreciated.
    Thanks in advance
    Regards
    Meena George

    Refer these links and see if they are useful:
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a66c9507d11d18ee90000e8366fc2/content.htm
    Regards,
    Ravi

  • BDC and Inbound IDoc

    Hi
    I need your help to guide me for inbound Idoc process,
    in my porject client is sending data with standard idoc and PI is middleware converting into file and sending to us then am using BDC and uploading data,
    but now client asking why i cant use Idoc only ( standard or custom )  to upload data   why BDC ?
    here i need your help to understand how much extra  effort i need to put if i use  idoc and how to use inbound idoc process ? am new to this. 
    points will be there for sure
    Thanks
    Palak

    Hi ,
    For the inbound IDOC , u refer this ..Every thing for the inbound will start with
    IDOC_INPUT* .
    search based one we have so many inbound idoc's in SAP...
    For the programming we need to consider that these tables..
    EDIDD, EDIDC .
    loop at control table.
    loop at edidd.
       write the logic here...(required logic)
      endloop.
    endloop.
    after that we need to send the IDOC status to the application layer.
    Regards,
    Bharani

  • Problem with user exit EXIT_SAPLIEDI_001 for Inbound Idocs in replacing G/L

    Hello all,
    I am currently facing an issue where my IDOC where exit EXIT_SAPLIEDI_001 is not appearing to work properly.
    Basically I am using the FM that processes the inbound idoc (IDOC_INPUT_INVOIC_FI) to post an accounting document. We needed a solution where we need to substitute one of the G/L Accounts.
    The current process in our SAP system is that we are creating a billing document which automatically generates the output type (running: program rsnasted subroutine edi_processing) to create and process the inbound idoc. 
    So I discovered FM EXIT_SAPLIEDI_001 which exports company code and G/L Account back does this.
    In this exit, Since I needed to get data from the IDOC, I used the logic ASSIGN: ('(SAPLIEDI)IDOC_DATA[]') TO <fs_edidd> to get the DATA Records for further processing.
    During the development and testing phase in the Sandbox system this works.
    However when we moved this to production we encountered a situation where the G/L account was not being substituted so were assuming EXIT_SAPLIEDI_001 is not working properly. However when I reprocess this in production either by running the idoc with errors RBDMANI2 or BD87 the IDOC is properly posted and the G/L Account is substituted as well as if I try to repeat the output type of the billing document. So there are instances when in the actual business scenario it does not work except when I reprocess it.
    I was wondering if there are any ideas why this could have happened?
    Oh ... I  also noticed when we transported the objects of the exit. When I try to double click the subroutine I made inside the exit it said the object does not exist. I had to generate the function group of FM EXIT_SAPLIEDI_001 in SE80 in production for it to reflect. I was wondering if this could have caused the issue.
    Well I hope to hear from you.
    Regards
    Edited by: Rob Burbank on Dec 6, 2011 1:03 PM

    Hi,
    Check in t.code CMOD whether project is active or not (Activate the Project)
    BR,
    Vijay

  • Issue while inserting a BDC program in Inbound Proxy.JDBC-- PI-- SAP.

    The scenerio is jdbcsender-sappi-inboundproxy(ECC6.0).
    The issue is related to SAP Plant Maintenance Module where  We have a requirement for creating Maintenance item
    programmatically from (SQLDatabase)Legacy Data for one of the interface.
    since there are no standard BAPIS/Idocs or function modules available from SAP side for creating the maintenance item. So I
    have written BDC program and with the help of submit statement in inbound proxy program, I am calling BDC program for
    creation of the maintenance item.
    When I tested the program independently on proxy side  the Maintenance Item is getting created successfully but when I
    executed from end-to-end ie.  SQLDATABASE->SAP PI-->SAP. The message is getting strucked into the queue and queue  got stopped on SAP.
    ECC side and the status of the message is scheduled state  on SXMB_MONI  transaction of SAP ECC.
    As the message  is in scheduled state multiple number of Maintenance Items are getting created with the same values.
    Has any one of our SAP friends, encountered this type of issue while inserting a BDC program in inbound proxy, please help 
    in fixing this issue. FYI... I am using sap pi7.0 with service pack 24 and ecc6.0
    Waiting for your kind expert guidance...
    cheers,
    Ram

    Raj,
    Thanks for the reply. I have tried registering the queues but still the same problem. the message got stuck in the queue of ECC and showing below message in queue.
    function module                                    StatusText
    SXMS_ASYNC_EXEC                  connection closed (no data)
    I have checked in the forums especially  for this issue but no one has provided the answer for this.
    Thanks and Regards
    Ram

  • B1358 error while posting inbound idoc with a FM

    Hi
    We are trying to post and inbound IDOC with the help of an rfc and eventually creating an invoice from a bdc wrapped in the RFC
    The idocs are successfully pushed to R/3 while they are not getting posted and the error code in we02 is as follows
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.
    Note: we are using a custom function module
    regards
    krishna

    Hi Krishna,
    I assume that your function module processing the IDOC does not follow the ALE/IDOC processing rules.
    Please check out the programming guidelines in the SAP Online Help under:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/78/21758051ce11d189570000e829fbbd/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/78/21758051ce11d189570000e829fbbd/frameset.htm</a>
    Important are the parameters and tables that need to be returned, containing the correct IDOC processing status. Please take the IDOC processing quite serious in regards to complete Logical Unit of Works.
    Best regards,
    SIlvia

  • Urgent help required : Batch processing error of an inbound idoc

    hi,
       i have a problem while posting an idoc to the GL(FB01).
    i'm using an Inbound idoc message type : ACC_GL_POSTING
    idoc type : ACC_GL_POSTING01.
    Process code : BAPI.
    In the transaction code OBA7 i have enabled a particular document type as BATCH INPUT ONLY.
    i have set the option " Trigger by background program" in the partner profile (we20).
    while testing the process i'm getting the error "Document type -- is only defined for batch input".
    how can i overcome this error? can idocs be used to post for transaction that are batch enabled . plz help me.
    with regards.
    T.Jeyagopi.

    Jeyagopi,
    There are different types of Data loading into SAP.
    BATCH INPUT / BDC / IDOC / BAPI etc. BATCH INPUT are standard programs that take the data and update SAP. I don't think that is same as batch processing of IDOC.
    You might want to remove the setting of batch input, retain the batch processing in WE20 and try it out.
    In my opinion it should work.
    Regards,
    Ravi
    Note : Please reward points for the posts that help you.

  • Inbound idoc for orders05 to create sales order

    Hi all,
    I am creating a sales order through idoc (ORDERS05). I am getting a flat file, which is being converted into idoc from XI side and i need to add certain things and validate inside the function module IDOC_INPUT_OREDERS. I am using the exit call customer function '002' (EXIT_SAPLVEDA_002)  in it.
    My confusion is regarding the population of control records. If some validation fails, i need to set current status as 51. Which field i need to update in this exit in order to achieve this. What are the other control fields that i need to update for an inbound idoc please specify.
    Also, i have another doubt, what is the use of DXBDCDATA in that exit. Do i need to do any BDC related work in inbound idocs.
    I am new to inbound idoc scenario. But havn't found enough tutorial related to standard idoc generation..
    thanks

    Hi,
    I think, you should fill the validation errors in EXIT_SAPLVEDA_011 (SD EDI Incoming Orders: Final Processing of Internal Error Tables) which subsequently update the status records of IDOC.  Check line NO 56 of function module "IDOC_INPUT_ORDERS".
    Regards
    Vinod

  • Help required in posting inbound idocs

    Hi,
    We are facing a problem during integration testing to post inbound idocs.
    The scenario is :
    A custom FM is written to process the inbound idocs, which does the following processes in sequence.
    1. BAPI used to create Goods Receipt
    2. BDC used to create Delivery using VL01N
    3. BDC used to create Handling Unit using VL02N
    4. BDC used to create Post Goods Issue using VL02N
    The VL01N creates a deivery, and using that delivery BDC calls VL02N to create HU.
    In unit testing the idocs are success, but when multiple idocs are used in integration testing, all fails either during delivery creation or HU creation.
    The error message we often get when HU is failed is  : "Runtime error RAISE_EXCEPTION has occured ".
    We have also incorporated a commit work and wait of 5 seconds after each BDC to avoid locking problem if any.
    The partner profile is set to ' trigger by background program'.
    Standard program RBDAPP01 is scheduled to collect the IDocs in status 64 and then to be processed.
    The package size used is 1,  inorder to process idocs one by one to avoid locking.
    Should any object type be given in RBDAPP01 ?
    If so, is it required to maintain any record for that object type in table TBD55 to process idocs serially in RBDAPP01 ?
    Any help in this regard is appreciated.
    Thanks in advance
    Regards
    Meena George

    Hi,
    We are facing a problem during integration testing to post inbound idocs.
    The scenario is :
    A custom FM is written to process the inbound idocs, which does the following processes in sequence.
    1. BAPI used to create Goods Receipt
    2. BDC used to create Delivery using VL01N
    3. BDC used to create Handling Unit using VL02N
    4. BDC used to create Post Goods Issue using VL02N
    The VL01N creates a deivery, and using that delivery BDC calls VL02N to create HU.
    In unit testing the idocs are success, but when multiple idocs are used in integration testing, all fails either during delivery creation or HU creation.
    The error message we often get when HU is failed is  : "Runtime error RAISE_EXCEPTION has occured ".
    We have also incorporated a commit work and wait of 5 seconds after each BDC to avoid locking problem if any.
    The partner profile is set to ' trigger by background program'.
    Standard program RBDAPP01 is scheduled to collect the IDocs in status 64 and then to be processed.
    The package size used is 1,  inorder to process idocs one by one to avoid locking.
    Should any object type be given in RBDAPP01 ?
    If so, is it required to maintain any record for that object type in table TBD55 to process idocs serially in RBDAPP01 ?
    Any help in this regard is appreciated.
    Thanks in advance
    Regards
    Meena George

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • Inbound IDOC status is strucked at 64

    Hi,
    My rerequirement is as follws.
    Inbound IDOC process:
    Through inbound IDOC i have to create the new sales orders and need to change some information to existing sales orders means 2 cases.
    1) Create new sales order
    2) Change existing order.
    Iu2019ve generated two example IDOCs from order interface
    one for an u2018order addu2019 and one for an u2018order changeu2019.
    The times each IDOC reached each status are shown below:
    IDOC 1677672 u2013 Order ADD
    Status: 50 Started         Time:    09:54
                64 IDOC ready               09:54
                62 Direct Call                 10:39
                53 Order Created           10:39
    IDOC 1677684 u2013 Order CHANGE
    Status: 50 Started         Time:    12:50
                64 IDOC ready               12:50
                62 Direct Call                 12:50
                53 Changes on Y-table   12:50
    Can anybody explain why the first IDOC had to wait for the scheduled
    u2018IDOC PROCESSINGu2019 job to run, before it moved from status 64 to 62. But
    the second IDOC appears to have been processed automatically without
    waiting for the next run of the scheduled job?
    Obviously, the u2018automaticu2019 processing of the change IDOC is the way we
    would prefer it to work all the time).
    Can any body explain in first case why it's taking time and in second case it's processed immidiately.
    Regards,
    Janardhan

    Hi,
    I believe you are using two different message types for this purpose. One to create order and one to change order. Did you check the partner profiles for these? May be partner profile(WE20) for creating order is set as  "Collect Idocs" whereas the partner profile for the message type to change order is se as "Trigger immediately".
    Hope it helps.
    Regds,
    Rudra

  • Inbound idoc example

    hi folks,
    i'm creating an inbound idoc doc to upload some aditional hr infotype data. I need to know how can i upload data by idocs, which process i need to run, code example, tables, i will really appreciate a program example as a guide, tnxs a lot.
    Regards

    You sure idoc is the correct medium? Perhaps LSMW or SXDA.
    If idoc, try transaction WE19 - check the application help....
    http://help.sap.com/saphelp_erp2005/helpdata\EN\dc\6b80f643d711d1893e0000e8323c4f\frameset.htm
    Dave

  • Inbound idoc pordcr101 status 51 "enter purchase org"

    in the we19 standard inbound for idoc  pordcr101 i see the following
    EDIDC  with the partner/port info
    E1PORDCR1
      E1BPMEPOHEADER
        comp_code 300
        doc_type "NB"
        vendor  58121
        purch_ord 3000
        purch_group 000
      E1BPMEPOHEADERX
        'X' next to respective fields
      E1BPMEPOITEM
         po_item  00010
         Material  scw1212
         Plant    3000
         qty       1000
      E1BPMEPOITEMX
         'X' next to respective fields
    Each time i run the inbound idoc pordcr101 in we19 with the above i get
    enter purch org
    i am really really stuck because i am entering purchase org but for some reason it does not know about it
    what am i missing
    HELP
    I deleted the unused segments

    no successful idocs in we19 up to this point
    i was told
    E1BPMEPOHEADERX  'X' next to respective fields this is used to indicate which fields are being input.
    so i am using both
    it is purch_org  not purch_ord

  • Cumulative quantities on sched. agreement forecast in inbound IDoc DELFOR

    Hello, we have a customer that send cumulative quantities on forecast line of a 830 EDI message. Do SAP inbound IDoc processing manages cumulative quantities, or I have to transform them to corresponding discrete quanities?
    Example
    FST1300DW20111001
    FST1400DW20111008
    FST1700DW20111015
    Edited by: editeam on Nov 9, 2011 4:43 PM

    I'm new to 862 (Shipping Schedule) iDocs and I'm having a problem with the dates/quantities during the update processing. We are receiving an inbound 862 and we run the transaction BD87 to update a Scheduling Agreement. BD87 processes without any errors. When we check the Scheduling Agreement, we expect the Forecast Delivery Schedule dates/quantities to be updated, but the JIT Delivery Schedule dates/quantities are being updated instead. How do I determine which dates/quantities are to be updated with my inbound data?
    Any assistance is greatly appreciated!

  • Inbound Idoc to create SD invoice thru VF01

    Hello All,
    I was looking for an Idoc that allow me to create an SD invoice (and automatically then an FI posting) based on an SD order (as VF01).
    I found some consultants talking about INVOIC, others about ACC_BILLING.
    But after somes tests, none of the above works as expected. (-may be I am using a worng process code...)
    Is there an Inbound  Idoc where I can mention the same data as I will do in  VF01 to generate an SD Invoice ?
    Thank you All

    There is no inbound IDoc, to my knowledge, and it'd be a very unusual scenario that would require invoicing through an IDoc interface. As soon as all the preceding transactions have been completed, not sure what sense it would make to wait for some kind of interface to give OK for the invoice creation...
    Anyways, there is an option to run billing through a background job, which could be scheduled at regular intervals or based on an event. It'd be a very short program to get a document # and to trigger an event for the job or just run SDBILLDL directly, whichever is preferable.

Maybe you are looking for

  • Customizing OHJ for use in commercial application

    My company is considering switching to OHJ from JavaHelp. I have converted our software to use OHJ for context sensitive help, but I have encountered some show-stopping problems - things we could do with JavaHelp we can't do with OHJ. It seems that O

  • Where can I obtain bootcamp assistant 4.0.1 software

    Where can I obtain bootcamp assistant 4.0.1 software?

  • Comma separated output into columns

    Hi, I've the following Query : select ParameterValue  FROM Event.vEvent   join event.vEventParameter on event.vEventParameter.EventOriginId=event.vEvent.EventOriginId  where EventNumber=0 which gives the following output in a single column: VSSDATA_F

  • How go i transfer my mp3's from my sd card to my iphone4?

    how do i trasfer my mp3's from my sd card to my iphone 4?....

  • BCC with Tell a Friend?

    When I want to "tell a friend" about a MobileMe Gallery in iPhoto 11 I click on the info button, then click the "tell a friend" button. It only shows the To: field and not a BCC: field. How can I use the BCC: Feature with "tell a friend?" Kevin