SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Disconnection documents

Former Member
0 Kudos

Hi

What is the BAPI / FM to update the status field in disconnection documents?

Thanks

Nat

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try using FM 'ISU_DB_EDCN_UPDATE'

ls_discdoc_new = ps_discdoc.

ls_discdoc_new-status = ps_status.

EXPORTING values:

x_ediscdoc = ls_discdoc_new

x_ediscdoc_old = ps_discdoc

x_upd_mode = gc_update.

Let me know if this helps.

Thank you,

Binno Don Thomas

View solution in original post

1 REPLY 1

Former Member
0 Kudos

Hi,

Try using FM 'ISU_DB_EDCN_UPDATE'

ls_discdoc_new = ps_discdoc.

ls_discdoc_new-status = ps_status.

EXPORTING values:

x_ediscdoc = ls_discdoc_new

x_ediscdoc_old = ps_discdoc

x_upd_mode = gc_update.

Let me know if this helps.

Thank you,

Binno Don Thomas