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

How do you write manual bdc session method? : abap bdc

584


In which time constraint does the infotype records depend on the subtype ? : abap hr

623


What are the two statements which are required in an abap program to output an icon using a write statement?

746


Can you define a field without a data element?

551


Explain different types of locks?

547






Can we define our own match code id's for sap matchcodes? : abap data dictionary

552


What is img? : sap abap hr

683


Explain how do you get output from idoc?

605


What are the commands used for interactive reports?

556


How do you execute the payroll

2089


BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul

1600


What are the data types of the external layer? : abap data dictionary

774


hi frends this is bala raju from pune.i want to know diff between 4.7ee and ecc 5.0.if possible give me brief explanation.this question was asked in EDS(tele interview) in pune bye.

1701


What is the lock object?

589


what is the t-code to link technical and functional operation?

1953