This website is not affiliated with, sponsored by, or approved by SAP AG.

sapscript problem(select)

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

sapscript problem(select)

Postby shimaaeltatawy » Sun Nov 01, 2009 7:20 am

Hello,

I have 2 forms (1st form= check form"standard", 2nd= form i made )
After Printing a check using t-code F-58 and form (F110_PRENUM_CHCK) >1st form

I want to print a form after printing the check this form read most of it's data from check like (vendor number, Invoice number, Date, gross amount,...) this data found in DB table "REGUP"

My problem is : If i have 2 documents in check i want only to read the first document only which is item=001
in check items ..

check items:
document date deductions gross amount

12000035 29.10.2009 5 995>>>>>>>>>>>>item=001
21000042 31.10.2009 5

when i use the DB table Regup-fields name i only can read the latest item , and i need to read the first item.so what can i do?
shimaaeltatawy
 
Posts: 2
Joined: Sun Nov 01, 2009 7:15 am

Re: sapscript problem(select)

Postby bisonye » Mon Nov 30, 2009 4:37 am

You must make a Select to REGUP with the data in REGUH and get only the first entry.

Saludos.
bisonye
 
Posts: 33
Joined: Thu Aug 23, 2007 6:03 am


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 2 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.