Buffer Refresh problem in BAPI_BATCH_CREATE while IDOc Processing.

Hi All,
I am creating a scenario using IDOC. The scenario has 2 steps.
1. Create SAP Batch (Tcode: MSC1N)
2. Create Goods Movement with movement type 309 (Material to Material Transfer)
I am getting all the required information for the above 2 transactions in a single IDOC in SAP R/3.
I have also identified the BAPIs for the above 2 transactions. I am using bapi 'BAPI_BATCH_CREATE' for creating BAPI.
But when I execute the first bapi "BAPI_BATCH_CREATE" it refeshes the buffer and hence, the idoc looses all its data and restarts again. As a result the IDoc is processed again from the beginning.
My analysis is that, when the first BAPI executes Commit Work statement, it refreshes the buffer, and hence the session looses its data. This results in re-execution of IDoc.
Can you please suggest me solution to this problem?
Thanks,
Atul

Thanks  Madhu for your input, But still the issue is same.
i have added call to the bapi like this
ELSE.
              idoc_status-docnum = idoc_contrl-docnum.
              idoc_status-status = '53'.
              idoc_status-msgty = 'S'.
              APPEND idoc_status.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                WAIT          =
              IMPORTING
                RETURN        =
            ENDIF.
one more point here althought i am getting messge after the execution that idoc got processed by FM Z_IDOC_INPUT_ZQMSLD...
still the transaction is running for a long time.....i had to stop it after a long time when there was no response.
Is something wrong with the code?

