Greetings,
I have troubles whit a bapi BAPI_PROJECTDEF_UPDATE, basically i want to changed tow projects definitions from a system BW to ERP, i called the bapi whit a destination RFC, the problem is the bapi change one of this definition but the sytem dont back to call again the function.for the next updating.
**in the program debugging.
the program call the bapi whit the first project definition and change it
CALL FUNCTION 'BAPI_PROJECTDEF_UPDATE' "Change Project Definition
EXPORTING
currentexternalproje = first_project_def
* currentinternalproje = " bapi_proj_key-proj_key_int
project_definition_stru = bapi_project_definition
project_definition_up = bapi_project_definition_up
IMPORTING
return = " bapireturn1
TABLES
e_message_table = " bapi_meth_message
the program close de procces, looks like a dumm.
WAIT UP TO 5 SECONDS.
and dont come back again to call hte next updating
CALL FUNCTION 'BAPI_PROJECTDEF_UPDATE' "Change Project Definition
EXPORTING
currentexternalproje = second_project_def
* currentinternalproje = " bapi_proj_key-proj_key_int
project_definition_stru = bapi_project_definition
project_definition_up = bapi_project_definition_up
IMPORTING
return = " bapireturn1
TABLES
e_message_table = " bapi_meth_message