Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Vendor master blocking program and to update Search 1 , Search 2 ,comments and block indicators

vinita_kasliwal
Active Contributor
0 Kudos

Hello All

Can you please advise me on how i can mass-update below fields using a Fm for vendor master record in ECC ?

Search Term 1 , Search term 2 and Remarks field in ADRC table

LFA1 - SPERR , SPERM and SPERQ

Requirement: I need to be able to do this programmatically as I need to create a simple report for an end user. Currently we do a LSMW and that's a bit time consuming and business would like this to be a ABAP report . BDC is not a recommended approach hence ruling that out.

I have tried below and this does not suit my requirement;

  1. XK99 - As it has lot of additional fields which can be updated and cant be given to an end user
  2. VENDOR_MAINTAIN_XK02 – not sure what to pass Error comes up as below
  3. BAPI_BUPA_ADDRESS_CHANGE—Cant find Search 1 and Search 2 in this
  4. ADDR_UPDATE – tried not working the FM runs successfully but does not update anything

regards

Vinita

3 REPLIES 3

NTeunckens
Active Contributor
0 Kudos

Check if it is manageable (for a functional KeyUser) by using trx."MASS" for Objecttype "LFA1".

Other options : BDC-recording into Custom-FM(outdated approach?) or develop your solution with "CMD_EI_API" BAPI ...

Jelena
Active Contributor

We do allow the business users to do mass updates using MASS or similar transactions. But this access is given only to the few power users and usually under the Firefighter ID.

Google -> BAPI change vendor site:sap.com -> (or similar) should find information about the BAPIs if any exist for the vendor master data changes.

Using the FMs that are not released by SAP is not much better than BDC.

Also keep in mind that in S/4HANA SAP is switching to the "business partner" functionality, so this kind of custom development will likely only serve you while you're on ECC.

0 Kudos

Hi Jelena

Thanks for your reply . So you mean there is no FM which can be used for updating vendor master records?

Regards

Vinita