Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

how to get head of the department(HOD) as an approver.

$
0
0

Hi Experts,

 

Existing scenario:

Created travel(international) request after getting approved by 1st level(line-manager) work item will go for next level(final approver Line exco).

existing code is attached.

 

To be developed Scenario:

After getting approved by 1st level (line-manager) work item will go 2nd level (Head odf hte department) prior to final approval(line-exco).

 

 

Please suggest me how to get Head of the department using bellow logic.

 

Pick the ORGEH ( Org unit)  as on 31.12.9999 and pass it to HRP1001 with the following field values

RSIGN      A

RELAT      803

And pick the SOBID ID as on 31.12.9999

 

 

Now pass the SOBID in table HRP1001 , and pass the data with the following field values

OTYPE – O

OBJID – same as SOBID

RSIGN      B

RELAT      012

Pick the SOBID

 

 

Now pass the SOBID to HRP1001 and

RSIGN      A

RELAT      0008

SOBID : PERNR

 

 

Pass the PERNR in PA0105  pick the data against SUBTY 0001 .

 

Thanks in advance

Goutam


Viewing all articles
Browse latest Browse all 3160

Trending Articles