Dear sir/madam,
Could you please take some of your valuable time for answering some of my doubts:
1. How to process a BDC program without going to transaction code SM35?
2. Is it possible to debug a BDC program directly? If so, how?
3.What is the use of Initialization event? Apart from initializing values in select-options, can you say one more?
4. Suppose you enhanced one IDOC. You added some fields to that IDOC. How to enter the values to these fields in IDOC?
Regards,
Sangram
Software/Hardware used:
ASKED:
December 21, 2005 11:26 PM
UPDATED:
December 22, 2005 5:25 PM
for a little more information on the call transaction you may see the code below. I usually use the mode as a varaible to help with debugging. You can either put this as a parameter or set it in the program where you can change the value in debug. The values for mode are: ‘A’ – show all screems and the user must hit enter after each screen, ‘E’ only show screen on an error, and ‘N’ – show no screens which should be used if you are running in background. Also note that sy-msgv1 may contain a return message. I hope that this helps.
************** run the FB10 transaction ****************************
CALL TRANSACTION ‘FB10′
USING bdc_table
MODE s_mode
UPDATE ‘S’ ” Wait for the transaction to finish
MESSAGES INTO message_tab.
IF sy-subrc NE 0. ” if error occured in processing
MOVE sy-msgv1(10) TO matr_doc-mat_doc.
Kevin