on 10-14-2019 2:33 PM
Hello gurus,
The attached PCR is querying for personnel areas *,**,and ***.Can you please help me understand why this PCR is querying for personnel areas with single *,double * and triple **** when actual personnel area length is 4 characters.
It is also querying personnel areas-***** ,0001,0002 and 0003.For me ,it makes sense.
Please help
Thank you
Bob
To start with, this pcr must be called by Function IF because it uses Operation SCOND.
To Operation OUTWPPLANT, only 4 return values were defined:
- for Personnel Area 0001, a further query is required on PLTSC (in PAYTP A)
- for Personnel Area 0002, a further query is required on something (in PAYTP B)
- for Personnel Area 0003, the condition is set as False (SCOND=F IF)
- for any other Personnel Area (****), the condition is set as True (SCOND=TF IF)
As to the return values to Operation OUTWPPLTSC, either you have Personnel Sub-Areas that have one, two, three or four characters, or the person who created pcr ZM02 has built the extra return values "just in case".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I removed private email address. Please note when you follow each other in SAP Community, you can communicate via "direct message". Please do not share your private information publicly as this violates the SAP Community rules of engagement. Thank you.
I removed private email address. Please note when you follow each other in SAP Community, you can communicate via "direct message". Please do not share your private information publicly as this violates the SAP Community rules of engagement. Thank you.
To learn about Schemas and Rules, please execute with the "Display log" box checked, and drill down into your log.
Note the Function that is used, it's Input, Processing and Output.
Use t-code pe04 to look at the Documentation on a Function (used in Schemas) or an Operation (used in PCRs).
SAP used to offer courses on "Rule Writing ...", and may still do, but you will find a lot of information on the web if you do a search using key words " sap rule writing ".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.