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 messages

Former Member
0 Likes
726

Hi ppl,

I have a requirement wherein I need to find out the different message numbers which can be generated while using BDC to create production orders from planned orders (tcode CO41).

The standard program for this is PPBICO40.

I am writing a wrapper program and have to implement the above mentioned functionality in it.

Please let me know if it is possible to find out the different message numbers which will be returned in the process.

Thanks,

David.

Hi ppl,

I have a requirement wherein I need to find out the different message numbers which can be generated while using BDC to create production orders from planned orders (tcode CO41).

The standard program for this is PPBICO40.

I am writing a wrapper program and have to implement the above mentioned functionality in it.

Please let me know if it is possible to find out the different message numbers which will be returned in the process.

Thanks,

David.

3 REPLIES 3
Read only

Former Member
0 Likes
677

If you are calling the program using SUBMIT:

Use addition : EXPORTING LIST TO MEMORY

Function module :LIST_FROM_MEMORY will load the list of the messages in the call program to the internal table.

Regards,

Gurpreet

Read only

Former Member
0 Likes
677

Hi David,

you can get message numbers and their types in BDC when you create a session for that.After executing the session,goto log,in this you can find message numbers with their type also.

If you donot get then rewert back.

Thanks & Regards,

Rock.

Read only

Former Member
0 Likes
677

David,

i dont know exactly if this can be done but just a hint: With the help of functional consultent try to find all the exceptions which are maintined for Plan order to production order conversion in cutomizing.

i woul;d suggest do not go for a BDC for this, we have a FM which can do this task:


ALL FUNCTION 'CO_SD_PLANNED_ORDER_CONVERT'
         EXPORTING
              afpod_imp     = afpod
              caufvd_imp    = caufvd
              plaf_imp      = i_plaf_wa
              t003o_imp     = t003o
              t001w_imp     = l_t001w
              t399x_imp     = l_t399x
         IMPORTING
              afpod_exp     = afpod
              caufvd_exp    = caufvd
              convert_suc   = convert_suc
         TABLES
              plaf_tab      = p_lineup
              caufvd_tab    = c_lineup
              sfc_pocot     = s_lineup
              afpod_tab     = a_lineup
         EXCEPTIONS
              error_message = 01.