By using which FM we can upload data into Infotype

Answer Posted / mhkr

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

INFTY = '0105'

NUMBER = PERNR

SUBTYPE = '0002'

VALIDITYEND = BEGDA

VALIDITYBEGIN = ENDDA

RECORD = i_p0105

OPERATION = 'INS'

TCLAS = 'A'

DIALOG_MODE = '0'

NOCOMMIT = 'X'

IMPORTING

RETURN = I_RETURN

KEY = I_KEY.

IF SY-SUBRC = 0.

WRITE : 'FM returns sy-subrc 0'.

ENDIF.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is user specific parameter?

1677


What are the advantages and disadvantages of ABAP query tool?

583


Difference between open sql and native sql? : abap data dictionary

612


Name a few data dictionary objects?

650


What do you do when the system crashes in the middle of a BDC batch session?

697






Find the scenario and give the result: a, b, c are employees, where a, b will get basic, hra, da. C gets basic and da. How to group for the allowances? : sap abap hr

642


What is the use of table control in bdc is it same in module pool table control? : abap bdc

678


What are the aggregate objects in the dictionary? : abap data dictionary

753


What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr

557


Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel

1591


How do you populate data into a multiple line field? : abap bdc

622


What are the differences between transparent tables, pooled tables & cluster tables? : abap data dictionary

725


What is the basic difference internal tables and database tables? : abap data dictionary

569


Define subtype ? : abap hr

616


What is meant by hide area?

660