on 05-12-2009 12:53 PM
hi abapers,
i have a requirement of changing sales order based on clients requirement.
i am getting the item details as
material description | batch number | quantity | unit price | amount
xxxx | 0987 | 9 (order qty) | 10 | 90
xxxx | 0987 | 1 (free qty ) | 10 | 10
-
here i am getting two rows one for order qty and one for free qty . my requirement is to print the output in one
row having both order qty and free qty. i.e
material description | batch number | order qty | free qty | unit price | amount
xxxx | 0987 | 9 (order qty ) | 1 ( free qty ) | 10 | 90
please tell me how to do this?
thank you,
satish.
Hi,
If you are using a standard print program, you wil not be able to modify it. Same would be the case with the standard form
Suggest you make a copy of the standard and then modify it as per your requirements.
See if the Standard smartform is R2RBL_SDORC_L is useful to you.
Preconfigured smartforms along with the print programs are in package SMB40. You can search there,
Thanks and Regards,
Vanessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I was searching for order confirmation SMARTFORM and came accross this thread. This does not have the SAP SMARTFORM and program names. Can somebody post the SAP deliveried SMARTFORM and SMARTFORM program name for order confirmation. We are planning to copy BA00 and add our customer requirements.
Thanks
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Here , we are using standard print program "RVADOR01 " for smartform (order confirmation).
so where should i change the program to get the required output as i mentioned in the above forum.
can you please tell me?
thank you,
satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For your requirement you must club all values into one internal table using Program lines node Before diplaying the Items details in Table node.
For that Main window--->Program lines Provide necessary inputs and Outputs.
in Program lines node you can club all the values using Common Material no or Batch number
-
>then take Table node provide that internal table as input.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please check the below logic and do in the driver program
Declare ITAB with fields material desc,batch,order qty , free qty , unit price ,amount .
now loop at your final table which you told with 2 lines.
loop at it_final.
if it_final-matnr = itab-matnr. " for 2nd row
itab-freeqty = it_final-freeqty.
append itab.
don't use clear statement on itab.
else.
itab-material = it_final-material.
itab-batch = it_final-batch.
itab-orderqty = it_final-orderqty.
itab-unitprice = it_final-unitprice .
itab-amount = it_final-amount.
endif.
endloop.
Please try to do in this logic if you have only 2 reords for every material. or otherwise. think in anotherway.finally pass this itab to form parameters. don't do this type of logic in program lines of smartforms it will decrease performance bonus.
Thanks,
suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.