2022 Aug 11 3:54 PM
I need a Function Module or Table to retrieve the info related to partner as shown below:
I've tried RH_MACO but no data was returned
2022 Aug 15 4:21 PM
Vendors (General) equals the search help KREDA. Behind this is the database view M_KREDA that contains the fields you see.
You can get the values (and provide filters) via BAPI_HELPVALUES_GET.
2022 Aug 11 4:35 PM
IHPA(Plant Maintenance: Partners) stores the partner assigned to the order. To search this table, enter your order number into AUFK-AUFNR and get the OBJNR(Object number). Then use that object number to search IHPA-OBJNR.
If you need to get the partner master data of that vendor, use IHPA-PARNR(partner number) to search LFA1-LIFNR and LFA1 contains master data such as address, names, etc.
2022 Aug 11 6:09 PM
The table LFA1 contais de data I need but is here a FM to read this info ?
2022 Aug 11 7:16 PM
alisonv you can use BAPI_VENDOR_GETDETAIL for example. Pass the vendor number of IHPA-PARNR to vendorno parameter and the LFA1 data is returned on generaldetail parameter.
2022 Aug 11 5:48 PM
2022 Aug 11 6:09 PM
2022 Aug 15 4:21 PM
Vendors (General) equals the search help KREDA. Behind this is the database view M_KREDA that contains the fields you see.
You can get the values (and provide filters) via BAPI_HELPVALUES_GET.
2022 Aug 16 4:01 PM
What do you call "all data from vendor", it could contain every maintenance views related to this vendor as well as whole history of the vendor, such as purchase orders, purchase info records and the like?
Did you already look at FM of group IPAR such as PM_PARTNER_READ or PM_PARTNER_READ_MASTER_DATA?