2010 Jul 09 6:58 AM
Hi guys,
We are facing a dump error in GB06 tcode.Whenever a reverse posting is done its going for dump.It says -
The following sytax error occured in the program SAPFGSTO and in include FGSTOI02 and in line 16.When i checked in line 16, a FM -
case used_v1-tab.
when 'GLPCA'.
CALL FUNCTION 'G_PCA_0_POSTING' IN UPDATE TASK
TABLES
INT_GLPCA = IGLPCA
INT_GLPCA_ADD = IGLPCA_ADD.
WHEN 'GLPCP'.
CALL FUNCTION 'G_PCA_1_POSTING' IN UPDATE TASK
TABLES
INT_GLPCP = IGLPCP
INT_GLPCP_ADD = IGLPCP_ADD.
This line is going for dump.Since its a standard program and checked for any syntax error -
The field IGLPCA is unknown but there is a similar name with 'GLPCA'.We are into ECC6.0 and i compared the same include with 4.0 and the above code is not present there and its running fine.In include FGSTOI02(where iam facing dump) the above line is commented -
----
Created by : DDIC
Date : 05/16/09
Time : 04:01:43
Generator : RGGSTORN
----
So do i need to check in program RGGSTORN or in the same include.How i need to come over with this issue?
2010 Jul 09 7:36 AM
Hi ,
Please check include FGIDBF27 of the main program RGGSTORN.
Check if the calling program is 'RGALLOC1' ... look at the coding from line 42 ...
*Special coding for GLPCA and GLPCP because of ALE
IF NOT ld_gen_alloc IS INITIAL.
if progroup = 'A'.
PERFORM append-c USING:
0 'case used_v1-tab.' 0 2,
0 'when ''GLPCA''.' 0 2,
0 'CALL FUNCTION ''G_PCA_0_POSTING'' IN UPDATE TASK' 0 2,
0 'TABLES' 0 2,
0 'INT_GLPCA = IGLPCA' 0 0, < -
0 'INT_GLPCA_ADD = IGLPCA_ADD.' 0 0,
0 'WHEN ''GLPCP''.' -6 2,
0 'CALL FUNCTION ''G_PCA_1_POSTING'' IN UPDATE TASK' 0 2,
0 'TABLES' 0 2,
0 'INT_GLPCP = IGLPCP' 0 0,
0 'INT_GLPCP_ADD = IGLPCP_ADD.' 0 0,
0 'WHEN OTHERS.' -6 2.
endif.
ENDIF.
Regards,
Srini.
Hi guys,
We are facing a dump error in GB06 tcode.Whenever a reverse posting is done its going for dump.It says -
The following sytax error occured in the program SAPFGSTO and in include FGSTOI02 and in line 16.When i checked in line 16, a FM -
case used_v1-tab.
when 'GLPCA'.
CALL FUNCTION 'G_PCA_0_POSTING' IN UPDATE TASK
TABLES
INT_GLPCA = IGLPCA
INT_GLPCA_ADD = IGLPCA_ADD.
WHEN 'GLPCP'.
CALL FUNCTION 'G_PCA_1_POSTING' IN UPDATE TASK
TABLES
INT_GLPCP = IGLPCP
INT_GLPCP_ADD = IGLPCP_ADD.
This line is going for dump.Since its a standard program and checked for any syntax error -
The field IGLPCA is unknown but there is a similar name with 'GLPCA'.We are into ECC6.0 and i compared the same include with 4.0 and the above code is not present there and its running fine.In include FGSTOI02(where iam facing dump) the above line is commented -
----
Created by : DDIC
Date : 05/16/09
Time : 04:01:43
Generator : RGGSTORN
----
So do i need to check in program RGGSTORN or in the same include.How i need to come over with this issue?
2010 Jul 09 7:25 AM
Hi Priyank,
Can you tell me the include name where the FM is called. Coz I have checked include FGSTOI02 and didn't see the above code there..
2010 Jul 09 7:36 AM
Hi ,
Please check include FGIDBF27 of the main program RGGSTORN.
Check if the calling program is 'RGALLOC1' ... look at the coding from line 42 ...
*Special coding for GLPCA and GLPCP because of ALE
IF NOT ld_gen_alloc IS INITIAL.
if progroup = 'A'.
PERFORM append-c USING:
0 'case used_v1-tab.' 0 2,
0 'when ''GLPCA''.' 0 2,
0 'CALL FUNCTION ''G_PCA_0_POSTING'' IN UPDATE TASK' 0 2,
0 'TABLES' 0 2,
0 'INT_GLPCA = IGLPCA' 0 0, < -
0 'INT_GLPCA_ADD = IGLPCA_ADD.' 0 0,
0 'WHEN ''GLPCP''.' -6 2,
0 'CALL FUNCTION ''G_PCA_1_POSTING'' IN UPDATE TASK' 0 2,
0 'TABLES' 0 2,
0 'INT_GLPCP = IGLPCP' 0 0,
0 'INT_GLPCP_ADD = IGLPCP_ADD.' 0 0,
0 'WHEN OTHERS.' -6 2.
endif.
ENDIF.
Regards,
Srini.
2010 Jul 09 7:51 AM
Below is code availabe in the include FGIDBF27.When i double click the FM - G_PCA_0_POSTING, we have
1)RGALLOC1
2)RGALLOC1_NACC
3)RGGSTORN
4)SAPFGIDB programs.
CASE IF1.
when '1'. "Durchbuchung im Batch -> kein Verbucher
perform append-c using 0 'IF WF-DIRECT = ''X''. ' 0 0.
string = 'CALL FUNCTION ''G_GLDB_POSTING_x'' '.
(jetzt mit SET UPDATE TASK LOCAL)
WHEN '2'. "Durchbuchung im Online -> Verbucher
perform append-c using 0 'IF WF-DIRECT NE ''X''. ' 0 0.
STRING = 'CALL FUNCTION ''G_GLDB_POSTING_x'' IN UPDATE TASK'.
"#EC NOTEXT
WHEN '3'. "Durchbuchung mit Allocation
*Special coding for GLPCA and GLPCP because of ALE
if progroup = 'A'.
PERFORM append-c USING:
0 'case used_v1-tab.' 0 2,
0 'when ''GLPCA''.' 0 2,
0 'CALL FUNCTION ''G_PCA_0_POSTING'' IN UPDATE TASK' 0 2, --> This FM
0 'TABLES' 0 2,
0 'INT_GLPCA = IGLPCA' 0 0,
0 'INT_GLPCA_ADD = IGLPCA_ADD.' 0 0,
0 'WHEN ''GLPCP''.' -6 2,
0 'CALL FUNCTION ''G_PCA_1_POSTING'' IN UPDATE TASK' 0 2,
0 'TABLES' 0 2,
0 'INT_GLPCP = IGLPCP' 0 0,
0 'INT_GLPCP_ADD = IGLPCP_ADD.' 0 0,
0 'WHEN OTHERS.' -6 2.
endif.
Kiran the include name is FGSTOI02.And the code is auto generated.I guess some configuration has been done and based on that the code have been generated.
2010 Jul 09 8:08 AM
Hi,
You'll get the dump only if it has "RGALLOC1" in the SYSTEM_CALLSTACK.
I do not have this in my system and able to avoid the dump.
Regards,
Srini.
2010 Jul 09 8:12 AM
So what i need to do now?? please provide me any solution for this.Since its a standard thing i cant play with this code.
2010 Jul 09 9:04 AM
Hi,
There should not be any entry coming with "RGALLOC1" in the FM "SYSTEM_CALLSTACK" ..
This has to be removed .. but not sure how this is done. Might be your Functional team would throw some light on this.
Regards,
Srini.
2011 Mar 04 9:16 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |