Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runtime error during automatic purchase order

Former Member
0 Likes
966

Dear Experts,

While i am trying to post automatic purchase order through tcode MB01..system is showing an run time error.

Runtime error RAISE_EXCEPTION

Date and Time 06/09/2009 14:26:03

hort dump has not been completely stored (too big)

Short text

Exception condition "WRONG_PARAMETERS" raised.

What happened?

The current ABAP/4 program encountered an unexpected

situation.

Error analysis

A RAISE statement in the program "SAPLGLT2" raised the exception

condition "WRONG_PARAMETERS".

Since the exception was not intercepted by a superior

program, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

Program SAPLGLT2

Include LGLT2F07

Row 19

Module type (FUNCTION)

Module Name G_BEB_MOVE_ACCIT_TO_STRING

rce Code Extract

e SourceCde

*1 ----


*

*2 * Created by : SAP* **

*3 * Date : 25.02.2007 **

*4 * Time : 10:01.44 **

*5 ----


*

*6 * This Report is generated by Report RGUGGLT0 **

*7 ----


*

8

9 IF I_LEDGER = SPACE.

10 RAISE WRONG_PARAMETERS.

11 ELSEIF SY-MANDT = '800' AND I_LEDGER = 'SP'.

12 IF NOT i_accit-GSBER IS INITIAL.

13 E_SPLIT+000000(000004) = I_ACCIT-GSBER .

14 ENDIF.

15 E_PARTNER+000000(000004) = I_ACCIT-PARGB .

16 E_BALANCE+000000(000004) = I_ACCIT-GSBER .

17 E_SPL_PAR+000000(000004) = I_ACCIT-GSBER .

18 ELSE.

>> RAISE WRONG_PARAMETERS.

20 ENDIF.

Kindly help me please. Because of this, i cant able to post.

Regards,

Prasath

1 ACCEPTED SOLUTION
Read only

jaideepsharma
Active Contributor
0 Likes
749

Hi,

check sap note 985672,705099 and 1295877. Hope this would solve your problem.

KR Jaideep,

4 REPLIES 4
Read only

jaideepsharma
Active Contributor
0 Likes
750

Hi,

check sap note 985672,705099 and 1295877. Hope this would solve your problem.

KR Jaideep,

Read only

0 Likes
749

Hi Sharma,

I dont have access to see any notes. I dont have user id. Actually i dont know where i have to see that notes.kindly let me know that plz.

Regards,

Prasath

Read only

0 Likes
749

Hi,

go to transaction snote in your system and press ctrl + F8 to download the sapnote 985672.

then go through the instructions in the note and implement it in the system.

As per the note corrections you need to do below depicted changes in the function module.

$$----


$$

$ Correction Inst. 0120031469 0000514577 $

$ Req. Corr. Instructions 0120031469 0000486230 Note 0000942542 $

$----


$

$ Valid for : $

$ Software Component SAP_APPL R/3 Standard $

$ Release 500 To SAPKH50014 $

$$----


$$

&----


*& Object FUNC G_BEB_BALANCE_DOC

*& Object Header FUGR GLT0

&----


*& FUNCTION G_BEB_BALANCE_DOC

&----


...

IF ld_baldoc_part <> xon.

  • find items with partner assignment is set.

CALL FUNCTION 'G_BEB_MOVE_ACCIT_TO_STRING'

EXPORTING

*>>>> START OF DELETION <<<<<

i_ledger = id_ledger

*>>>> END OF DELETION <<<<<<<

*>>>> START OF INSERTION <<<<

i_ledger = ld_ledger

*>>>> END OF INSERTION <<<<<<

...

&----


Don't do it manually when you will implement the note it will take care of corrections by itself.

KR Jaideep,

Read only

former_member302911
Active Participant
0 Likes
749

Hi,

you need to search where G_BEB_MOVE_ACCIT_TO_STRING is used in MB01 and check the parameter type.

Angelo.