‎2013 Jun 16 6:20 PM
I am try to completed following tutorial in sap technical .com
http://saptechnical.com/Tutorials/Workflow/Table/events.htm.
but when i try to insert new entry in to table ZEMPDETAIL saving time it will pop up
following error Description. (attached Error.txt)
then I checked and all re activated all subroutine, include and functional groups. this error popup
inside the UPDATE_TAB subroutine following statement.
IF x_header-frm_on_new NE space.
PERFORM (x_header-frm_on_new) IN PROGRAM. "Zp 05
ENDIF.
‎2013 Jun 17 12:56 AM
Hi,
Check the value in variable x_header-frm_on_new that should have a valid name of a perform and also you need the program name in which the perform exist after IN PROGRAM. The general call pattern is
PERFORM (<fsubr>)[IN PROGRAM (<fprog>)][USING ... <pi>... ]
[CHANGING... <pi>... ]
[IF FOUND].Cheers,
Arindam
‎2013 Jun 18 7:30 PM
Hi Arindam.
Thanks your reply,
value variable is pass the correct subroutine. but this subroutine running on different include rather than perform statement execute include, But this include are in same program.
I think this is can't be problem.
‎2013 Jun 18 11:05 PM
Hi,
Got a bit confused
What is include for
but this subroutine running on different include
and whats the include for
perform statement execute include
Please note when you are calling the subroutine via perform ion the main program the include in which the subroutine exist should either be included with an INCLUDE <include_prog> statement or called as stated before.
Cheers,
Arindam