on 08-07-2007 2:36 PM
hi all,
I am working on the the T-code J1INCERT. I need to add a couple of fields like Bill No and Doc no in the script form J_!IEWT_CERT. Can anyone suggest how do i continue with the same?
thanks
nayan
Hi,
Just check whether the fields are avilable from the transaction, if the field values are avilable then you print directly .
/: &bill_no&,,&DOC_No& " I am giving the sample fields, give the correct fields
If these fields are not coming from the Transaction then you need to use the PERFROM statment to get these fields then print the values
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if the fields does ont exist with the print program you can fetch by using external sub-routine
Go through this example
Ex.
/: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
/:USING &<field name>&
/:CHANGING &<field name1&
/:ENDPERFORM
Then create subroutine pool program and you have to write the code.
FORM ><subroutine name> tables int_cond structure itcsy
outt_cond structure itcsy.
data : value(20), value1(20). "do your own declarations
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
Just rough idea given above.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.