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 error

Former Member
0 Likes
1,045

hi mates,

im using bapi_goodsmvt_create in my prog. for transfer posting(mb1b). the following error msg is displayed wen i run my prog.

it says storage location zpl3 not supported.

whether its prog error or functional error. need help?

regards

mano

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
959

Hi manoj,

1. This seems to a functional error. There is

some problem in the source data.

2. To cross-verify, suppose we run that transaction manually,

with the same data (as that of bapi),

then the same error will come on screen.

3. storage location zpl3 not supported

probably this location does not exist,

or the existing entry is not permitted for this location.

regards,

amit m.

7 REPLIES 7
Read only

Former Member
0 Likes
960

Hi manoj,

1. This seems to a functional error. There is

some problem in the source data.

2. To cross-verify, suppose we run that transaction manually,

with the same data (as that of bapi),

then the same error will come on screen.

3. storage location zpl3 not supported

probably this location does not exist,

or the existing entry is not permitted for this location.

regards,

amit m.

Read only

0 Likes
959

hi,

but i have run the transaction manually also it works fine there,

in that case wat would be the problem?

thanks

mano

Read only

0 Likes
959

Hi again,

1. Are other records working properly with bapi.

2. One problem could be that the field values

are not going properly in the bapi. - just a guess.

regards,

amit m.

Read only

Former Member
0 Likes
959

hi manoj,

I have checked the transaction MB1b there in storage location its accepting any kinda data you give in Even "MANO"..it seems like there are not validations being done to that field (STORAGE LOCATION) try to complete the transaction and try to save it if it does not throw the same error then its a problem in BAPI...

I've checked the bapi there is a piece of code in the bapi Shown below where Storage location LGORT is validated against Value table T001L and error message is raised check if this is where your getting that error.

----- Lagerort vorhanden ? -


IF NOT ( STGE_LOC_RA-LOW IS INITIAL AND STGE_LOC_RA-HIGH IS INITIAL ).

SELECT SINGLE * FROM T001L WHERE WERKS IN PLANT_RA

AND LGORT IN STGE_LOC_RA.

IF NOT SY-SUBRC IS INITIAL.

MOVE STGE_LOC_RA-LOW TO SY-MSGV1.

MOVE PLANT_RA-LOW TO SY-MSGV2.

CALL FUNCTION 'BALW_BAPIRETURN_GET2'

EXPORTING

TYPE = 'E'

CL = 'M3'

NUMBER = '103'

PAR1 = SY-MSGV1

PAR2 = SY-MSGV2

  • PAR3 = ' '

  • PAR4 = ' '

  • LOG_NO = ' '

  • LOG_MSG_NO = ' '

PARAMETER = RET_PARAMETER

ROW = RET_ROW

FIELD = RET_FIELD

IMPORTING

RETURN = RETURN.

APPEND RETURN.

ENDIF.

ENDIF.

If after completely filling up the transaction MB1b and saving it if it doesnt throw any error for storage location ZPL3 then check for OSS notes if any for that BAPI..

This might help..

Read only

0 Likes
959

hi,

now i have managed with that error but now im getting somethnig new. the msg says:

Qty and / or "delivery completed" ind. or final issue ind. are missing

wat is that im missing here?

regards

mano

Read only

0 Likes
959

Hi Gurus

I am using the extension parameters of BAPI to load some customized fields for the object-BUILDING in REAL ESTATE MODULE using LSMW-BAPI.

Here's the code-

*Target Field: E1BPPAREX-VALUEPART1 Data part of BAPI extension paramet

DATA:

lt_extension_in TYPE TABLE OF bapiparex,

ls_extension_in TYPE bapiparex,

ls_ci_data TYPE rebd_building_ci.

ls_ci_data-zgisx = hsouthernwater-zgisx.

ls_ci_data-zgisy = hsouthernwater-zgisy.

ls_ci_data-zdeed = hsouthernwater-zdeed.

ls_ci_data-zland = hsouthernwater-zland.

ls_ci_data-zsite = hsouthernwater-zsite.

ls_extension_in-structure = 'CI_DATA'.

ls_extension_in-valuepart1 = ls_ci_data.

CALL METHOD cl_abap_container_utilities=>fill_container_c

EXPORTING

im_value = ls_ci_data

IMPORTING

ex_container = ls_extension_in-valuepart1

EXCEPTIONS

OTHERS = 0.

e1bpparex-valuepart1 = ls_extension_in-valuepart1.

I AM GETTING THE ERROR IN THE LINE-

ls_extension_in-valuepart1 = ls_ci_data.

SAYING THAT

ls_extension_in-valuepart1 and ls_ci_data. are mutually not convertible

I have written the same code for 3 objects in RE-The code was working fine in those objects.But in object- building i am getting this error..

Anyone out there please help me regarding this..

Thanks in advance.

Read only

Former Member
0 Likes
959

Hi

Just for ur information. I was receiving the same message in MIGO, the reason was there was no quantity mentioned in the quantity field.

MRao