Application Development and Automation 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: 
Read only

BDC

Former Member
0 Likes
250

HI,

IN BDC PROGRAM I AM USING <b>CTU_PARAMS</b>.IT IS GOING DUMP.I HAVE GIVEN CODE HERE. CHECH IT

CTU_PARAM LIKE CTU_PARAMS OCCURS 0 WITH HEADER LINE,

WA_CTU TYPE CTU_PARAMS.

WA_CTU-DEFSIZE = 'X'.

APPEND WA_CTU TO CTU_PARAM.

...................................................

SOME OTHER CODE

................................................

CALL FUNCTION 'BDC_INSERT'

EXPORTING

TCODE = '0VTC'

TABLES

DYNPROTAB = BDCDATA

CTUPARAMS = CTU_PARAM

EXCEPTIONS

INTERNAL_ERROR = 1

NOT_OPEN = 2

QUEUE_ERROR = 3

TCODE_INVALID = 4

PRINTING_INVALID = 5

POSTING_INVALID = 6

OTHERS = 7

THANK YOU

ASHOK KUMAR

1 REPLY 1
Read only

Former Member
0 Likes
229

CALL FUNCTION 'BDC_INSERT'

EXPORTING

TCODE = '0VTC'

TABLES

DYNPROTAB = BDCDATA

CTUPARAMS = <b>WA_CTU</b> <- change here

EXCEPTIONS

INTERNAL_ERROR = 1

NOT_OPEN = 2

QUEUE_ERROR = 3

TCODE_INVALID = 4

PRINTING_INVALID = 5

POSTING_INVALID = 6

OTHERS = 7