on 09-13-2012 3:48 PM
All:
We have a situation that occurs a couple of ties a year but causes us considerable headache when it does.
Every so often, we will have a batch macro run on a selection profile that currently returns no CVCs. This causes that job to fail. Even though we can continue our process chain, the entire chain fails on completion, which causes our users to panic.
Is there a way to cause the job to complete successfully if there are no CVCs in the profile? If there a way to check the profiles with an If statement and branch around them?
Thanks in advance,
Jeff
Dear Jeff,
Please consider SAP note 1652517.
Best Regards,
Ada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeff,
Have you considered the option to create a "dummy CVC" to ensure that the Selection profile would always return a CVC. May not be a feasible per your business process.. would be a work around..
Thanks
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
One solution could be using a Z program that can give you number CVC combinations (Reuse the progam /SAPAPO/TS_PSTRU_SE16 that displays the CVC or gives you the count - t.code /SAPAPO/MC62). Create a variant for this Z program and add it as a process variant in your process chain before macro execution step. If CVC count is zero or there is error in Z program execution, your process chain should not execute the macros and come to an end.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.