cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_COPY_BADI_EXTERN R3 - CRM with Pricing

Former Member
0 Kudos

Hi all ! I´m not sure if it is possible to use CRM_COPY_BADI_EXTERN badi to read the pricing of the invoice in ECC and set it to the service order in CRM, I´ve already use this badi to get/set the header and the items data, but i want to set the same pricing that was used in the invoice in ECC in order to set the same discounts.

The CRM_COPY_BADI_EXTERN has a method called MAPPING_FOR_EXTERNAL_DOC, in this method I read and set the header data and some partner fct, in here a structure for ET_PRICING is available but I don´t know what data from R3 should fit with this structure in order to set the pricing, any help about this can be done with this and a posible approach will be appreciated.

Thanks !

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member998879
Participant
0 Kudos

Hi Isaac,

did you find a solution?
I have to do the same thing. At the moment I've implemented the reading of

ERP invoice pricing conditions through function module with RFC call.

Now I've to update the pricing condition in the CRM complaint, but i'm not sure that the

structures in the interface of the method MAPPING_FOR_EXTERNAL_DOC allow this.

Anyone have a suggestion?

regards,

Davide

markus_schwope
Explorer
0 Kudos

Hi all,

I've done

- an implementation for that badi (key ZRPBCP instead of ERPBCP)

- created a FM in ERP to provide pricing data (reading KONV with KNUMV from VBRK) coz standard does only support pricing details with reference to SD order document

At the end I'm trying to let the BADI work properly, some unexpected difficulties occured. But they seem to come from BSP application BT120H_CPL in interaction with BT120S_CPL. Somewhere the link to my ZRPBCP object_type get lost. With original ERPBCP everything was fine

Some Additional tasks to do:

  • enhance BSP-Application BT120H_CPL
  • create component usage CUZRPBCP__ERPINV__BILLINGDOC  identical to
    CUERPBCP__ERPINV__BILLINGDOC
  • create navigational Link NewComplEFToSearchZRPBCP like
    NewComplEFToSearchERPBCP
  • ... maybe there's something I've overseen. I'll update, when I've found out.