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

include statement in SAPscript

Former Member
0 Likes
5,057

Hello,

I am working on a form for the f110 process and I have come across the following code

/: CASE &REGUH-HBKID&

/: WHEN 'OBC'

/: INCLUDE ADRS_CORRESPONDANT_OBC ID ADRS PARAGRAPH SG

/: WHEN 'SG'

/: INCLUDE ADRS_CORRESPONDANT_SG ID ADRS PARAGRAPH SG

/: ENDCASE

I am looking at the "BC SAPscript printing with forms" book to find the format of the include statement and what the include statement is doing. I am not sure what the ADRS_CORRESPONDANT_OBC or ADRS_CORRESPONDANT_SG are.

If someone could please explain the include statement and what it is doing, that would be a big help.

thanks...

1 ACCEPTED SOLUTION
Read only

Former Member
2,264

Hi Timothy,

INCLUDE statement generally used to include standard text or dynamic text in the forms.

in your case, ADRS_CORRESPONDANT_OBC and ADRS_CORRESPONDANT_SG are SO10 text. So they are maintaining some long text to display on the form.

So, goto SO10 and Give

Text name : ADRS_CORRESPONDANT_SG or

ADRS_CORRESPONDANT_OBC

Text ID : ADRS

Language : EN or DE or FR

you can see the text in your system.

ramana

10 REPLIES 10
Read only

Former Member
0 Likes
2,264

hi

i think some standard text is being inserted

chk in <b>so10</b> to find that standard text

Read only

varun_maharshi
Active Participant
0 Likes
2,264

He is reading the standard text from the id ADRS with Paragraph format SG.

You can find this text in Se78 --> Standard texts in tree

Read only

Former Member
0 Likes
2,264

INclude statements generally insert a standard text or an image or a graphic.

Regards,

Ravi

Read only

Former Member
2,265

Hi Timothy,

INCLUDE statement generally used to include standard text or dynamic text in the forms.

in your case, ADRS_CORRESPONDANT_OBC and ADRS_CORRESPONDANT_SG are SO10 text. So they are maintaining some long text to display on the form.

So, goto SO10 and Give

Text name : ADRS_CORRESPONDANT_SG or

ADRS_CORRESPONDANT_OBC

Text ID : ADRS

Language : EN or DE or FR

you can see the text in your system.

ramana

Read only

Former Member
0 Likes
2,264

ADRS_CORRESPONDANT_OBC is the document no.

May be this is the text added in SO10 & you are including that text in the script.

you can check them in SO10.

here give

Text ID ADRS

Language EN

go for Text Name F4, here you will see all the above texts.

Regards

srikanth

Message was edited by: Srikanth Kidambi

Read only

Former Member
0 Likes
2,264

All,

thanks for the quick responses. I found this in SO10.If I wanted to move this from our DEV instance to our QAS instance, do I have to create it in that instance or do I create a transport for this.

again thanks for the quick responses.

Read only

0 Likes
2,264

YOu have to run the program <b>RSTXTRAN</b> in se38.

It would attach this to a request.

YOu can transport that request.

Read only

0 Likes
2,264

run SE38 report program RSTXTRAN and enter the sub-transport number along with your text name.

Press the exucute button. Then press ENTER. then again press execute button and pop-up to confirm to include in your request.

letme know if you have any questions.

Ram

Read only

Former Member
0 Likes
2,264

I am checking but I think that all of the transports for this process have been transported already. I think I will have to create a new transport and do the RSTXTRAN process to collect the 3 addresses that were built in SO10. is this correct?

Read only

0 Likes
2,264

Yes,you can do that.

regards

srikanth