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

Issue in CO01 BDC program

Former Member
0 Likes
837

Hi All,

We have a program for creating Production Order in BDC , But In Some scenario where material requires external processing it is going to PR creation screen where it looks for Two mandatory field Requisitioner and Tracking No. And Since this PR Screen comes after an error , BDC losses the screen control.

Please let me know if someone can help me out with this issue .

Thanks

Ajay

6 REPLIES 6
Read only

Former Member
0 Likes
723

I think you would need to identify those instances where the program would go to the other screen and program for it in your BDC session.

Read only

Former Member
0 Likes
723

Hi ,

Well screen is recorded for this instance also to enter the Requisitioner . But this screen comes with an error with the message to enter the mandatory field , so BDC errors out of it .

Ajay

Read only

Former Member
0 Likes
723

Hi,

You have to be cautious during recording.

Please do the recording once again and when the mandatory fields come donot press enter, first enter the values and than go forward.

If BDC recording is correct with all the values and mandatory fields, it will work fine.

Thanks

Arbind

Read only

0 Likes
723

Hi Arbind,

Yes Initially i thought problem may be lying there . But the fact is when i Enter the Quanity , start and end date and hit enter it goes to Purchase Requisition Screen with an error message for the mandatory fields . And since these fields are not part of CO01 screen I cant enter it in CO01 , but to wait for the screen for PR And which comes with an error . And because there is error BDC losses control to this and transaction fails .

Regards

Ajay

Read only

0 Likes
723

Hi,

Actually, once you have to debug the program aand there is some exit/enhacemnet to be done to supress the error message.

We have similar kind of requirement for Service Entry Sheet creation and getting the same error message when we press enter , so to aviod and business should not harm find the exit and and you can modfiy it.

I think thats you have to do.

Thanks

Arbind

Read only

Former Member
0 Likes
723

Hi All,

II have got a solution . There is an Enhancement COZF0001 which helped me enter these customer data . So now i am passing that mandatory field through this Exit and hence no error for BDC posting . It Resolved the issue .

Thanks all for your help.

Ajay