Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

scriptform

Former Member
0 Likes
406

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 .

2 REPLIES 2
Read only

Former Member
0 Likes
373

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.

Read only

Former Member
0 Likes
373

Thanks,

I got my answer...