2009 Feb 26 7:03 AM
Hi to all experts,
I have a select option in the selection screen my requirement is that the records which have movement type 101 or 105 should only get printed even if the user select as 101 to 105 the remaining (102,103,104) records should not get printed how can we achieve this
2009 Feb 26 7:11 AM
While printing you can add the condition and check for the movement types, if the value is stored as a field in the table.
If, not I will suggest to add it, so it will be easy for you to modify the output as per your requirements.
Hi to all experts,
I have a select option in the selection screen my requirement is that the records which have movement type 101 or 105 should only get printed even if the user select as 101 to 105 the remaining (102,103,104) records should not get printed how can we achieve this
2009 Feb 26 7:11 AM
Hi Mozam
In your select query put
WHERE BWART NOT IN ( '102 , '103', '104' )
Pushpraj
2009 Feb 26 7:11 AM
While printing you can add the condition and check for the movement types, if the value is stored as a field in the table.
If, not I will suggest to add it, so it will be easy for you to modify the output as per your requirements.
2009 Feb 26 7:32 AM
Hi Amit,
Im printing from smartform . what are the other ways that we can do this
2009 Feb 26 8:32 AM
Hi Mozam,
Based on your select option for movement types get all the valid movement types from the check table for movement types into an internal table and you can print them.
In smart form you can print them using the internal table of the valid movement types.
Hope this may help you.
Regrards,
Phani.
Edited by: phani kiran bondada on Feb 26, 2009 2:04 PM
2009 Feb 26 8:43 AM
>
> Hi Amit,
>
> Im printing from smartform . what are the other ways that we can do this
Hello Mozam,
You must have developed a custom driver program for this purpose. And in the SF interface have you must have passed an internal table with the Movement details ?
If yes, you can delete the other movement types from this table & keep only the required ones.
DATA:
R_BWART TYPE RANGE OF BWART,
WA_BWART LIKE LINE OF R_BWART.
WA_BWART-SIGN = 'I'.
WA_BWART-OPTION = 'EQ'.
WA_BWART-LOW = '101'.
APPEND WA_BWART TO R_BWART.
WA_BWART-SIGN = 'I'.
WA_BWART-OPTION = 'EQ'.
WA_BWART-LOW = '105'.
APPEND WA_BWART TO R_BWART.
CLEAR WA_BWART.
DELETE ITAB WHERE BWART NOT IN R_BWART.BR,
Suhas
Edited by: Suhas Saha on Feb 26, 2009 9:44 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |