I have to search partner who have sales contract.
In order to do that i have a Partner number (id) and tables and... ABAP !
With "id" i have to find sales contract. The method is the following one :
in table CRMD_PARTNER, PARTNER_NO = "id".
But many records exist with PARTNER_NO = "id" with an interesting field : guid with is the number of object (sales contract, opportunity, ...).
(for example :
guid g1 ... partner_no "id"
guid g2 ... partner_no "id"
guid g3 ... partner_no "id"
guid g4 ... partner_no "id"
So i have to look at CRMD_LINK with GUID_SET = guid if the object is an sales contract.
So my problem is toi use "LOOP AT" in order to verify for each object if one of them is a sales contract.
Points will be assigned...