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

call transaction problem

Former Member
0 Likes
1,035

Hi all,

when I call transaction with mode 'a' update 's',

it works.

but when i turn it back to mode 'n' update 's', it doesn't work.

what's wrong are there?

thanks.

11 REPLIES 11
Read only

Former Member
0 Likes
1,001

have you tried with type 'E'

It will stop only if there is an error!

Regards,

Read only

Former Member
0 Likes
1,001

Hi Macy,

I suggest you to test the <b>sy-subrc</b> after your 'call transaction'

Morover, do you save messages like this :

  
DATA: BEGIN OF WT_MESSTAB OCCURS 0.
        INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF WT_MESSTAB.

...

CALL TRANSACTION 'T-CODE' USING WT_BDCDATA MODE 'N' UPDATE 'S'
MESSAGES INTO WT_MESSTAB.

Hope it helps,

Erwan.

Read only

Former Member
0 Likes
1,001

hi macy,

MODE

A Display all

E Display errors only

N No display

<update> : Update mode:

S Synchronous

A Asynchronous

L Local update

SINCE U GAVE 'N' IT DOESN'T DISPLAY ANYTHING..JUST CHANGE THE MODE..

<b>REWARD IF USEFUL</b>

Message was edited by: Ashok Kumar Prithiviraj

Message was edited by: Ashok Kumar Prithiviraj

Read only

Former Member
0 Likes
1,001

if there is any inconsistency in screen population it may not give u correct results. try to catch errors in BDCmsgcoll table if theer is any message no 1001.

Read only

Former Member
0 Likes
1,001

hi,

try to change it to......

<b>mode 'A' update 'S'</b> or <b>mode 'N' update 'S'</b>

regards

vijay

Read only

Former Member
0 Likes
1,001

Hi macy,

1. it doesn't work.

What is the meaning of that ?

2. When we give mode N

No screens will be displayed on the computer.

3

The processing mode can take the following values:

'A' Display screen

'E' Display only if an error occurs

'N' Do not display

'P' Do not display; debugging possible

regards,

amit m.

Read only

Former Member
0 Likes
1,001

Mode N will have problems if some unexpected popups (or screen sequence changes) occur during the program run and the BDC is not coded to handle those. These could be information popups like 'Delivery date has been changed' or warnings like 'Are you sure you want to change', in short, anything.

The only way to analyze the problem is to first run online and see if any of these require user input during runtime, or scan the messages saved in the BDCMSGCOLL after the background run.

Sudha

Message was edited by: Sudha Mohan

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,001

where it is being stuck? it does not work means?

u try in 'E' mode and find error

Read only

Former Member
0 Likes
1,001

Hi Macy,

I hope you have given mode 'N' in Caps.

other wise it will take defaults.

Regards

vijay

Read only

Former Member
0 Likes
1,001

Hi,

The processing mode can take the following values:

'A' Display screen

'E' Display only if an error occurs

'N' Do not display

'P' Do not display; debugging possible

If the MODE addition is omitted, then the processing mode is 'A'.

If a screen is displayed in processing mode 'E' because the system reached the end of the BDC data, the system automatically switches to processing mode 'A'.

If breakpoints are set in a transaction tcod called using the CALL TRANSACTION tcod USING itab variant, these are not actually reached in 'N' mode. The system tries to insert data in the Debugger screen; the call ends with SY-SUBRC = 1001 and the message "Batch input data is not available for screen SAPMSSY3 0131" (S 00 344).

Conversely, in 'P' mode, transaction screens are processed in the background (as in 'N' mode) and debugging is possible.

Read only

0 Likes
1,001

Hi,

Is your problem solved?

Regards,