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: 

BAPI/FM to get sales order incompletion log

Former Member
0 Kudos

Hi friends,

I need a FM/BAPI to read the incompletion log of a sales order. Any advice on that is much appreciated.

regards,

Prabhu

1 REPLY 1

Former Member
0 Kudos

Hi,

try this FM:

CALL FUNCTION 'EHS003_CHECK_INCOMPLETENESS'

EXPORTING

DIALOG = SPACE

FEHGR = TVAK-FEHGR

TBNAM = 'DGMSD'

DIA_VISIBLE = CHARX

I_VBTYP = VBAK-VBTYP

I_VBELN = VBAK-VBELN

I_VBAK = VBAK

TABLES

I_VBUV_LAST = HVBUV

I_VBUV_TAB = XVBUV

I_VBUV_DIA = DVBUV

I_VBAP = XVBAP

EXCEPTIONS

OTHERS_ = 1.