Sales Order (BUS2032) access to table VBAK
I would like to send an email (SMTP) notification, when a Sales Order has changed.
I would like to include some fields from VBAK table. They are developed fields, starting with Y*.
I managed to add the table VBAK to the Container.
In the BUS2032 CHANGED event I bind the
&_EVT_OBJECT& -> &SALESORDERBUS2032&
&_EVT_OBJECT& -> &_EVT_OBJECT&
Now I have access to the standard Sales Order properties and Items.
How can I bind the VBAK table?
Vijay Kumar replied
In the SWO1 have you checked your business object with the test data?
is your attribute Y_SD_CHT is populated correctly?
First check whether the attribute is pospulated correctly or not..
Its a attribute of the business object and you have to write the code to fill this attribute.