2009 Apr 17 4:32 PM
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.
2009 Apr 17 4:36 PM
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.
2009 Apr 17 4:36 PM
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
2009 Apr 17 4:55 PM
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
2009 Apr 17 5:02 PM
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.
2009 Apr 17 5:09 PM
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
2009 Apr 17 8:54 PM
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.