01-11-2010 6:35 AM
HI,
Whats the Bapi for writing values into a historical profile. I will be passing profile number, Date, Time zone as input.
BAPI_ISUPROFILE_GET is for getting values from a profile. Whats the opposite of this??
Regards
Ritesh
01-11-2010 7:52 AM
*Allocation of profiles.
CALL FUNCTION 'ISU_DB_EPROFASS_UPDATE_PREPARE'
EXPORTING
x_profass_old = lt_xy_obj-db_data-ieprofass
IMPORTING
yt_insert_profass = lt_insert_eprofass
yt_update_profass = lt_update_eprofass
yt_delete_profass = lt_delete_eprofass
CHANGING
x_profass_new = lt_xy_obj-data-ieprofass.
Now call the function to update the rows.
CALL FUNCTION 'ISU_DB_EPROFASS_UPDATE_ALL'
TABLES
xt_insert_profass = lt_insert_eprofass
xt_update_profass = lt_update_eprofass
xt_delete_profass = lt_delete_eprofass
EXCEPTIONS
OTHERS = 1.
Regards,
Siva
01-12-2010 9:46 AM
When using the profile number to import data use BAPI_ISUPROFILE_IMPORT
Otherwise, based on PoD and reference (register code), use BAPI_ISUPROFILE_UPLOAD
02-09-2012 10:03 AM
Use BAPI_ISUPROFILE_IMPORT To upload values into the profile by filling the internal table with profile values and pass that as the table parameter.