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: 

so10 standard text-its urgent

Former Member
0 Kudos

hai frnds,

how can we pass the variables from smartforms to the standard text. i had a standard text which has to be printed depending upon the condition. plz let me know how we can pass the global varibles to the standard text and how we can print them. respond quickly. its urgent. thank you...if anybody have any knowledge regarding this can forward their messages. thank u in advance

Message was edited by: Ateeq K

6 REPLIES 6

Former Member
0 Kudos

Ateeq,

If I understand you right you have multiple standard texts that you have created using SO10. You want to print them in the SMART Form.

Why can't you create TEXT Modules for each of the texts that you want to print (mention the standard text name that you want to print) and use a condition node to incoportate your IF condition.

The standard text can be accessed using parameters ST / TEXT / Name of the text.

Regards,

Ravi

Former Member
0 Kudos

Hi Ateeq,

Standard text is included as it is, so you can just create SO10 text as if it is part of the smartform and use variables as you use them in smartform. There is no need to pass the values explicitly.

Cheers,

Sanjeev

0 Kudos

i have a certain condition where depending on the condition one of the text should be printed. depending on the condition the data in the text should be printed. how can this be achieved.

0 Kudos

Hi Ateeq,

If I understand it correctly, you want to print different text based on certain condition i.e. if condition is true then text1 else text2. I would simply break the text into two standard texts and use them in the smartform accordingly.

Cheers,

Sanjeev

0 Kudos

there are 3 texts, if the cond1 is true the first text will come. but what i need is i want to send the data from the global variables to the std texts and print the variables from the text itself. i had passed the variables but it is not coming.

0 Kudos

Ateeq,

If you are trying to pass the name of the text as the global variable and print that, ideally it should work. However, with the given details it will be difficult for us to decipher the same.

I am guessing you are passing that as an input parameter to the SMART Form. If you have declared the variable in the program and expecting to access the variable in the SMART Form its not going to work that way - as SMART Form is a function module by itself.

I strongly suggest that you use IF conditions with in the SMART Form and solve the issue.

Regards

Ravi