on 07-17-2008 12:09 PM
Hi Guys,
I have to create a sales order in smartforms and develope a Z driver program but the problem is about passing the SO number to my Z program. My zprogram will be attached to NACE and the user will see the standard screen where he will enter the SO number .
how should i pass this SO number to my Z driver program ?
Points will be rewarded !!
Poonam,
you can send SO number from form by export this value and import that value in SSF*** FM which you are using in Z program.
either you can write small select query in zprogram also for selecting this SO number from VBAK.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thnx for replying guys !!!!....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I beileve the SO number would be available in the NAST-OBJKY.
Please check the print program in debug mode for the field NAST-OBJKY.
Then pass this value to a suitable structure available in the smartform interface or modify an existing structure to accomodate the field populated with the SO number and it would be available in the smartform.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
declare it in the form interface-import section
and pass it to smart form as:
Call Smartfrom to print the document
CALL FUNCTION v_form_fm
EXPORTING
p_so_number = v_so_number (your variable)
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
reward if helpful
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.