cancel
Showing results for 
Search instead for 
Did you mean: 

I want to fetch the sgtxt on sap script form on main window in second column from bseg or bsid table

Monisa_
Explorer
0 Kudos
141

I want to fetch the SGTXT field in an SAP Script form within the main window, specifically in the second column, using data from either the BSEG or BSID tables. I attempted to display it directly by specifying BSEG-SGTXT along with other column values, but while other values appear, SGTXT does not display. I also tried using a PERFORM to fetch SGTXT from BSID, but during debugging, the internal table appears empty, resulting in the SGTXT value not displaying. Could anyone suggest what might be causing this issue or what I should try next?

View Entire Topic
Monisa_
Explorer
0 Kudos

While writing subroutine I have used zca_itcsy_tt structure with input and output table fi_upar & fi_cpar respectively where lw_refer is the variable where I store sgtxt value which i fetch from bsid table and used same variable on script &lw_refer& to display the value using fi_upar, fi_cpar

Sandra_Rossi
Active Contributor
0 Kudos
Did you solve your issue?
Monisa_
Explorer
0 Kudos
Not yet!
Sandra_Rossi
Active Contributor
0 Kudos
What didn't you understand in my answer? Do you know what is a global variable? Is LW_REFER a global variable?