cancel
Showing results for 
Search instead for 
Did you mean: 

Complaint with reference to R/3 Billing Document , Items not getting copied

Former Member
0 Kudos

Hi,

I have implemented BADI CRM_COPY_BADI_EXTERN for pulling billing documnets which is working fine. But when I am creating a credit with refernece to billing doc fetched all other details are getting populated except Product, description into line item level.

I am using MAPPING_FOR_EXTERNAL_DOC for mapping R/3 values to Web UI fields. However CT_ORDERADM_I table in this method does not getting filled up with item level data as product , description etc.

I am populating the same and modifying the table in program. However it is not populating the value in Web UI fields.

Can anyone help as how should I populate item level values?

Thanks,

Madhura

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi All,

I have a requirement to display the item details of complaint are created with reference of a billing document in Web UI.

When a Returns Split is created with reference to a billing document, the item is split into multiple items based on the quantity in the source document. The BAdI definition CRM_COPY_BADI_EXTERN which we implemented for this requirement. This works fine in SAP GUI but i need to replicate the same in Web UI.

I have implemented the BAdI definition CRM_COPY_BADI_EXTERN in read_data method, check_split_change_alv method is actually spliting the line items based on the quantity. In SAP GUI its works fine but it’s not working in web UI.

We used a FM CRM_INTLAY_GET_HEADER_GUID to retrieve the header guid when there is call from web UI. But this FM returns zero value for guid. I’m struck up at this point.

Please suggest how can i replicate the return split in webui too.

Thanks,

Deepak

Former Member
0 Kudos

Hi ,

Issue was with product's internal format. Used conversion FM for getting product in internal format and it worked.

Thanks,

Madhura

mahesh_jagannath
Participant
0 Kudos

Hi Madura,

I hope you have implemented CRM Complaints creation with reference to R/3 Billing. I have few questions regarding that.

I would be very grateful if you can answer them.

  • How is the BADI CRM_COPY_BADI_EXTERN used in transferring R/3 Billing documents to CRM Complaints as reference?

  • Is it through an RFC FM call or do R/3 billing documents get replicated to CRM?

  • How is the BADI used in WebUI context?

Regards,

Mahesh

Former Member
0 Kudos

Hello Madhura

I'm facing exactly the same problem while copying the line items, can you please provide the FM name you used to get the internal format of the product. Sample code will be more helpful.

Regards,

Pinaki.

nisha_vinod
Advisor
Advisor
0 Kudos

Hello Pinaki

I am not sure which conversion exit Madhura used to resolve her problem, but I think you can check out the foll: conversion exits in the function group COM_PR_CONVERSION.

CONVERSION_EXIT_PRID1_INPUT

CONVERSION_EXIT_PRID1_OUTPUT

Hope the above info helps.

Thanks and Regards,

Nisha