Skip to Content

BDT - Business partner

Hi All,

How to get the screen field values (of BP) in save event using BDT since its not possible to access the global variables directly from a custom Z function module. Any pointers to achieve this?

Regards,

Nayeem

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 04, 2010 at 05:46 PM

    It's been 3-4 years since I've looked at the BDT and a CRM system but I seem to remember that there was a callback function provided to get the information - that you had to look at one of the other event functions used (as an example) to find it. However, you can still use the field symbol approach to grab the BUT000 entry from the main program (caller).

    Unfortunately, I can't open a system and check; we decommissioned our system and recently dropped our license. Microsoft's version was far easier to implement and use 😉.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 07:04 AM

    Hi,

    You can access global variable rather than screen field values.

    for ex:

    • Get the BDT settings

    CALL FUNCTION 'BUS_PARAMETERS_ISSTA_GET'

    IMPORTING

    e_aktyp = lv_aktyp

    e_xdinp = e_dinp

    • e_xupdtask = gs_dialog_issta-in_update_task.

    .

    if lv_aktyp = '02'.

    CALL FUNCTION 'BUP_BUPA_BUT000_GET'

    • IMPORTING

    • e_but000 = ls_but000

    TABLES

    et_but000 = et_but000.

    This fill fetch all but000 global data.

    here et_but000 will give all global variables related to BUT000

    and also you can use it .But your Z function module should be registerd in BUS7.

    or you can use directly this in your save event.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.