cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Partner Data

Former Member
0 Kudos

Hi All,

I am using CRM_ORDER_READ FM to get CRM data.

When i am fetching Partner data through ET_PARTNER import parameter in FM, Its getting short dump error.

I used to give GUID through IT_HEADER_GUID export parametr tp FM.

Please let me know what i have to give to FM.

Thanks,

Subbu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

what you are passing is correct. but the LT_HEADER_GUID should be table type.

so declare like

ls_header_guid TYPE crmt_object_guid,

lt_header_guid TYPE crmt_object_guid_tab,

then

MOVE GUID_STRING to ls_header_guid.

INSERT ls_header_guid INTO TABLE lt_header_guid.

then try to call the FM. You will get it.

Reward if it helps.

Regards,

Srini

Former Member
0 Kudos

but for remaining import parametrs data i am getting like ET_OPPORT_H,

Please let me know

Former Member
0 Kudos

Hi,

Can you explain your complete scenario like what data you are trying to fetch from the FM. whether Order data or activity, opprtunity data etc...

Regards

Srini

Former Member
0 Kudos

Yes , I need to get Partner data (ET_PARTNER).

Former Member
0 Kudos

Hi Subramanyam,

The GUID you are passing to FM is belongs to which object (Order or Activity or Opportunity or Service)

I understand that you are trying to fetch partner data but to which scenario it belongs to.

Regards,

Srini

Former Member
0 Kudos

I am very sorry to inform you, That GUID was related to Opportuity.

Former Member
0 Kudos

Hi Subramanyam

Go to SE38 and execute the report CRM_ORDER_READ by passing GUID information. you will get the partner data.

Regards

Srini

Answers (1)

Answers (1)

former_member1063151
Active Participant
0 Kudos

Hi,

All you need is the guid of the doc to execute crm_order_read. Do make sure the internal table receiving ET_PARTNER is of the same type as the export parameter. What kind of dump you are getting?

Cady.

Former Member
0 Kudos

I have given Business Part Number in during CRM_ORDER_READ program execution. But there it's getting the Partner data, Why its not getting through the FM.

Former Member
0 Kudos

Dear Subramanyam,

post your complete piece of code here, we'll try to solve.

Regards,

Srini