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 ...

Former Member
0 Likes
364

Wassup ....

I'am doing a call transaction at F-51. This transaction has 2 variant transaction, but I need do call a specific one before effectivitly "call the transaction".

Anyone knows ?

Thx.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Mar 17, 2008 5:15 PM

2 REPLIES 2
Read only

b_deterd2
Active Contributor
0 Likes
337

Hi ,

You could try do a CALL TRANSACTION USING....

Something like this:

DATA BEGIN OF BDCDATA OCCURS 100.

INCLUDE STRUCTURE BDCDATA.

DATA END OF BDCDATA.

DATA BEGIN OF MESSTAB OCCURS 10.

INCLUDE STRUCTURE BDCMSGCOLL.

DATA END OF MESSTAB.

DATA REPORT(8).

BDCDATA-PROGRAM = '<program name>'.

BDCDATA-DYNPRO = '<screen number>'.

BDCDATA-DYNBEGIN = 'X'.

APPEND BDCDATA.

CLEAR BDCDATA.

BDCDATA-FNAM = fieldname.

BDCDATA-FVAL = fieldvalue.

APPEND BDCDATA.

...

....

CALL TRANSACTION 'F-51' USING BDCDATA MODE 'N'

MESSAGES INTO MESSTAB.

Hope it helps you !

Bert

Read only

Former Member
0 Likes
337

Sry ... but I already know that information. What I really needs is:

before "call the transaction" I MUST change the variant of the transaction F-51. In SHB0 its possible to change the default parameters of any transaction. Like witch fields are open or not, the dates, values, etc etc etc ...

I still need some help ...

Thx any way!