cancel
Showing results for 
Search instead for 
Did you mean: 

text module for company code

former_member1361784
Participant
0 Kudos

Hi,

Please let me know how to print textmodule/text element based on particular company code?

what is the code required at Condition tab in textelement in SF.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

pass the company code as import parameter of the samrtform and check this wariable in condition tab of the text element .

former_member1361784
Participant
0 Kudos

You mean like t001N-burks in conditions tab?

Please bit elaborate...

Former Member
0 Kudos

Hi

Yes..

Give the "t001N-burks" or what u have declared in the global definiton/form interface in the field name and in comparison value give it as SF in the conditions tab.

Regards,

Vishwa.

Answers (2)

Answers (2)

vikasrao21
Explorer
0 Kudos

Hi

write below code in PROGRAM LINES

xbukrs is company code

select single * into t_t001

from t001 where bukrs eq xbukrs.

in TEXT

copy fields from GLOBAL DATA

Thanks

Vikas

Former Member
0 Kudos

Hi

In condition tab,You have Field name,Relational operator and Comparison value,

Give the variable of your Company code, in relational operator select '=' and in comparison value hardcord your company code.

Create multiple Text element in your SF and give different Comparison value in condition tab.

Rajesh