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

code in badi

Former Member
0 Likes
485

Hi All,

I have called a bapi in a badi, I dont know whether we can call like this. In badi , I have writen a code to update an internal table and pass it to bapi , the code is as possible.

DATA : w_posting_date TYPE budat.

data v_timetickets1 type table of BAPI_PP_TIMETICKET.

data wa_timetickets1 like line of v_timetickets1.

GET PARAMETER ID 'PDT' FIELD w_posting_date.

wa_timetickets1-postg_date = w_posting_date.

append v_timetickets1 from wa_timetickets1.

CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'

  • EXPORTING

  • POST_WRONG_ENTRIES = '0'

  • TESTRUN =

  • IMPORTING

  • RETURN =

TABLES

timetickets = v_timetickets1

  • GOODSMOVEMENTS =

  • LINK_CONF_GOODSMOV =

  • DETAIL_RETURN =

It is getting dump at

append v_timetickets1 from wa_timetickets1.

Can anybody please help me.

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
457

Hi

append wa_timetickets1 to v_timetickets1.

Max

3 REPLIES 3
Read only

Former Member
0 Likes
458

Hi

append wa_timetickets1 to v_timetickets1.

Max

Read only

0 Likes
457

Thanks Max,

Problem is solved.

Read only

Former Member
0 Likes
457

Hi,

Could you please put the dump text .