My zprogram source code is like this:
PARAMETERS: OUTFILE(80). data: begin of oldrec occurs 0, txt1(250), txt2(250), end of oldrec. start-of-selection. call function 'UPLOAD' tables data_tab = oldrec exceptions others = 1. if sy-subrc ne 0. write:/ else. open dataset outfile for output in text mode. if sy-subrc = 0. loop at oldrec. transfer oldrec to outfile. endloop. close dataset outfile. if sy-subrc = 0. write:/ else. write:/ endif. else. write:/ endif. endif. SUBMIT Z_FI_MEDJUNARODNI_OBRACUN_FIKS AND RETURN. SUBMIT RSBDCSUB AND RETURN.
How to modify code to get these fields in report output?
Should I put SELECT in my main zprogram or in the zprogram I call with SUBMIT??
Do you have idea?
My output should look like this:
BSEG-BELNR (for one or more vendors from the file I upload)
Double click on each BELNR should open my FI document.
Thank you guys