Skip to Content

Need to update the status 'blocked' in BP tcode pragmatically

Hello,

We have a requirement where few vendors needs to be blocked while payment run.I need to develop an application where the users will upload the list of vendors and those corresponding vendors in BP tcode(status tab) the 'central block' checkbox should be checked/updated pragmatically.

I tired to use the below FM:

BAPI_BUPA_STATUS_READ and BAPI_BUPA_STATUS_ADD.But it did not serve any purpose.The problem is the BAPI_BUPA_STATUS_READ is not returning any values(even after check box is checked) so that the same parameters can be pass to the BAPI_BUPA_STATUS_ADD.

Regards,

PD

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Feb 04 at 05:21 AM

    Hi

    The field 'Central Block' (Tx BP Tab Status) is stored in table BUT000

    To read the value use function module BAPI_BUPA_CENTRAL_GETDETAIL - exporting parameter CENTRALDATA.

    You can change the field with function module BAPI_BUPA_CENTRAL_CHANGE - importing parameter CENTRALDATA.

    kr

    Domi

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 14 at 06:16 AM

    Hi

    You can look at FM

    VENDOR_UPDATE

    However, you must have CVI active in the direction Vendor- BP for this to work in your S/4HANA System

    regards

    Sanil

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16 at 09:18 AM

    Hi All,

    I used BAPI_BUPA_CENTRAL_CHANGE and it is working fine.

    Regards,

    PD

    Add comment
    10|10000 characters needed characters exceeded