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

IDOC functions

Former Member
0 Likes
329

Hi,

Let's say you created your tabstrip control TABSTRIP1

with three tabs BUT1, BUT2 and BUT3. You assign subscreens SUBSCR1 to BUT1, SUBSCR2 to BUT2 and SUBSCR3 to BUT3. (In the Screen Painter on your element list, the 'References' tab , the reference field for BUT1 should be SUBSCR1, for BUT2 should be SUBSCR2 etc.)

You have included the following code in your PBO flow logic:

call subscreen SUBSCR1

including syst-cprog '1001'.

call subscreen SUBSCR2

including syst-cprog '1002'.

call subscreen SUBSCR3

including syst-cprog '1003'.

and in your PAI flow logic:

call subscreen SUBSCR1.

call subscreen SUBSCR2.

call subscreen SUBSCR3.

Then you create your subscreens 1001, 1002 and 1003 with Screen Painter and you simply put your table controls on them with the Graphical Layout Editor or such.

good luck,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
295

You will have to read the segment, but if you know the segment name in which

to search for the field, you can select by it and filter out others. Then

you move the SDATA block to the structure, and you have access to the field.

Be aware, that incoming IDOCs may not have leading zeroes as needed, so you

might have to run the value through a conversion exit.

1 REPLY 1
Read only

Former Member
0 Likes
296

You will have to read the segment, but if you know the segment name in which

to search for the field, you can select by it and filter out others. Then

you move the SDATA block to the structure, and you have access to the field.

Be aware, that incoming IDOCs may not have leading zeroes as needed, so you

might have to run the value through a conversion exit.