Skip to Content
avatar image
-1
Former Member

Issues with Submit Program RIAUFK20 of IW39 tra saction code

Hi all

long time ago i used Submit program to fetch the data from this program RIAUFK20 of iw39 transaction code. i did not have any issues with it, however few day back my client reported an issue that he is unable to fetch the data of certain plant and company code.

i checked the same and confirmed that we have an issue but not sure of what. it is taking time to execute the submit program. reasons not know. could anyone help on this?

Add comment
10|10000 characters needed characters exceeded

  • What is the issue? That the program runs and returns no data, or that the program times out?

  • Former Member

    Not exactly times out but it is like that... i mean when it is times out we get a dump or atleast the execution of the program is done.

    but it does do that....... for a long time really long time.

  • Get RSS Feed

1 Answer

  • May 25, 2017 at 09:36 PM
    • What's the exact Syntax of the SUBMIT ... Using Selection-Screen-Set? Using Variant?
    • Can you call "IW39" on-line with the same Parameters AND RECEIVE DATA?
    • Do you have the same behaviour in other environments?
    • Are you able to determine whether some Enhancements or BAdI's are used withing the "RIAUFK20"?
    • Check if someone has tinkered with the Standard Variant "SAP_TCODE_IW39" or the current Variant that is being used?


    Why not write a test program OR change the current program slightly with a Variant that definately would return data ... If that works then you should look into the parameters (Variants? SelectionScreen-Parameters?) that are used in your current situation.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member
      • What's the exact Syntax of the SUBMIT ... Using Selection-Screen-Set? Using Variant?

      Using Selection-Screen-Set.

      SUBMIT riaufk20 " submit program
      WITH datuv EQ iv_ordersdate_from
      WITH datub EQ iv_ordersdate_to
      WITH dy_ofn EQ irx_orderstatus-outstanding_orders
      WITH dy_iar EQ irx_orderstatus-inprocess_orders
      WITH dy_mab EQ irx_orderstatus-completed_orders
      WITH bukrs IN shbybusinessunit
      WITH gsber IN shbybusinessarea
      WITH swerk IN shbyplant " changed from IWERK
      WITH auart IN shbyworkordertype
      WITH ernam IN shbycreatedby
      WITH aenam IN shbychangedby
      WITH aufnr IN shbyworkorder
      WITH qmnum IN shbynotification
      WITH warpl IN shbymaintplan
      WITH wapos IN shbymaintitem
      WITH priok IN shbypriority
      WITH dy_selm EQ 'D'
      AND RETURN.

      • Can you call "IW39" on-line with the same Parameters AND RECEIVE DATA?

      Earlier at our Client system we did get data using IW39. But, yesterday i got data from IW39. when i checked my code i am having issues. i repeat this happens only when i give this plant and company code and not with any other plant and company codes.

      • Do you have the same behaviour in other environments?

      Means?

      • Are you able to determine whether some Enhancements or BAdI's are used withing the "RIAUFK20"?

      No, i did not check, i don't know how to check and confirm. let me know.

      • Check if someone has tinkered with the Standard Variant "SAP_TCODE_IW39" or the current Variant that is being used?

      How can i do it.... any suggestions.

      Why not write a test program OR change the current program slightly with a Variant that definately would return data ... If that works then you should look into the parameters (Variants? SelectionScreen-Parameters?) that are used in your current situation.

      I am getting the data for other scenarios. have issues only when i give this plant and company code. :-(((

      Regards