cancel
Showing results for 
Search instead for 
Did you mean: 

CRM ISA Order entry screen TEXT mapping

0 Kudos

Hi,

We have CRM ISA 3.0 SP 14 version installed.

Currently on our order entry screen in CRM ISA in the header section we have a "KEYWORD" field where our customers can add some text information. This KEYWORD field is mapped to the "Transaction Description" field in CRM GUI.

How can I modify this mapping so that this "KEYWORD" field gets mapped to one of the TEXTS objects that I have defined in the CRM ISA ORder TEXTS tab?

Any help or suggestions will be highly appreciated.

Thanks,

Prasoon

Accepted Solutions (1)

Accepted Solutions (1)

KaushalShah
Active Contributor
0 Kudos

Instead of changing the mapping, you can think of populating the text object from this description on/before saving of order takes places.

Regards,

Kaushal

0 Kudos

Thanks for your reply.

Which function module should be modified in CRM so that this change can be implemented?

Also, Could you suggest me how can I add an additional text field in CRM ISA header and map it to one of the text Objects in CRM.

Reading the modification guide I was able to add a new text field in CRM ISA order header and send the information to a table in CRM. But I was not able to figure out how to map it to the Text object ID in CRM.

Thanks for your help.

KaushalShah
Active Contributor
0 Kudos

You can implement this logic in ORDER_SAVE BADI. See below mentioned thread for more details:

I don't know what exactly you need to do to map a new text control with text object. But I would assume it wouldn't be as simple as mapping it to a table field.

Regards,

Kaushal

0 Kudos

Thanks again for your reply.

I did try implementing a new BADI without any success.

Basically what I am trying to do is to take the content of the field "transaction description" ( DATA ELEMENT:CRMT_PROCESS_DESCRIPTION) from the Order Header Overview and copy it to the text Object ID "Z000" of structure CRMDORDER_H.

Could you please give me some sample code for this? Which function module should I be calling from the BADI to first get the transaction description of the order and then copy it to the Text object ID?

Thanks again for the help.

Prasoon

KaushalShah
Active Contributor
0 Kudos

Well, I don't have a sample code for such requirement, but you can try below mentioned approach.

You will have IV_GUID (guid of sales document) in this BADI. Using it, in PREPARE method, call function crm_order_read. That will fetch you description along with other fields. Once you have description, use function crm_order_maintain to populate your Z000 text object.

Hope this helps.

Regards,

Kaushal

Answers (0)