Skip to Content
0
Former Member
Nov 13, 2012 at 02:51 PM

Using private methods of standard class

612 Views

Hi Gurus,

I am using CL_ERP_SALES_LCM_INTERACTION class to update customer method, I have 3 questions

1. How can I pass specific value to attribute MS_Y_CUSTOMER

2. I am calling method SAVE which calling intenally other method SAVE_DB(Private method), So giving Dump.How can I avoid this dump.

3. SAVE_DB again calling methods of different class How to handle this.

Below is the my code , please help me out.

As of now I am passing the value to the Atrribute MS_Y_CUSTOMER in Debug mode.

DATA : OBJ TYPE REF TO CL_ERP_SALES_LCM_INTERACTION.

CREATE OBJECT OBJ.

CALL METHOD OBJ->SAVE
EXPORTING
IV_TEST_RUN = ' '
* IV_NO_COMMIT = SPACE
* IS_PHONE =
* IS_MOBILE =
* IS_FAX =
* IS_EMAIL =
* IS_WEB =
* IS_COMMON =
* IS_ADDRESS =
* IT_CONTACTS =
IT_BANKDETAIL = lt_x_bankdetail[]
* IS_SALESDATA =
* IT_TAXES =
* IT_VAT =
* IT_PFUNCTIONS =
IS_CHANGED_DATA = ls_changed_data
IMPORTING
ES_MESSAGE = ls_message.