Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3585

Re: PCR : add output of customer operation to variable or HRS

$
0
0

Hello Vivek,

Thank for your reply.  I'll try to explain the

1. workcontext

2. information at my disposal

3. target of PCR

4. actual problem

5. example

 

1. Practically speaking, I can do maintenance of the calculation rules. ABAPers do the devolpment part. (Here the ABAPer requests me to give him 3 elements of information in the time schedule that he needs to generate a customer specific string to the field UTEXT in FEHLER).

 

2. We have an SAP setup that has positive + negative time + interfacing with 3  other systems that do part of the time management (not premium calculation however). This mixture of time management processes makes that requierd information is not always stored in the same tables/formats for each proces.  Our ABAPers already developed operations that handle the complex data retrieval for 3 characteristics of working hours:

-> worktype is retrieved by Z_HFR  (= 5 number digtis -> not 8)

-> percentage is retrieved by Z_PER (= 3 number digits)

-> qualification is retrieved by Z_HCA (= 2 number digits)

 

3. What we are now building are rules to grant or refuse premiums for working hours (based on worktype/percentage/qualification), generate messages specific for the combination (worktype/percentage/qualification) and do reporting on it.

 

4. I have all the elements do grant or refuse the premiums (and then indeed I fill time types and/or wage types) and know also "when" to trigger specific messages(eighter RTIP or PZL depending on the process). That part is ok

 

What I do not have is a solid solution to give the ABAPer a table where the worktype/percentage/qualification information is store at the precise point where the message is collected. He needs this info to fill the field UTEXT in FEHLER with a 10 characters string (character 1-5 =worktype ; 6-8 = percentage; 9-10 qualification).

 

5. An example:

01/02/2016

a. work 08:00-10:00 (worktype 00001, percentage 050, qualification 11)

b. work 10:00-13:00 (worktype 00002, percentage 050, qualification 11)

c. work 14:00-15:00 (worktype 00001, percentage 050, qualification 12)

d. work 15:00-16:00 (worktype 00001, percentage 000, qualification 11)

 

RTIP with my rule for 01/02/2016 should :

a. grant the premium (2 hours added to time type 1475) = no problem; collect message HF --> with UTEXT = 0000105011

b. grant the premium (3 hours added to time type 1475)= no problem; collect message HF --> with UTEXT = 0000205011

c. not grant premium (1 hour added to time type NO75)= no problem; collect message NH --> with UTEXT = 0000105012

d. not grant premium (1 hour added to time type NO75)= no problem; collect message NH --> with UTEXT = 0000100011

 

long story short, how/where can I store the information the ABAPer needs to fill UTEXT (when you know that the information can be found in the outputs of the operations Z_HFR; Z_PER. Z_HCA).

 

Does this make it any clearer?

 

Kind regards,

Kris


Viewing all articles
Browse latest Browse all 3585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>