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

Problem call transaction twice

Former Member
0 Likes
1,241

Hi all.

I have a problem about call transaction.

I create Zprogram that have 2 call transaction.

first: call transaction IW52

and after it finished, call transaction IW34

my code is below:

-


...

W_OPTION-DISMODE = 'N'.

W_OPTION-NOBINPT = SPACE.

W_OPTION-UPDMODE = 'S'.

W_OPTION-DEFSIZE = 'X'.

CALL TRANSACTION 'IW52' USING T_BDCDATA

OPTIONS FROM W_OPTION

MESSAGES INTO T_MESSTAB.

CHECK SY-SUBRC = 0.

...

W_OPTION-DISMODE = 'E'.

W_OPTION-NOBINPT = 'X'.

W_OPTION-UPDMODE = 'S'.

W_OPTION-DEFSIZE = ''.

CALL TRANSACTION 'IW34' USING T_BDCDATA

OPTIONS FROM W_OPTION

MESSAGES INTO T_MESSTAB.

-


1st batch input runs in back ground.

it is no problem.

2nd batch input runs ONLY first and second screens in back ground.

after that, A user inputs values and save manual.

my problem is about 2nd batch input.

When IW34 screen display, the screen size is changed to standard size.

Although I set the value '' to BDCoption-DEFSIZE at 2nd batch input, it changed.

I don't know why.

does anyone have a similer problem?

If you have any idea, please let me know.

Regards,

Rie.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,079

Hi,

What is the error that you are getting.

Thanks,

Venkatesh.

Hi,

What is the error that you are getting.

Thanks,

Venkatesh.

6 REPLIES 6
Read only

Former Member
0 Likes
1,080

Hi,

What is the error that you are getting.

Thanks,

Venkatesh.

Read only

0 Likes
1,079

Hi, venkatesh333 .

my problem is that 'IW34' screen doesn't display full screen size.

it display 'standard screen size', it is only when BDCoption-DEFSIZE is seted 'X'.

Regards,

Rie.

Edited by: Rie Nagakura on Jul 21, 2011 7:08 AM

Read only

0 Likes
1,079

Hi Rie,

did you check SAP note 1395085 CTU: No standard screen size at end of BDC data with NOBIEND

It is very close to your issue. You'll have to install a kernel patch.

Otherwise, contact SAP support.

BR

Sandra

Read only

0 Likes
1,079

Hi Sandra,

Thank you for your comment.

I checked the note 1395085, and I contacted SAP support.

my problem is SAP note 1282686.

It's also an error in the kernel .

Thank you for your idea.

It helped me!

Regards.

Rie.

Read only

Former Member
0 Likes
1,079

Hi,

While recording the BDC in SHDB -> New Recording when the popup comes

Check the chek box Default Size and Not a batch input session ie 1st and 3rd check box

Your porblem will resolved

Regards

Bikas

Read only

koolspy_ultimate
Active Contributor
0 Likes
1,079

you need to remove the default size = 'X'.

So that you can view full.