cancel
Showing results for 
Search instead for 
Did you mean: 

GEN_EBPP_PUT_DATA not updating biller direct value inside SAP

Former Member
0 Kudos

Hey ,

I am having a problem in GEN_EBPP_PUT_DATA while i use it inside OData service.

if i use this FM- biller direct inside a report (SE38) ,its working fine and doing same thing which i want but if i try this same code inside an odata service for payment ,its doing everything but not updating biller direct values inside sap (tcode - FPL9 - double click on document no - new TCODE open is FPE3 ).

I tried to find this on SCN too but i am not able to figure out the gap where i am lacking.

if some one faces some issue like this , then please do let me know the solution for this issue.

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Manish,

Please call COMMIT inside the DPC_EXT class under Execute_Action method as below by passing destination and check ->

/iwbep/if_sb_dpc_comm_services~commit_work(
EXPORTING
iv_rfc_dest
= lv_destination) .


Regards,

Ashwin

Former Member
0 Kudos

thanks for your quick response Ashwin .

can you please provide a little code snapshot .

AshwinDutt
Active Contributor
0 Kudos
DATA: lo_dp_facade TYPE REF TO /iwbep/if_mgw_dp_facade.
DATA: lv_destination TYPE rfcdest.

* Get RFC destination
  lo_dp_facade = /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
  lv_destination = /iwbep/cl_sb_gen_dpc_rt_util=>get_rfc_destination( io_dp_facade = lo_dp_facade ).

 

/iwbep/if_sb_dpc_comm_services~commit_work(
EXPORTING
iv_rfc_dest = lv_destination) .

Answers (0)