on 08-13-2007 8:56 PM
Hi,
I have an input for on eof my smart form: called output type.
If output type='abc' then i need to fill on of the identification field with LIKP-VBELN
if output type = 'xyz' then i need to filll on the identification field with VBSS-SAMMG,
Please help me how i can write the program in smart forms program lines.
I am new to smart forms.
Plz help...this is urgent....
Thanks in advance
done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Narendra
Take two program lines:
In the first one: Goto Conditions tab and give the condition as "If output type='abc' ". In General attributes tab write the code "to fill one of the identification field with LIKP-VBELN ".
Similarly do the same for second program line with second condition and code.
make sure that you are passing the values as input parameters when writing the code in both the cases.
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Goto table likp and pass the delivery note to LIFEX field and get the delivery number if the output type is abc then print this delivery number.
else
with above logic u have delivery number go to VBFA table pass the delivery number as Subsequent sales and distribution document and Document category of preceding SD document as O (Order ) then you will get the sales order.. then goto VBSS table and pass the sales order number that you just got and get required field from VBSS.
Thanks
Mahesh
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.