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

doubt in standard program

Former Member
0 Likes
634

Hi i have a small doubt in while i was performing a transaction code KSB1 by entering that i got the back ground program in which i saw a statement in the start of program

but1 = text-bt1.

so now i want to know what is the use of "but" and can u provide any info regarding that

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
606

HI Pavan,

But is not a key word. It is a variable just like many other variables.

In this statement it is being assigned with the text that is there in TEXT-001.

Regards,

Ravi

4 REPLIES 4
Read only

Former Member
0 Likes
607

HI Pavan,

But is not a key word. It is a variable just like many other variables.

In this statement it is being assigned with the text that is there in TEXT-001.

Regards,

Ravi

Read only

0 Likes
606

it is simple assignment statement as

but is a variable.

v_but = text-t01 written as but......

Regards,

GURU

Read only

Former Member
0 Likes
606

Hi Pavan,

BUT1 is a Variable that will be declared in the Program, it is a Normal variable as like otheres, it is not a keyword.

and TEXT-BT1 is a text symbol, but this is a Dynamic text symbol, normally we give TEXT-001, but there whatever the value will come to BT1 then it the text will be picked from that text symbols

Regards

Sudheer

Read only

Former Member
0 Likes
606

Hi,

but1 is a pushbutton in the selection screen which is handled by an event. when pushed it calls a function 'K_LINE_ITEM_TECH_SETTINGS_SET'

in the transaction KSB1, 'but1' is the "MORE SETTINGS" button at the first screen.

hope it answers!