Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from TerryB on Jan 30 at 7:44 PM Carlos, If I understand your question correctly, all you have to do is put a text node where you want the value to print (as long as it's after the code node that fetches the data). You will need to define the structure w_vbrk in the global definitions section of the Smart Form, and you should also add the structure as an export parameter of you code node. Just an aside: VBRK is a VERY wide table; if you only need one value out of the table you should NOT be doing a SELECT * to get it! Cheers, Terry
| | | ---------------Original Message--------------- From: Carlos Salazar Sent: Monday, January 30, 2012 7:12 PM Subject: Print Table Value I have a Z program that creates a file with the invoice text data. Some extra data is required so I am creating a new program. And one of the changes is also to create the file with a Smartform. I have to send the values of our customer to an internal table and print them (since some values are edited in the invoice and not taken from the master sales data). I have the following node code: SELECT SINGLE * FROM vbrk INTO w_vbrk WHERE vbeln = vbeln. What do I have to do to print values on Smartform with text variable, for example: &W_VBRK-KUNAG& I have been trying with different declarations in Form Types, Global Data, code, and just getting all kinds of errors, I am lost. If someone can please point me the general steps I have to print this. Regards, Carlos | | Reply to this email to post your response. __.____._ | _.____.__ |