Similar Messages

  • Problem while  data processing TRANSACTION data from DSO to CUBE

    Hi Guru's,
    we are facing problem while  data processing TRANSACTION data from DSO to CUBE. data packets  processing very slowly  and updating .Please help me regarding this.
    Thanks and regards,
    Sridhar

    Hi,
    I will suggest you to check a few places where you can see the status
    1) SM37 job log (give BIrequest name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
    2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish.
    3) RSMO see what is available in details tab. It may be in update rules.
    4) ST22 check if any short dump has occured.
    You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records has increased in the cube.
    Thanks,
    JituK

  • Costing problem while running Process order

    Hi,
    This is a  problem relating to costing of HALB material.. While doing process order for a fert material (BOM of FERT material contains a HALB and two ROH materials) a window occurs while saving ' Error when calculating costs, see log'. Why is this happening? I have checked the BOM , all components are subjected to cost relevancy (X). For HALB material no values are manually maintained in planned price 1,2,3 fields in Costing 2 view of material master. Do we have to manually maintain or will it be taken from the ROH materials in HALB BOM. For ROH materials values are comin in planned price 1,2,3 fields in Costing 2 view . If this has to be done what is the configuration. The ultimate issue is while running process order for FERT material no costing is happening for HALB material.Pls share your suggestions. Rewards assured.
    regards
    Ashok

    Hi,
    when you have raw semifinish and finish material as in sequence then first order of semifinish has to be created and it will capture raw material cost and other expences if incurred after confirmation of semifinish material you will be able to create a finish material production order b' cause that semi- finish material yo have to consume for finsh order.
    if at all first sfg order has updated the price of sfg (after settlement of order) then it will take correct price for finish material
    reward points if you find it useful.

  • Capture Messages while Inbound processing of IDOC

    Hi ,
    I have a scenario where in i have to upload a file from application server using inbound IDOC. I am using the program RSEINB00 (using submit) for this, The idoc is getting posted successfully but i need to capture the messages in form of a log so that i can find out what all IDOC numbers are generated and how many of them. In case any error is there. I need to display a log of it.
    Timely help in this regard will be appreciated and rewarded suitably.
    Rgds,
    Kewal
    P.S. : Please suggest if there is any other method to process inbound IDOC (accept we19 TX)

    Hi kewal ,
    As per the scenario explained by you , I suggest you to do following steps
    1.The program you are using is RSEINB00 , has a function mosule present named ' IDOC_ERROR_WORKFLOW_START'. This function module can gice yo the Error message log in case of Inboung IDOC processing fails.
    2.You have two options , eithe you find out any user exit and atttach your own code to it or Complaetely cope that code into your z-program. Int he function module mentioned above , the export parameter  ' G_MESSAGE_FIELDS ' wud give you the error message , error status , error no etc.
    3. So for the INbound IDOC status messages starts with 51-70 , so depending upon ur logic , read all those message into an internal table .Then transfer that to a file .So an error log can be genearated.
    I hope this solves ur problem.
    Regards.
    Note: Reward if useful.

  • IDoc Processing in SAP

    Hi Team,
    I have question about SAP Idoc processing ,
    1) How does SAP process Idocs when it gets around 20 Idocs all in a fraction of secodes for same Idoc/process code  and message type . Will SAP process them one by one , or it will process them all together in parallel processing. Please help me out with this.
    2) We have SAP 3.1 released used for creating delivery when an Inbound Idoc get in to SAP. Most of the time we see Idocs creating delivery but some time Idocs does not create delivery in production, we never had this issue in quality. What can be probale cause of this isse?
    3) We are facing a strange problem , We have one Inbound Idoc  which perform following activity :
    1.       Change delivery (Already created Delivery )
    2.       MB1C (add Inventory  )
    3.       Picking
    4.       PGI
    In the above flow next step will be executed only when preceding steps is successful .Every process is doing itu2019s job in Test /Quality /Production system as expected . But in production some time we are getting some problem while performing Change delivery /  Picking . I would like to know from you people have you ever came across such scenario or you have something to add to the process then please share the approach to minimizes the cause.
    Please share your views.
    Thanks,
    Raj

    Hi,
    The no of IDocs processed at a time is based on the Packet Size that is specified in the configuration of the Partner Profile(WE20). Likewise the specification of the Output Mode is given as either Transfer IDocs Immediately  or Collect IDocs in which case the IDoc would go to 30 status and it would have to be processed using RSEOUT00.
    Thanks
    Krithika

  • Question regarding XI/PI and Idoc processing.

    Hi,
    I'm learning XI/PI and I have a question regarding Idoc processing in PI.
    We need to configure communication between our BW system and our PI system using Idocs.
    The Idocs are sent from BW to our PI systems and are then sent back to the BW system, there are no third system involved. The idocs are only between PI and BW.
    Our BW system is already connected with many other R3 systems by using WE20 / WE21 and RFC's and everything works perfectly.
    While I configure this communication between BW and PI it seems that PI is passing the Idoc to the Idoc adapter, converts it to xml and tries to find a receiver for the particular Idoc. I see the error "NO_RECEIVER_CASE_ASYNC" in SXMB_MONI.
    Is this a normal behaviour in PI ? Why is PI thinking that the Idoc needs to be sent to another system when it is infact for itself ??
    Thanks and regards
    Remi

    Hi
    for error "NO_RECEIVER_CASE_ASYNC" in SXMB_MONI.
    This problem may occur due to one of following reasons, so check
    1 service is active in message? transaction SICF and activate service sap/xi/engine (right click, activate)
    2 Is the port 8001 defined in the services on the smicm under services?
    3 Check the roles assign PIDIRUSER
    http://help.sap.com/saphelp_nw04/helpdata/en/56/361041ebf0f06fe10000000a1550b0/content.htm
    role: SAP_XI_ID_SERV_USER attached to it
    Also Check Whether PIDIRUSER has following role
    SAP_SLD_CONFIGURATOR
    SAP_XI_RWB_SERV_USER
    SAP_XI_RWB_SERV_USER_MAIN
    Regards
    Abhishek

  • How to handle Back button, Browser Refresh problem at server side.

    Hi Friends,
    How to handle Back button, Browser Refresh problem at server side in java?.
    I am able to trace that,
    request.getHeader("ACCEPT") is returning value- */*
    when the browser was refreshed and returning different MIME types
    for all other actions from browser.
    I have doubt, will the above solution works always for all servers,browsers?.
    Please also specify any solution to handle back button at server side?.
    Thanks in Advance.
    Venkat..

    I'm sorry I don't think tht's the right solution for
    the above question....
    We must be aware that whatever scripting methdologies
    we either javascript/vbscript would executed @
    client(browser) side not @ server side....
    Dud If U get a good solution keep me updated.....
    THANKS & REGARDS,
    RAHULMy dear friend ...
    the bad news is that u simply cant disable or add any listener to the back button of the browser.
    When u hit the back button of ur browser the URL gets re-executed. So in case u have a JSP then the history.forward() is the best solution. [only if the page doesnt get expired similar to secure https sites]
    Now dont say that user can have javascript disabled ...those users will have a pretty touch time browsing websites since javascripts r used extensively by almost all websites.
    But in case u have an action.do or servlet call then u need to manage it using a session variable since the request will be sent to the server rather than client.
    For multiple form submittion issues read the following article in javaworld...
    Client vs. server solutions
    Different solutions can solve this multiple form submission situation. Some transactional sites simply warn the user to wait for a response after submitting and not to submit twice. More sophisticated solutions involve either client scripting or server programming.
    In the client-only strategy, a flag is set on the first submission, and, from then on, the submit button is disabled based on this flag. While appropriate in some situations, this strategy is more or less browser dependent and not as dependable as server solutions.
    For a server-based solution, the Synchronizer Token pattern (from Core J2EE Patterns) can be applied, which requires minimal contribution from the client side. The basic idea is to set a token in a session variable before returning a transactional page to the client. This page carries the token inside a hidden field. Upon submission, request processing first tests for the presence of a valid token in the request parameter by comparing it with the one registered in the session. If the token is valid, processing can continue normally, otherwise an alternate course of action is taken. After testing, the token resets to null to prevent subsequent submissions until a new token is saved in the session, which must be done at the appropriate time based on the desired application flow of control.
    for more details refer :
    http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
    Hope u got the idea.
    FYI I have been using both these ideas in my credit card payment gateway project. This concept has worked really well.

  • Smartview 11.1.2.1.102 Refresh problems

    I have multiple users experiencing severe refresh problems after upgrading to smartview version 11.1.2.1.102.
    Users state Refresh is taking 10-15mins+ when in old version 9x it only takes 1-2mins. In addition users have rebuilt the excel files (copy in new workbook) then all is working fine but when saved/the next day the refresh goes very slow again!
    Please can any help?

    1. Deleting the Sheet Info fixes the problem for the moment - but the problem soon returns. Do you know what causes the problem, so we can cut the repeating cycle? Is this strictly a multi-user issue? We do have several users that may use the file. Some have version 11.1.2.1.000 (not 103). Oracle's tips doc (http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf) mentions uncompressed metadata stored in the worksheet.
    2. Is there a specific version that allows the Sheet Info fix? Oracle's tip sheet says they need Some have version 11.1.2.1.103, but the users we have seen so far can use this workaround on Some have version 11.1.2.1.000. I'd like to know when at what version this fix starts so I can push other users to update. It would be good to know at which version this issue starts.
    Thank you - great information in the thread!
    P.S. for reference:
    From http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf
    In EPM System Release 11.1.2.1, I am opening .xls files with Smart View functions in Excel 2010, but it’s very slow or seems to freeze Excel. How can I fix this?
    This is most likely due to an issue with uncompressed metadata stored in the workbook. In most cases, the issue can be found in the first sheet in hidden shapes. Note that the file will open but it may take a very long time, and in some cases the file will open fine with Smart View disabled. In other cases it will not matter. To solve this problem, save a copy of the file and follow the steps below for the version of Smart View you have.
    If you are using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while) with Smart View enabled.
    2 From the Smart View Ribbon, select Sheet Info.
    3 Select Delete Smart View Info.
    4 Select Workbook and all Sheet Info.
    174 Miscellaneous and Product-Specific Tips
    5 Click OK.
    6 Save the modified workbook.
    7 Reopen the workbook.
    If you are not using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while).
    2 Right-click on the tab of the first worksheet and select Select All Sheets.
    3 Right-click on the tab of the first worksheet and select Move or Copy.
    4 In the drop-down box, select (new book) and check Create a Copy.
    5 Save the workbook.
    6 Open the new workbook.
    7 Refresh the data.

  • OIM 11g: Error while prepopulating process form

    I have a custom resource, with 4 child tables. When trying to provision the resource to a user when I click through to start populating data, I get the following error:
    Target Class = com.thortech.xl.util.adapters.tcUtilDateOperations
    <Mar 17, 2012 9:23:54 AM EDT> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcFormInstanceOperationsBean/prepopulateProcessForm encounter some problems: Error occurred while pre-populating process form.>
    <Mar 17, 2012 9:23:54 AM EDT> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcFormInstanceOperationsBean/prepopulateProcessForm encounter some problems: Column 'PRIMARY ID' not found
    com.thortech.xl.dataaccess.tcDataSetException: Column 'PRIMARY ID' not found
         at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex(tcDataSet.java:651)
         at com.thortech.xl.dataaccess.tcDataSet.getDataType(tcDataSet.java:742)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3219)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3130)
         at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.prepopulateProcessFormx(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1213.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    Followed by:
    <Mar 17, 2012 9:23:54 AM EDT> <Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: DirectProvisionOrganizationAction/prepopulateForm encounter some problems: Error occurred while pre-populating process form.
    Thor.API.Exceptions.tcAPIException: Error occurred while pre-populating process form.
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3245)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3130)
         at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.prepopulateProcessFormx(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1213.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    It is telling me that the 'PRIMARY ID' column is not found, and that is correct, as there is no column called 'PRIMARY ID'
    I have 6 pre-populate tasks on the Parent form. These are all simple UtilityTasks that do the following:
    1: Return Current Date on field name 'Start Date'
    2: Return usr_key on field name 'Initiated By'
    3: Return usr_key on field name 'Updated By'
    4: Return Current Date on field name 'Activity Date'
    5: Return Current Date on field name 'Updated Date'
    6: Return Organization Name on field name 'Organization Name'
    There are no pre-pops other than these 6. None of the 4 child forms have pre-pops associated with them.
    Where can I find what process form is calling the pre-pop on 'PRIMARY ID' ?
    I have dumped the metadata as well, and searched for an event handler / plugin that may be called, but there is nothing there. I only have postprocess handlers defined.
    Please help.
    Thank you.

    I reviewed the RAV, POC, and ODF tables.
    POC and ODF are empty. There is no data within the tables.
    In the RAV table, I see the following for 'select RAV_MAP_QUALIFIER,RAV_MAP_VALUE' from RAV;"
    RAV_MAP_QUALIFIER RAV_MAP_VALUE
    Organization ID act_key
    User Key usr_key
    User Login usr_login
    Organization Name act_name
    Middle Initial usr_middle_name
    User Login usr_login
    ADITResource
    User Login usr_login
    Last Name usr_last_name
    Password usr_password
    First Name usr_first_name
    Middle Initial usr_middle_name
    Middle Initial usr_middle_name
    ADITResource
    ADITResource
    Last Name usr_last_name
    Last Name usr_last_name
    First Name usr_first_name
    First Name usr_first_name
    19 rows selected
    I don't see the other form pre-pops that exist... Specifically the date prepops that I have defined. These just seem to be the pre-pop adapters that are associated with USR objects, not the process forms.
    Thank you.

  • Inbound Idoc processing issues - Partner Profiles - error status 56

    Hello All,
    I'm having a little difficulty posting an idoc coming from MDM.  It's a CREMDM04 xml coming from an MDM system.  It is getting mapped through PI and is being split into ADRMAS02 and CREMAS04 Idocs.  The message is being passed through XI and being posted to the ECC system, but certain fields in the EDI_DC40 header table are not being populated correctly (i believe).  I'm using nothing but standard mapping/material from the SAP Business Content for XI.  After looking through the standard XSLTs i cannot find the field-to-field mapping where the fields below are being populated.
    The RCVPOR value (SAP[SID]) is correct when i view it in SOAP Header, but does not appear in the remote system under the receiver port for the inbound idoc.
    The RCVPRN value ([String Value]) is incorrect in the SOAP Header and does appear in the remote system under the receiver partner number for the inbound idoc.  How is the RCVPRN value being populated? 
    SOAP Header in IDocOutbound tag
      <SAP:RCVPOR>SAP[SID]</SAP:RCVPOR>
      <SAP:RCVPRN>[String Value]</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
    I've been trying to trace down the string value for the RCVPRN, but i cannot find it anywhere.  Perhaps i'm just overlooking it?
    When i set the proper values (port = SAP<SIDofECC> and partner number = <LSnameof ECC>) using WE19 in the remote system then the partner profile is found and i'm left with different error to please specify an address group.
    Any help is very much appreciated! :-D

    Hi Jason ,
    Just check out if you have done the following steps most of us make minor mistake here ....... I think this would solve your problem
    To Configure the IDOC SCENARIOS ,PROCEED AS FOLLOWS
    STEP 1:ALE SETTINGS TO POST IDOC INTO SAP R/3
    We need to do the following settings in XI
    1) Create an RFC Destination to the Receiving System in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client, user & Password details of Destination system
    h) Test the connection and remote logon.Both should be succesful
    2) Create Port Using Transaction Code IDX1
    a) Select Create New button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client
    d) Enter the RFC Destination created in XI towards R/3
    e) Save
    3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1
    SETTINGS IN SAP R/3
    We need to do the following settings in R/3
    Logon to Sap R/3 System
    1) Create an RFC Destination to XI in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client, user & Password details of Destination system
    h) Test the connection and remote logon.Both must be succesful
    2) Create communication Port for Idoc processing Using Transaction(We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile with Inbound Parameters (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang
    Then Save
    e) Select Partner no. and LS which were create above
    f) Now we have to give some Inbound Parameters.So click on ADD TO Create Inbound Parameter
    g) Select Message type
    h) Double click on Message Type and Then Enter the details for Message Type and Process Code.
    I) save
    4) In Transaction SALE, Create Logical System
    a). Go to Basic Settings-> First Define logical systems
    and then assign logical systems
    b) Double click on Define the logical systems
    c) Give data for your Logicaal System and Name
    d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
    e) Assign the logical system name to the client
    do let me know if it helped
    Edited by: Tom  Jose on Feb 21, 2008 9:04 AM

  • Strange result of IDoc processing in the LSMW

    Hi
    I am using MATMAS_MASS_BAPI IDoc in the LSMW to transfer material master data into client's SAP system. After IDoc processing I got green message with text that application document was successfully processed (IDoc
    status = 53). But I can't view created materials using MM03 transaction. Then, records number in the MARA table before and after launching of LSMW is equal.  What may be a reason of this situation? How to solve this problem?
    Edited by: Marat on Nov 4, 2008 5:24 PM

    Hi there
    take a look at the Idoc overview, there should be a t100 message in there if there is a data issue with the idoc BAPI load. However this could be something inconclusive such as 'Inconsistent characteristics' or suchlike. In which case you'll have to check the data and that it matches the requirement for the object

  • Idoc processing best practices - use of RBDAPP01 and RBDMANI2

    We are having performance problems in the processing of inbound idocs.  The message type is SHPCON, and transaction volume is very high.  I am a functional consultant, not an ABAP developer, but will try my best to explain our current setup.
    1)     We have a number of message variants for the inbound SHPCON message, almost all of which are set to trigger immediately upon receipt under the Processing by Function Module setting.
    2)      For messages that fail to process on the first try, we have a batch job running frequently using RBDMANI2.
    We are having some instances of the RBDMANI2 almost every day which get stuck running for a very long period of time.  We frequently have multiple SHPCON idocs coming in containing the same material number, and frequently have idocs fail because the material in the idoc has become locked.  Once the stuck batch job is cancelled and the job starts running again normally, the materials unlock and the failed idocs begin processing.  The variant for the RBDMANI2 batch job is currently set with a packet size of 1 and without parallel processing enabled.
    I am trying to determine the best practice for processing inbound idocs such as this for maximum performance in a very high volume system.  I know that RBDAPP01 processes idocs in status 64 and 66, and RBDMANI2 is used to reprocess idocs in all statuses.  I have been told that setting the messages to trigger immediately in WE20 can result in poor performance.  So I am wondering if the best practice is to:
    1)     Set messages in WE20 to Trigger by background program
    2)     Have a batch job running RBDAPP01 to process inbound idocs waiting in status 64
    3)     Have a periodic batch job running RBDMANI2 to try and clean up any failed messages that can be processed
    I would be grateful if somebody more knowledgeable than myself on this can confirm the best practice for this process and comment on the correct packet size in the program variant and whether or not parallel processing is desirable.  Because of the material locking issue, I felt that parallel processing was not desirable and may actually increase the material locking problem.  I would welcome any comments.
    This appeared to be the correct area for this discussion based upon other discussions.  If this is not the correct area for this discussion, then I would be grateful if the moderator could re-assign this discussion to the correct area (if possible) or let me know the best place to post it.  Thank you for your help.

    Hi Bob,
    Not sure if there is an official best practice, but the note 1333417 - Performance problems when processing IDocs immediately does state that for the high volume the immediate processing is not a good option.
    I'm hoping that for SHPCON there is no dependency in the IDoc processing (i.e. it's not important if they're processed in the same sequence or not), otherwise it'd add another complexity level.
    In the past for the high volume IDoc processing we scheduled a background job with RBDAPP01 (with parallel processing) and RBDMANIN as a second step in the same job to re-process the IDocs with errors due to locking issues. RBDMANI2 has a parallel processing option, but it was not needed in our case (actually we specifically wouldn't want to parallel-process the errors to avoid running into a lock issue again). In short, your steps 1-3 are correct but 2 and 3 should rather be in the same job.
    Also I believe we had a designated server for the background jobs, which helped with the resource availability.
    As a side note, you might want to confirm that the performance issues are caused only by the high volume. An ABAPer or a Basis admin should be able to run a performance trace. There might be an inefficiency in the process that could be adding to the performance issue as well.
    Hope this helps.

  • IDoc processing Delay

    Hello guys,
    we have a problem in our client for the IDoc processing. It is a critical process that have to be finished as soon as possible.
    We take data from a Oracle Database, and do a transformation in PI 7.1 to a Z IDoc which is sent to R/3.
    The problem is that seeing time execution there is a delay from the process in PI 7.1 and R/3.
    For example: in our process PI execution is about 1 second, seeing monitoring it starts at 11:11:53 and finishes at 11:11:54.
    The problem is in the IDoc creation, if we take a look at the IDoc the first entry with status 50 (IDoc created) is at 11:19.
    The IDoc is Z and has option trigger immediately with a Z process code and a Z execution for the IDoc.
    This interface is executed every 30 secons more or less, and the delay only occurs 1 time every week more or less, but they can't wait 8 minutes because it is a critical process.
    We have an IDoc adapter with an RFC created at SM59, and the RFC is executed in milliseconds.
    Do you know where could be the problem? There is any way to see where could be the problem or how to avoid it?
    Many thanks in advance.
    Regards,
    Xavi.
    Edited by: Xavi Carb on May 24, 2011 3:03 PM

    Hello,
    this message has a prioritized queue.
    Seeing the IDocs in R/3, this interface creates IDocs every minute, but in a moment and for 10 minutes no IDoc is created, and after this time, 8-9 Idocs arrive at the same time.
    It seems that the RFC queue is stopped or waiting for these minutes.
    Creating another RFC for this interface would be the same?
    Many thanks.
    Regards,
    Xavi.

  • Data Transfer using LSMW IDOC processing with multiple segments

    we need to post the document data (Header structure, BP item structure, G/L item structure..etc) using LSMW IDOC processing.
    is it possible to transfer data for all these structures (Segments) in single file?

    Thanks for the reply.
    I am assuming when we are specifying the file in LSMW we are going to give the option to generate the file with include all structures.
    could you please elaborate further is there any thing specific we need to do while configuring LSMW to get the file for all segments in the IDOC with field names which we are going to populate with data, so that we can use it for data transfer.
    any help document will  be helpful.

  • Problem in ALE inbound With process code

    i want to give a function module to the in bound process code in transaction WE42 but i am not able to give the function module name .after giving the function module name if i say save system giving message "The ALE table is not yet maintained for process code ZTEST".

    Hi,
    This are the steps which involoves the Idoc processing .
    For ur query, check the bold letters .. do that part . it will solve ur problem
    Create Idoc type – Transaction WE30.
    Idoc type Idoc segments
    Z_idoc
    Create Message Type – Transaction WE81.
    Message type
    z_msg
    Assign Message Type to Idoc type – Transaction WE82.
    Idoc type Message type
    z_idoc z_msg
    <b>Create a function module through SE37
    z_idoc_input
    Assign characteristic of function module BD51
    Assign fn module to Idoc type and Message Type WE57
    Idoc type Message type Fn Module
    z_idoc z_msg z_idoc_input
    Create Inbound process code and assign inbound function module – Transaction WE42.
    Process code Inbound function module
    zcode z_idoc_input</b>
    Create a distribution Model - Transaction BD64
    Create distribution model for distribution of messages
    with the message type of z_msg
    Update inbound parameters of the Partner profile – Transaction WE20
    For the Logical system A for the above message type update the partner profile
    inbound parameter and specify the process code of zcode.
    For Outbound ALE Configurations: (Example)
    IDoc definitions and necessary ALE configurations settings for the outbound .
    Create Idoc segments – Transaction WE31.
    Create Idoc type – Transaction WE30.
    Create Message Type – Transaction WE81.
    Assign Message Type to Idoc type – Transaction WE82.
    Create a distribution Model - Transaction BD64.
    Reward points if it is Useful.
    Thanks,
    Manjunath MS

Maybe you are looking for

  • OSDBA group privileges during 9i installation on HP-UX 11.11

    Please see my other message with the same subject. Sorry for the inconvenience. Best Regards, Bharat Bhargava.

  • Question about lead in music for podcasting.

    Question about lead in music for podcasting. I listen to many other podcasts and there are those which play lead in music with bit of music inside their podcast. The music are songs we all know and enjoy. I have notice that they only play short small

  • Problem exporting using FCE HD

    When trying to export from FCE HD (3.5), I am selecting one of the conversion options (mpeg4 for web), the hd whirrs for a second and then returns 'unknown file error!' and won't do anything else to process the thing. What have I missed? I've tried t

  • User-defined fields in cost calculation

    Hi, I'm working with process order in customer service process. I would like to make a cost precalculation based on a user-defined field. To let you know. I created a new user-defined field. I affected to it a new parameter ID so that this user-defin

  • Training advice

    Hi, I am interested in expanding my skill sets in the area of SAP. I understand there is a functional and development side. From my experience I feel that I am most suited both (for the development side) and seem to be leaning towards XI or BI areas.