cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any BAPI or FM to cancel the billing document no in sap crm billing

ravi_a3
Participant
0 Kudos


Hi,

i want to cancel the billing document no as automatically. so i have tried this class CL_BEA_ESOA_CI method is CANCEL. But the thing is updation not happening to DB Tables.

Could please tell me , is there any function module to cancel the billing document no.

Regards,

Ravi A

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member210661
Active Contributor
0 Kudos

Hi ravi,

in crm we have a t-code to cancel billing doc just execute and provide billing doc no and test run.

that automatically cancel the billing doc. CRMD_BILL_REV Cancel Billing Document

and here is the function module to cancel the billing doc..

BAPI_BILLINGDOC_CANCEL1  Cancel billing document.

if you want to more just fallow this links i think this might be help full to you..

https://help.sap.com/saphelp_sm40/helpdata/en/6f/f26863448111d5992400508b6b8b11/content.htm

Cancellation of Billing - Billing - SAP Library

let me know if there is any queries.

Thanks & Regards,

Srinivas.

ravi_a3
Participant
0 Kudos

Thanks Srinivas,

I have tried to execute this program CRMD_BILL_REV , but am getting dump due to RFC Connection. The dump is

The 'destination' "<ENTER DESTINATION>" for a Remote Function Call is unknown.

You can display/create the RFC destinations available in the system.

Actually i have passed one rfc connection which is used for middleware to R3 system. BUt this   BAPI_LEAS_BILLING_PROXY_REV fm is not there in ECC system.

pls tel me above function module is belongs to which system.

Also this BAPI_BILLINGDOC_CANCEL1 is not available in sap  crm.

please help on this..

Regards,

Ravi A