publicStringcallMaintainBAPI(StringrequestData)throwsIOException{// 创建请求对象HttpPostpost=newHttpPost(API_URL);// 设置请求体StringEntityentity=newStringEntity(requestData);post.setEntity(entity);// 发送请求CloseableHttpR
data: wa_header type cmds_ei_header, wa_central_data type cmds_ei_vmd_central_data, wa_central_datax type cmds_ei_vmd_central_data_xflag, wa_address type bapiad1vl, wa_addressx type bapiad1vlx, wa_tax_ind_st type cmds_ei_tax_ind, wa_tax_ind type cmds_ei_cmd_tax_ind, wa_ban...
Remove the iv_test_run = 'X' Check in ES_ERROR (structure CVIS_MESSAGE) for subfield IS_ERROR and then in your loop on MESSAGES use the TYPE subfield (maybe some Warning or Success messages) Why didn't you use method MAINTAIN_BAPI Regards, Raymond Reply All...
CALL METHOD cmd_ei_api=>maintain_bapi EXPORTING is_master_data = es_master_data IMPORTING es_master_data_correct = lw_master_data_correct es_message_correct = lw_message_correct es_master_data_defective = lw_master_data_defective es_message_defective = lw_message_defective. ... --- Once ...
This topic mainly shows how to update both telephone and mobile number of a contact person using the method maintain. Both fields can be updated by setting the flag value. Contact person has last name as a mandatory field. Declare the necessary class and its types...
ei_api=>maintain_bapi EXPORTING iv_test_run = TESTFLAG iv_collect_messages = 'X'is_master_data = iscustomers IMPORTING es_master_data_correct= wacorrect es_message_correct= wa_mes_correct es_masterdata_defective = wa_defective es_messagedefective = wa_mes_error. ELSE call ...
Hi, I tried creating customer using class CMD_EI_API using MAINTAIN_BAPI method. Customer is successfully created when I'm not providing Customer Sales details. When I'm