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

Debug Call transaction in N mode

Former Member
0 Likes
3,741

Hi,

How to debug BDC call transaction program with mode N.

Regards,

Rams

1 ACCEPTED SOLUTION
Read only

Former Member
1,742

hi,

You can directly put a break point in the BDC program.

But there is a restriction that if you put any breakpoints in any of the transactions in N mode it goes to dump instead of N mode go to P mode.

N : Processing without display of screens. If a breakpoint is reached in one of the called transactions, processing is terminated with sy-subrc same as 1001. The field sy-msgty contains "S", sy-msgid contains "00", sy-msgno contains "344", sy-msgv1 contains "SAPMSSY3", and sy-msgv2 contains "0131".

P Processing without display of the screens. If a breakpoint is reached in one of the called transactions, the system branches to the ABAP Debugger.

Reward points if helpful.

Thanks and regards.

hi,

You can directly put a break point in the BDC program.

But there is a restriction that if you put any breakpoints in any of the transactions in N mode it goes to dump instead of N mode go to P mode.

N : Processing without display of screens. If a breakpoint is reached in one of the called transactions, processing is terminated with sy-subrc same as 1001. The field sy-msgty contains "S", sy-msgid contains "00", sy-msgno contains "344", sy-msgv1 contains "SAPMSSY3", and sy-msgv2 contains "0131".

P Processing without display of the screens. If a breakpoint is reached in one of the called transactions, the system branches to the ABAP Debugger.

Reward points if helpful.

Thanks and regards.

5 REPLIES 5
Read only

Former Member
0 Likes
1,742

Hi,

Keep a break-point in the program or before executing the program, enter /h in the command field and then execute the program.

M S DhanaLakshmi

Read only

nikhil_chitre
Active Participant
0 Likes
1,742

Hi

Put an Break Point at call transaction...

And change the mode from 'N' To A.

Regards,

Nikhil

Read only

Former Member
1,743

hi,

You can directly put a break point in the BDC program.

But there is a restriction that if you put any breakpoints in any of the transactions in N mode it goes to dump instead of N mode go to P mode.

N : Processing without display of screens. If a breakpoint is reached in one of the called transactions, processing is terminated with sy-subrc same as 1001. The field sy-msgty contains "S", sy-msgid contains "00", sy-msgno contains "344", sy-msgv1 contains "SAPMSSY3", and sy-msgv2 contains "0131".

P Processing without display of the screens. If a breakpoint is reached in one of the called transactions, the system branches to the ABAP Debugger.

Reward points if helpful.

Thanks and regards.

Read only

former_member195383
Active Contributor
0 Likes
1,742

Hi...

Just change the type from N to A or E then when u arive at the screen put /h and then debugg.

After ur debugging is done..then u can again change the mode from A or E to N

Read only

Former Member
0 Likes
1,742

hi,

i have a similar kind of issue. i have a bdc for PA40 using call transaction. it is sometimes uploading the complete data sometimes few fields are missing. When fields are missing,that time bdc breaks without any error.

what could be the possible reason o the data not getting populated.

need a solution urgently.

thanks,

shobhika