Q
Problem solve Get help with specific problems with your technologies, process and projects.

BDC problems when doing Goods Receipts via MIGO

The scenario is, when you do Goods Receipt via MIGO transaction, for some materials it has to do auto Goods Issue. For this I have created a BDC program and attached it to my business object. It works fine when I test it, but when I used the same method in a task (I assigned it as a synch method and as a background job) the workitem always remains the status "In Process".

We are on 4.6C. The scenario is, when you do Goods Receipt via MIGO transaction, for some materials it has to do...

auto Goods Issue. For this I have created a BDC program and attached it to my business object. It works fine when I test it, but when I used the same method in a task (I assigned it as a synch method and as a background job) the workitem always remains the status "In Process". I came to know it requires some type of terminating event at this point. My question is, is it necessary to raise an event? Can't the system create it automatically once the BDC is over?


I am not sure that your analysis is correct there. If the method that you have written is marked as a synchronous method, I do not see why it needs a terminating event. Check whether the Goods Issue is actually being done? Is a short dump created (this is a common cause of methods hanging)? Also make sure that the BDC is not issuing some sort of Popup which causes the method to hang. What mode are you running the BDC? Ensure that you are running it in 'N' mode so that if error messages are issued they will not halt the BDC.

As a general rule, I avoid BDC's like the plague for two simple reasons. It leaves us at the mercy of SAP; that is if SAP changes their Screens (or renames a field) then the method stops working. This is hardly robust. Finally, I avoid BDCs because of the performance implications. They are much more process intensive than executing the code directly.

There is no doubt that BDCs have their place but I would suggest you think about your approach.


This was last published in April 2003

Dig Deeper on SAP workflow development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close