We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-dev] Print Table Value

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
TerryB  
Senior SAP Developer
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language