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

BAPI - urgent

Former Member
0 Likes
635

Hi guys,

i got error message as following this is module program

sales org: FR13 , Ditribution channel : FE sold to party :3548 Project extn :68272

thén click CREATE Project button it will take to next screen after entering COST CENTER ; NET VALUE then Click SAVE button it is giving error like this ...can you help me out

ABAP runtime errors MESSAGE_TYPE_X

Information on where termination occurred

The termination occurred in the ABAP/4 program "SAPLPS_BAPI " in

"CHK_PRECOMMIT".

The main program was "SAPDY01A ".

The termination occurred in line 24

of the source code of program "LPS_BAPIF01 " (when calling the editor 240)

  • ------------------------------------------------

***INCLUDE LPS_BAPIF01 .

  • ---------------------------------------------

*&

*& Form CHK_PRECOMMIT

*&

  • check precommit

FORM chk_precommit.

DATA: chk_precommit_ok TYPE c,

chk_error type c.

CALL FUNCTION 'PS_FLAG_GET_GLOBAL_FLAGS'

IMPORTING

e_precommit_ok = chk_precommit_ok

e_error = chk_error.

IF chk_precommit_ok = space.

  • Precommit wurde noch nicht aufgerufen.

MESSAGE x030(cnif_pi).

ELSEIF chk_precommit_ok <> 'Y'.

  • Precommit wurde nicht erfolgreich durchlaufen.

MESSAGE x033(cnif_pi).

elseif not chk_error is initial.

  • At least one single BAPI failed

Thanks

Rajendren

2 REPLIES 2
Read only

former_member199581
Active Participant
0 Likes
487

Could you please post here the TCODE you're using?

Read only

0 Likes
487

Tcode - YCJ20b