I tried to process the inbound idoc using background program. But if i select the radio button in WE20, then ECC system doesnt receives the idoc(even not in status 64). Again if i change it to Trigger immediately, then ECC receives the idoc.
I am sending Contract (BLAORD) and conditions (COND_A) idoc from SRM to ECC system. Based on the payment terms, single contract will be splitted into multiple idocs.
For example, if a contract has 10 line items. Say, first 3 lines items belongs to 1 payment term(A000) and next three(4-7) line item belongs to other payment terms(B000) and finally last four item belongs to different payment term(C000).
So ECC will receive 3 idoc sets (with 1-2 seconds gap). First set will have BLAORD (contract data with corresponding line items) and COND_A (condition data for contract corresponding line items). Like wise all 3 sets will have BLAORD and COND_A.
Problem is, out of 10 line items, randomly 2-3 (some times 4-5) line item's conditions are marked with Deletion indicator.
And idoc status is 53 for all idocs. If i reprocess that idoc in WE19, then it is removing the deletion indicator.
Pls. help me of what might be the problem?
I'm confused - why do you need COND_A IDoc with every document? This IDoc is used for the pricing condition records, to my knowledge. Normally conditions should already exist in SAP and new documents should be priced according to them (assuming we're talking about sales). If you have unique pricing for each contract then just use a manual pricing condition.
Otherwise both IDocs should technically be processed as one "transaction" (or at least in specific order) and I'm not sure this could be easily accomplished since these are different IDocs. If contract is posted before pricing conditions are posted then, naturally, you'd see that conditions are not there and it would be corrected if you re-post the IDoc.
Are you sending Contract/SA from SRM to ECC?
I implemented BAdI - BBP_CTR in ECC which will create as many contracts based on distribution data.
Previously it was trying to update the same contract, so it results with deletion indicator in pricing condition.
Let me know, if you required any more help.
In my case only one idoc with message type blaord is coming but for each line item in contract different cond_a is coming ( which i think is correct ).But in few line items condition records are getting updated with deletion flag.
Need your kind help to resolve this issue.
You are sending contracts from SRM to ECC system?
If yes, check for BAdI BBP_CTR in ECC system. In this BAdI we will create as many contracts in ECC system based on distribution data in SRM. This should solve the issue.
Also check my previous reply to Jay. Let me know, if required any more help.