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
1,119

Hi all,

Is there any keyword like OPTIONS in call transaction syntax...

What is the need of that option....

Can any oneexplin me regrding this....

Regards,

Kishore....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,093

S it is tehre

CALL TRANSACTION tcod. 


Additions: 
1. ... AND SKIP FIRST SCREEN 
2. ... USING itab 
2a. ... OPTIONS FROM opt 
2b. ... MODE mode 
2c. ... UPDATE f 
2d. ... MESSAGES INTO itab
... OPTIONS FROM opt 


Effect 
Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings: 


DISMODE
Display mode (like the MODE addition) 

UPDMODE
Update mode (like the UPDATE addition) 

CATTMODE
CATT mode (controls a CATT) 
CATT mode can have the following values: 
' ' No CATT active 
'N' CATT without single-screen control 
'A' CATT with single-screen control 


DEFSIZE
Use default window size 

RACOMMIT
Do not end transaction at COMMIT WORK 

NOBINPT
No batch input mode (that is, SY-BINPT = SPACE) 

NOBIEND
No batch input mode after the end of BDC data. 

The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values: 
'X' Yes 
' ' No 





If you do not use the OPTIONS FROM addition, the following control parameter settings apply: 

DISMODE
From addition MODE 
UPDMODE
From addition UPDATE 
CATTMODE
No CATT active 
DEFSIZE
Do not use default window size 
RACOMMIT 
Successful end on COMMIT WORK 
NOBINPT
Batch input mode active ( SY-BINPT = X 
NOBIEND
Batch input mode remains active after the BDC data 

Reward if this helps.

S it is tehre

CALL TRANSACTION tcod. 


Additions: 
1. ... AND SKIP FIRST SCREEN 
2. ... USING itab 
2a. ... OPTIONS FROM opt 
2b. ... MODE mode 
2c. ... UPDATE f 
2d. ... MESSAGES INTO itab
... OPTIONS FROM opt 


Effect 
Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings: 


DISMODE
Display mode (like the MODE addition) 

UPDMODE
Update mode (like the UPDATE addition) 

CATTMODE
CATT mode (controls a CATT) 
CATT mode can have the following values: 
' ' No CATT active 
'N' CATT without single-screen control 
'A' CATT with single-screen control 


DEFSIZE
Use default window size 

RACOMMIT
Do not end transaction at COMMIT WORK 

NOBINPT
No batch input mode (that is, SY-BINPT = SPACE) 

NOBIEND
No batch input mode after the end of BDC data. 

The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values: 
'X' Yes 
' ' No 





If you do not use the OPTIONS FROM addition, the following control parameter settings apply: 

DISMODE
From addition MODE 
UPDMODE
From addition UPDATE 
CATTMODE
No CATT active 
DEFSIZE
Do not use default window size 
RACOMMIT 
Successful end on COMMIT WORK 
NOBINPT
Batch input mode active ( SY-BINPT = X 
NOBIEND
Batch input mode remains active after the BDC data 

Reward if this helps.

9 REPLIES 9
Read only

Former Member
0 Likes
1,094

S it is tehre

CALL TRANSACTION tcod. 


Additions: 
1. ... AND SKIP FIRST SCREEN 
2. ... USING itab 
2a. ... OPTIONS FROM opt 
2b. ... MODE mode 
2c. ... UPDATE f 
2d. ... MESSAGES INTO itab
... OPTIONS FROM opt 


Effect 
Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings: 


DISMODE
Display mode (like the MODE addition) 

UPDMODE
Update mode (like the UPDATE addition) 

CATTMODE
CATT mode (controls a CATT) 
CATT mode can have the following values: 
' ' No CATT active 
'N' CATT without single-screen control 
'A' CATT with single-screen control 


DEFSIZE
Use default window size 

RACOMMIT
Do not end transaction at COMMIT WORK 

NOBINPT
No batch input mode (that is, SY-BINPT = SPACE) 

NOBIEND
No batch input mode after the end of BDC data. 

The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values: 
'X' Yes 
' ' No 





If you do not use the OPTIONS FROM addition, the following control parameter settings apply: 

DISMODE
From addition MODE 
UPDMODE
From addition UPDATE 
CATTMODE
No CATT active 
DEFSIZE
Do not use default window size 
RACOMMIT 
Successful end on COMMIT WORK 
NOBINPT
Batch input mode active ( SY-BINPT = X 
NOBIEND
Batch input mode remains active after the BDC data 

Reward if this helps.

Read only

0 Likes
1,093

Hello Selvi and Ravi,

Thanks for ur reply...

I have one more doubt regardsing <b>screen resolution</b>...

If i want to set the screen resolution as per my client requirement what should i do...

To which parametr i Have to pass <b>X</b>.....what is the procedure...

Regards,

Kishore.

Read only

0 Likes
1,093

You have to pass x_ctuparams-DEFSIZE = 'X'.

Read only

0 Likes
1,093

Hi Ravi,

C my sys is 17 inches monitor...

Client using 15 inches only...

If pass' X' ,,,it will take default size as17 inches...

here i ahve to reduce it to 15 inches....

I think ugot my prob....

Please clarify regarding this...............

Kishore.

Read only

0 Likes
1,093

Hi Kishore,

It doesn't matter at all.

The dimesions of the screens will be freezed to those you see in SHDB recording mode.

It will be same in whichever system you run the program.

Regards,

Ravi

Read only

0 Likes
1,093

If u set teh default size as 'X', this will automatically take care of the size. If ur system in 17 inch that is defualt and in ur client system 15 is teh default.

Read only

0 Likes
1,093

Hi....

Thank u very much...

Is there any alternative for this...

like <b>CONCATENATE</b>.....stmt.....

Regards,

Kishore.

Read only

0 Likes
1,093

For what purpose u need this, depending on that we can choose an alternate.

Read only

Former Member
0 Likes
1,093

call trasnaction using it_bdcdata OPTIONS from X_CTUPARAMS.

X_CTUPARAMS should be of tyep CTU_PARAMS.

This tsructure has the fields like

DISMODE (For display mode N , A or E)

UPDMODE( S, A or L)

DEFSIZE (X or space).

This options structure can be used instead of specifying the MODE, UPDATE separately...

Regards,

Ravi