cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for table CRMM_BUT_FRG0081

Former Member
0 Kudos

Hello

Anybody knows bapi to create record in table CRMM_BUT_FRG0081?

Regards

Radek

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use bapi "BUPA_PFCT_ADDFUNCTION" and then bapi "BAPI_TRANSACTION_COMMIT". U will find the record updated in the table CRMM_BUT_FRG0081.

Hope its useful.

Regards,

Shwetha.

aaruljothi
Participant
0 Kudos

Hi,

You can also use FM's:

CRMH_BUPR_DI_FRG0081 and BUS_CONTROL_MAIN_DI in sequence.

Example:

CALL FUNCTION 'CRMH_BUPR_DI_FRG0081'

TABLES

it_frg0081_di = it_frg0081_di "Input data after validating

et_data = ct_data. "Output

CALL FUNCTION 'BUS_CONTROL_MAIN_DI'

EXPORTING

i_objap = gc_objap_bupr "Value - BUPR

i_xupdtask = gc_x

i_xcommit = space

i_xbapi = gc_x

i_xtest = iv_testrun

TABLES

t_data = ct_data "Input - received from

"previous step

t_message = lt_message.

This method is Direct Input method, so the incoming data should be validated cautiously.

regards,

arul jothi a.

Former Member
0 Kudos

Hi Arul

i tested it and it didn't go well.

let's say I first launch BAPI BUPR_RELATIONSHIP_CREATE to create relationship.

later I would like to insert values with sales area and partner function.

How I can point in you FMs for what GUID of BP and for what GUID of relation partner, I want to insert row in table CRMM_BUT_FRG0081?

Regards

Radek

aaruljothi
Participant
0 Kudos

Hi,

Please refer the function group: CRM_BUPA_FRG0080_INTERN

and funtion module: BUPA_PFCT_ADDFUNCTION

You can find perform: pfct_transfer where the above said FM's are used.

You may take a look at this FM : BUPA_PFCT_ADDFUNCTION and find if it can help u solve the problem.

reagrds,

arul jothi a.

Former Member
0 Kudos

Thx, this bapi BUPA_PFCT_ADDFUNCTION is what I need, I had only problem with standard configuration of relation CRMH06 - time condition. with setting = 0 it works fine.

Regards

Former Member
0 Kudos

Guys, God bless you for this tip. This works perfectly (after relationship is created).

Answers (2)

Answers (2)

Former Member
0 Kudos

Check ds BAPI: BAPI_BUPA_FRG0010_ADD. or for which TCode u want BAPI???

Regards,

MEhul.

former_member320292
Active Participant
0 Kudos

Hi radek,

Try with BAPI_BUPA_FRG0010_ADD.

Reward if helpful.

Thanks,

Rahul