on 04-11-2007 5:29 PM
Hi All,
In my script I have a field called Start date: &CAUFVD-ERDAT&. But now I want to remove that field and , I need to add to two more fields called
1. Basic start : &caufvd-GSTRP&
2. Basic Finish: &caufvd-GLTRP&.
I did this modification in the lay out already.
And now, how to make this modifications in the print program ?
I am new to scripts.
Any needful help would be awarded.
Hi Priya,
The changes that you need to do in the print program don't need any scripts knowledge.
See where is the structure caufv is being populated(Before the call to the fm WRITE_FORM with your text element name).
In that select statement, include your field also.
Then the values will come to the script because you have already done the changes to the layout.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya,
You can use the same 'AUFK' table only, but need to choose the relevant fields and then use them in the select query.
Following are the fields of table AUFK, which might be useful to you:
ERDAT Order master created on
SDATE Starting date
USER7 Date work begins
USER8 Date work ends
IDAT2 Completion date
IDAT3 Close date
For example you take SDATE and IDAT3 for Start and End, then the select query should look like:
select single SDATE IDAT3
into (ws_sdate, ws_idate)
from aufk
where aufnr = caufvd-aufnr.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.