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: 

VBAK----delivery block, billing block

Former Member
0 Kudos

hi gurus,

can i find a table related to VBAK, where frequent changes to delivery block and billing block in VA01 are stored, similar to CDPOS table which is used to store sperr, sperm, sperq values for XK01 and aufsd,faksd,lifsd values for XD01.

thnx,

shivaa.

2 REPLIES 2

Former Member
0 Kudos

All changes in the sales document are stored in the CDHDR and CDPOS tables. Use function module CHANGEDOCUMENT_READ to get the changes. Sample code below:


DATA: ws_object TYPE cdhdr-objectid,
      I_CHANGE LIKE CDRED OCCURS 0.
ws_object = '4000169124'.   "Sales order number!
CALL FUNCTION 'CHANGEDOCUMENT_READ'
  EXPORTING
    objectclass                = 'VERKBELEG'
    objectid                   = ws_object
  TABLES
    editpos                    = i_change
  EXCEPTIONS
    no_position_found          = 1
    wrong_access_to_archive    = 2
    time_zone_conversion_error = 3
    OTHERS                     = 4.

b_deterd2
Active Contributor
0 Kudos

Hi,

If you don't find a field in CDPOS/CDHDR check the data-element in tcode SE11 if it is checked to save changes.

Regards,

Bert