10-18-2006 9:01 PM
Hi Everyone,
I have cretaed a table with 3 fields,
1. Order ttype
2. Material Number1 (US)
3. Material Number2 (NONUS)
i have to create a program which calls these fields in the table. The entries are maintaned at SM30.
I hvae to put some logic in the program using these fields to call a sapscript.
Can anyone please help me.
Thank you
Deepthi Sripuram
10-18-2006 9:03 PM
10-18-2006 9:03 PM
10-18-2006 9:06 PM
Rich
No ..I have created a table with these 3 fields.
Now i have a different program that is used to kick off a sapscript.
I should write a logic based on the entries in the table.
How do i call the values of the table from that SM30 into my driver program for printing a script?
10-18-2006 9:10 PM
So when you are maintaining this table via SM30(which is a table maintenance progam generated by TMG(SE11)), you want to get the data entered for each row and kick off a sapscript, right?
Or are you merely asking how to retreive the values from the table in your print program? If so, you can simply use a SELECT statement to get the data into your program.
Confused........,
Rich Heilman
10-18-2006 9:15 PM
Rich
Thanks
I understood. I was misunderstanding myself.
I have given points to all of you for helping me .
Thanks Everyone
Deepthi
10-18-2006 9:03 PM
Deppthi,
write a select stmt on the table based on your conditions and then U can use the populated valus in SAP script.
Hope this will help!!
10-18-2006 9:05 PM
Hi,
Get the data to an internal table itab
EXPORT Itab TO MEMORY ID 'SAP'.
SUBMIT Zscriptdriverpgmname and RETURN.
In the script driver program
use
start-of-selection.
IMPORT Itab TO Itab FROM MEMORY ID 'SAP'.
Thanks
VENKI