on 01-16-2012 5:38 AM
Hello All ,
My smartform should print the multiple selected line items that i as a user should be able to see as the output .
In my case i dont have any program that calls the transaction va22
directly from the transaction VA22 i give the ISSUE OUTPUT TO .
The Driver program that calls my smartforms fetches the data from table VBAP .
Two cases that i get because of this fetching logic .
1. When i try to fetch the data based on only VBELN in the output i get all the items that are in the particular Quotation .
2 . When i try to fetch data based on VBELN and POSNR in the ouptut when i select multiple items and give print the first item that i i selected is displayed .
Now what i need is to print only those data that i select in VA22 .
say if there are items A, B , C, D ,E in the Quotation .
and before printing i select A , C , D then only those items should be printed .
I hope any one of the Experts can solve my problem .
Thanks & Regards
Faran
faran,
create a Z report, make vbeln as selection screen element.
based on that show a item level ALV display as output. let user select which items they need to print and based on that you trigger your smartform
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since i wanted to know that if there is anything possible without creating a customizing report .
The answers to me were useful in the sense what i already knew .
Thanks to users for their co-operation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You said it only prints one line ..what about others line selected..can you please check in debugging the printing logic...my question is are you able to identify which line items are chosen if yes then ita very simple.
Nabheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I think you will need to do some enhancemwnt for this. What you can do select the lines in table comtrol and before issuing output you need to find a suitable wnhancement place where you can export the selected lines and make the corresponding change in logic for the same?.
Secondly uou can make a custom report also where user will select lines of po and print..but in this way you will need to many calculations
Nabheet
Hi Nabheet ,
i tried to put a /h when i select the line items in the quotation but it din not go into any program .
i guess writing a peace of code in enhancement is not possible in this case .
yes customization is possible but that is not what i agreed to do while i accepted the requirement .
any other suggestions .
thanks
faran
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.