Skip to Content
avatar image
Former Member

PR05,BDC CALL TRANSACTION RETURNING SUBRC 1001.

Hi experts,

i have requirement where in my alv result screen there exists a trip number field , if i click on it should show the trip details from standard transaction PR05.

Set parameter doesnt work because in PR05 first we need to enter employee number then press enter . it will show all the trips of the employee in table control. now select the desired trip and click display, the screen which comes next is the one i want to get it from my alv.

For achieving it i have done recording and the code seems to work perfectly fine in ALL screens mode.but in NO screens mode the subrc of call transaction is returning 1001. in message sy-msgno i can see the message "no batch input for screen". i am not able to understand where i am going wrong or am i missing some thing. Please help me resolving this issue.

Also i there any more possible alternative to this like FM ,bapi or service function which can directly show me that trip screen.

Thank you.

BR

shadab

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 26, 2015 at 04:23 AM

    Hi

    Try passing Mode = 'E' and Update = 'A'.

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2015 at 01:28 PM

    Hi,

    Can you please check if BAPI_TRIP_REPORT_GET_DATA would suffice your purpose?

    Thanks & regards,

    Monami.

    Add comment
    10|10000 characters needed characters exceeded