‎2007 Mar 14 9:22 AM
Hi,
I am creating FM for the std report RM07DOCS. so for that i have written this following code
*"----
""Local Interface:
*" IMPORTING
*" VALUE(MATNRFROM) LIKE MSEG-MATNR OPTIONAL
*" VALUE(MATNRTO) LIKE MSEG-MATNR OPTIONAL
*" VALUE(WERKSFROM) LIKE MSEG-WERKS OPTIONAL
*" VALUE(WERKSTO) LIKE MSEG-WERKS OPTIONAL
*" TABLES
*" IT_OUTPUT STRUCTURE ZEP_MAT_DOCLIST_OUTPUT
*"----
SUBMIT RM07DOCS VIA SELECTION-SCREEN
with MATNR BETWEEN MATNRFROM MATNRTO
with WERKS BETWEEN WERKFROM WERKTO and return.
While execution time of this FM when pass both MATNR,WERKS it was giving me the output...But my problem is when is pass only MATNR that time i am not getting output...
Actually my requirement is to get the final output table from RM07DOCS and from this need to fill my it_output tab of FM....and need to use this in Portal display...this thing i can do..But SUBMIT is not working fine for me..
‎2007 Mar 14 9:33 AM