I have made a BDC for MM01 whose scenario is as follows:
1.First select the path of EXCEL file and execute.
2.Then a Pop Up appears which ask a confirmation that Do You Wish To Upload Excel File? When user says yes then an ALV gets
3.The use of ALV is to display the MATNR having error ie i have done some checkings related to SPART,MTART,Plant And PRCTR
relation etc.( The issue is not about ALV )
4.When the ALV is displayed at that time a BACK button and CANCEL button is also displayed with the help of PF STATUS.
The requirement is that first you display an ALV of the material containing error .The errors will be corrected in EXCEL file
and then the same file is to be again checked.If this time it does not contain any error then the records should be uploaded
otherwise it should leave the program.
I have completed the ALV display and the PF status button display.I want that when the ALV contains any error the user
should correct the EXCEL file.When BACK button is clicked then the screen to select the file should come(which is not coming).
so that the user can select the same corrected file once again.Again it should ask for confimation and again it should do
all the checkings.This should be repeated till all the errors are rectified.Once all the errors are rectified then the
uploadiing should be performed.
Also the CANCEL button is not working which should leave the program.For this I have tried the following
i) LEAVE SCREEN TO 1000.
ii) LEAVE PROGRAM.
iii)LEAVE LIST PROCESSING.