Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC Error Handling - System Messages

Former Member
0 Likes
756

Hello,

I am using BDCMSGCOLL to handle the system messages but right now I have strange issue. I can run ME38 manually and try to explode the subcontracting BOM on a schedule agreement and if that has already been done I'll get a message when I try to save that says "No data changed".

If I do the same steps with a BDC I get the message "Schedule Agreement & has changed". When I check MD04 I can clearly see that nothing changed.

Anyone know how this can be happening?

Thanks,

Matt

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
728

try running your BDC in Dialog Mode ( "2" I believe, but it's been a long time) and see if it's doing anything different than what you're doing manually.

Hello,

I am using BDCMSGCOLL to handle the system messages but right now I have strange issue. I can run ME38 manually and try to explode the subcontracting BOM on a schedule agreement and if that has already been done I'll get a message when I try to save that says "No data changed".

If I do the same steps with a BDC I get the message "Schedule Agreement & has changed". When I check MD04 I can clearly see that nothing changed.

Anyone know how this can be happening?

Thanks,

Matt

4 REPLIES 4
Read only

Former Member
0 Likes
729

try running your BDC in Dialog Mode ( "2" I believe, but it's been a long time) and see if it's doing anything different than what you're doing manually.

Read only

0 Likes
728

as an alternative, check to see if any BAPIs exist to do this for you. they're much easier in the long run to use.

Read only

Former Member
0 Likes
728

I tested this in Dialog Mode "A" and I can see that it follows the exact same steps that I would normal use and still nothing changes but I get an system message that something changed.

I have looked at a BAPI (BAPI_GOODSMVT_CREATE). I thought I could use a FM (CS_BOM_EXPL_MAT_V2) to explode the subcontracting BOM and then use the BAPI to create the goods movement on each material.

However, that task seemed daunting and I have a lot of pressure from the business to get this working. I know the method using transaction ME38 works so it seemed like the best option to create a BDC of those actions.

Does anyone know why the BDC would say something changed and when I do the same process manually I get the system message of no change?

Thanks,

Matt

Read only

Former Member
0 Likes
728

An error in my code.