Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Infotype operations issue

Former Member
0 Likes
389

I am trying to update the IT6 using Infotype operations and I am getting dump for perners whcih have reference perners.

Is there any way to get around with other FM's with out using BSC's

Thanks

3 REPLIES 3
Read only

Former Member
0 Likes
373

Use FM: HR_INFOTYPE_OPERATION

Read only

bpawanchand
Active Contributor
0 Likes
373

Hi

[Sample Code|]

Regards

Pavan

Read only

Former Member
0 Likes
373

Hi Ram,

Check this sample:

CALL FUNCTION 'HR_INFOTYPE_OPERATION'
              EXPORTING
                infty         = '0006'
                number        = wa_p0006-pernr    
                subtype       = wa_p0006-subty     
                objectid      = wa_p0006-objps      
                lockindicator = wa_p0006-sprps     
                validityend   = wa_p0006-endda     
                validitybegin = wa_p0006-begda     
                recordnumber  = wa_p0006-seqnr   
                record        = wa_p0006_new                 
                operation     = 'MOD'
                tclas         = 'A'
                dialog_mode   = '0'
              IMPORTING
                return        = wa_bapiret1.

Regards,

Chandra Sekhar