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

Error in BDC using 'N' mode while creating production order

Former Member
0 Likes
2,497

Hi,

I am trying to create a production order ( transaction CO01 ) by using a BDC. I just have to fill the header details, components , assign the component to operation , save and exit. When I am running the BDC in 'A' or 'E' mode, it works fine. The 'E' mode doesnt stop anywhere and successfully creates the production order . But when I change the mode to 'N', it throws an error "No batch input data for the screen SAPLCOKO1 0115". I am using Call transaction in BDC to create the production order. What could be the issue? Can someone throw some light?

Thanks,

Suganya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,760

Hi,

I ever met a similar problem, but the reason for my issue is that a message with type 'S' popped when executing the BDC. So I suggest that you can use 'A' mode to check if there is a message with type S and BDC is stopped by the message.

Ray

Hi,

I ever met a similar problem, but the reason for my issue is that a message with type 'S' popped when executing the BDC. So I suggest that you can use 'A' mode to check if there is a message with type S and BDC is stopped by the message.

Ray

8 REPLIES 8
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,760

any warnings or messages are thrown in other modes ??...if so it should be the reason...not sure ))

Read only

Former Member
0 Likes
1,760

In that screen program, it maybe verifying the condition batch input(sy-binpt), to get some clue about that error you need to debugg the bdc program in N mode.

Regards

Read only

0 Likes
1,760

Hi,

How can I debug when I am running in 'N' mode?

Regards,

Suganya

Read only

Former Member
0 Likes
1,760

Hi,

Run the BDC in MODE 'P' (Debigging and Background).

Then See the problem.

Regards.

Read only

Former Member
0 Likes
1,761

Hi,

I ever met a similar problem, but the reason for my issue is that a message with type 'S' popped when executing the BDC. So I suggest that you can use 'A' mode to check if there is a message with type S and BDC is stopped by the message.

Ray

Read only

0 Likes
1,760

I have the same problem when call the BDC of FB60 I check there is a message with type S and BDC is stopped by the message when in N mode .  but how do I solve this problem.

Read only

Former Member
0 Likes
1,760

Hi Suganya

Try using Mode  'E'.

it should work.

Regards

Raghu

Read only

Former Member
0 Likes
1,760

Hi Suganya,

I guess that Chandra Madapati is right. I also faced the same issue for another transaction.

If you want to disable the batch input (sy-binpt), you can use the addition OPTIONS FROM in call transaction statement.

It refers to the structure CTU_PARAMS in ABAP dictionary and contains the following components:

ComponentMeaning
DISMODEProcessing mode for batch input processing. Values as for the MODE addition.
UPMODEProcessing mode for batch input processing. Values as for the UPDATE addition.
CATTMODECATT mode for batch input processing. CATT means Computer Aided Testtool. While batch input is mostly used for data transfer, CATT processes are to be viewed as more complex transactions, since they are reusable tests. Values: " " (no CATT mode), "N" (CATT without single screen control), "A" (CATT with single screen control).
DEFSIZESelection as to whether the screens of the called transaction are displayed in the standard screen size. Values "X" (standard size), " " (current size).
RACOMMITSelection as to whether the COMMIT WORK statement terminates batch input processing or not. Values: " " (COMMIT WORK terminates processing), "X" ( COMMIT WORK does not terminate processing).
NOBINPTSelection for the symbol field sy-binpt. Values: " " (sy-binpt contains in the called transaction "X"), "X" (sy-binpt contains in the called transaction " ").
NOBIENDSelection for the system field sy-binpt. Values: " " (sy-binpt contains "X" after the end of the batch input data in the called transsaction ) "X" (sy-binpt contains " " after the end of the batch input data in the called transaction).

In this, if you give NOBINPT as 'X', the system field sy-binpt becomes disabled. You can also set the processing mode and update mode using DISMODE and UPMODE respectively.

Thanks & Regards,

T. Prasanna Kumar