Application Development 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: 

CLEAR SY-BINPT is not POSSIBLE

Former Member
0 Kudos

Hi everyone

I need to do 'call transaction using' with parameter nobinpt = space and mode = 'E'

But when we entry in the transaction values of is sy-binpt = 'X' (params-nobinpt doesn' t works)

I try to do 'Clear sy-binpt' in the transaction but doesn' t works also

I read some answers about this question and it doesn´t works also

Thanks in advance

1 ACCEPTED SOLUTION

JozsefSzikszai
Active Contributor
0 Kudos

hi Zaplana,

Don't change system variables!

you have to declare a work area type CTU_PARAMS and change the value there. Than you have to do like this:

CALL TRANSACTION

...

OPTION FROM you_work_area

hope this helps

ec

4 REPLIES 4

JozsefSzikszai
Active Contributor
0 Kudos

hi Zaplana,

Don't change system variables!

you have to declare a work area type CTU_PARAMS and change the value there. Than you have to do like this:

CALL TRANSACTION

...

OPTION FROM you_work_area

hope this helps

ec

0 Kudos

hi Eric

my work area is

DATA: ZPARAMS TYPE CTU_PARAMS.

ZPARAMS-NOBINPT = SPACE.

ZPARAMS-DISMODE = 'E'.

ZPARAMS-NOBIEND = SPACE.

into the transaction, sy-binpt = 'X'

0 Kudos

yes, because this is idiotic thing just works the opposite way...

try: ZPARAMS-NOBINPT = 'X'.

NOBINPT means 'not a batch input', therefor if you set it to X, that means 'yes, it is NOT a batch input', sy-binpt will be space, while if you set NOBINPT to space, that means the opposite... I wonder whose idea was this..

0 Kudos

Thank´s Eric

It works fine.

You make-me see this question clear

Until an other question

marc