‎2008 Jun 22 11:14 AM
hi,
how to send print preview of script /smartforms to clients??
In salesorder form if i want to add some new fields , how can i will add??
Generally what fields the client require to add on purchase order, sales order, invoice..document??
Plz..give me some example...
And how to code that field in subroutine-pool driver program??
Thanks in advence...
Regards,
Asha .
‎2008 Jun 23 7:57 PM
Indentify the paragraph where you need to put the new data by activating the
script debugger.
Then you can retrieve your new data inserting this perform in the form:
I pass doc number and item number.
&ZSTK& and &KWERT& are the new data in this example
/: PERFORM xxxx IN PROGRAM xxx
/: USING &VBDKR-VBELN&
/: USING &VBDPR-POSNR&
/: USING &KOMVD-KWERT&
/: CHANGING &ZSTK&
/: CHANGING &KWERT&
/: ENDPERFORM
FORM xxxx TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
LOOP AT IN_TAB WHERE name = 'VBDKR-VBELN'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = IN_TAB-VALUE
IMPORTING
OUTPUT = VAL.
endloop.
*All your code here
endform.
‎2008 Jun 27 7:06 AM