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

help in BADI_SD_DOCUMENTFLOW

Former Member
0 Likes
1,387

hi experts,

Does any one have a sample code for the BADI_SD_DOCUMENTFLOW.

Method is ADD_SUBSEQUENT_DOCUMENT.

Thanks,

Krishnakumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,031

Hi,

SAP has provide example code for each BADI.

There u can find expamle code for each method. check in SE18 example implementations.

By

Gupta.

6 REPLIES 6
Read only

Former Member
0 Likes
1,032

Hi,

SAP has provide example code for each BADI.

There u can find expamle code for each method. check in SE18 example implementations.

By

Gupta.

Read only

0 Likes
1,031

There is no sample code provided for this BADI.

Read only

0 Likes
1,031

Hi,

goto SE18 enter BADI name goto ->Enhancement Implementaion in menu bar-> click overview.

their u will get list of implementions.

ex implementation names are :

BOS_BADI_SD_DOCFLOW,

ISUWA_SD_DOCUMENT

or goto SE19 enter above names in implementation names u will get .

By

Gupta..........

Read only

0 Likes
1,031

hi gupta,

is this implementation has a sample code for the method add_subsequent document.

If so can you please copy and paste the code.

Thanks,

Krishna

Read only

0 Likes
1,031

Hi Krishna Kumar,

As the BADI BADI_SD_DOCUMENTFLOW Is for SAP internal use u can't implement the BADI.

Regards

Kiran Sure

Read only

0 Likes
1,031

Hi,

METHOD if_ex_badi_sd_documentflow~add_subsequent_document .

CLASS cl_isu_wa_sd_int_common DEFINITION LOAD.

  • Überprüfung nur bei SD-Kontrakten

CHECK f_vbtyp = 'G'.

CALL METHOD cl_isu_wa_sd_int_common=>add_subsequent_document

EXPORTING

f_xvbfa = f_xvbfa

f_beleg = f_beleg

f_position = f_position

f_vbtyp = f_vbtyp

f_stufe = f_stufe

CHANGING

f_nachfolger = f_vbfa_tab

f_nach_index = f_vbfa_index.

ENDMETHOD.

tell me what is your requirment, so that we can try accordingly......

by

Gupta