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
862

Hi Gurus!

There are 6 performs in my program and each produces BDC messages under it . Now the requirement is just to move around the performs as the requiremets have changed. I did that and the program is doing its function except that few of the BDC messages re not showing up . Is it because of moving the code around or theer may be another problem which is causing the BDC messages not to show out as before ?

Kindly suggest.


**---------------------------------------------------------------*
**  Start-of-Selection                                           *
**---------------------------------------------------------------*
*START-OF-SELECTION.
*  perform disable_soldto.
*  PERFORM init_var.
*  PERFORM create_customer.
*  PERFORM add_shiptoparty.
*  PERFORM extend_shiptowell.
*  PERFORM create_locnid.
*END-OF-SELECTION.

*---------------------------------------------------------------*
*  Start-of-Selection                                           *
*---------------------------------------------------------------*
START-OF-SELECTION.
  perform disable_soldto.
  PERFORM init_var.
  PERFORM create_customer.
  PERFORM create_locnid.
  PERFORM add_shiptoparty.
  PERFORM extend_shiptowell.

END-OF-SELECTION.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
781

Hi Aarav,


Create another BDC error message table ..

in evry perform read the table with error type 'E' if found Move or Append to final BDC table.

in the final show all the error messages as a report

Regard,

Prabhuda

Hi Gurus!

There are 6 performs in my program and each produces BDC messages under it . Now the requirement is just to move around the performs as the requiremets have changed. I did that and the program is doing its function except that few of the BDC messages re not showing up . Is it because of moving the code around or theer may be another problem which is causing the BDC messages not to show out as before ?

Kindly suggest.


**---------------------------------------------------------------*
**  Start-of-Selection                                           *
**---------------------------------------------------------------*
*START-OF-SELECTION.
*  perform disable_soldto.
*  PERFORM init_var.
*  PERFORM create_customer.
*  PERFORM add_shiptoparty.
*  PERFORM extend_shiptowell.
*  PERFORM create_locnid.
*END-OF-SELECTION.

*---------------------------------------------------------------*
*  Start-of-Selection                                           *
*---------------------------------------------------------------*
START-OF-SELECTION.
  perform disable_soldto.
  PERFORM init_var.
  PERFORM create_customer.
  PERFORM create_locnid.
  PERFORM add_shiptoparty.
  PERFORM extend_shiptowell.

END-OF-SELECTION.

5 REPLIES 5
Read only

Former Member
0 Likes
782

Hi Aarav,


Create another BDC error message table ..

in evry perform read the table with error type 'E' if found Move or Append to final BDC table.

in the final show all the error messages as a report

Regard,

Prabhuda

Read only

0 Likes
781

Thats is already there in place , a message table is alreday there and its doing as you said , so do i have to create another message table again just for changing the position of the performs?

Thanks

Read only

0 Likes
781

I dont think you need to build any more tables for messages, to make sure can you check the data in the internal table at the end of the start-of-selection.

Read only

0 Likes
781

Yes , it is not showing the messages as it was doing before the moving the position of the codes.

Earlier messages were:

xd01 : message

xd02 : message

vd02 : message

o401 : message

o401 : message

o401 : message

o401 : message

o401 : message

o401 : message

Now the message is cut of and restricted to :

xd01 : message

xd02 : message

vd02 : message

Thanks

Read only

0 Likes
781

Hi !

The message table was refreshed so the messages were not showing up . NOw I have removed refresh from the message table and it works fine.

Thanks everyone.