on 11-15-2011 10:45 AM
I have assigned Reqt 1 ( printout allowed ONLY if PGI Completed )to the concerned o/p type in the o/p det proc.
But, when I give manual printout, I am getting the printout (which I should NOT)
Pls guide.
Manually inserting output type in the output page, can be disallowed by setting output type attribute "Cannot be changed" to 'X'.
See if you can conditionally (based on PGI done or not) manipulate T685B-NBEAR field in your requirement coding, perhaps using "Call stack method?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sumanth,
Assigning Requirement in Output Procedure will work only when the Output is generated Automatically.
But in your case you are trigerring the Output Manually, which does not check the Output Determination Procedure & the Requirements.
I guess it is not possible in SAP Standard & I would suggest you to ask your ABAPer to put a code in Print Program to check PGI status before generating Output.
Alternatively you can speak to your Basis Consultant to remove Authorization of issuing Output in VL02N T-code...
HOpe this helps,
Thanks,
Jignesh Mehta
Hi Sumant,
I had the similar requirement in my previous project.
What I did was , in the driver program of the output , As ABaper to put a pre-check that is :
1) VBUK-WBSTK = "C" where VBUK-VBELN is the delivery number(LIKP-VBELN).
Hence if the status is not "C- completed" then mark an error message as " Delivery not yet posted for goods issue, Please COMPLETE the delivery".
This resolves your requirement. This will work for both manual and automatic output execution.
Regards,
Kanwardeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This can be achieved by adding condition in the driver program of the smartform itself.
LIKP-VBELN = VBUP-VBELN
VBUP-GBSTA = C (Completely processed)
Ask your ABAPER to add this condition to execute the smartform driver program.
Hope this helps.
Regards,
Sharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.