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

Delete Barcode of Article using BAPI_MATERIAL_MAINTAINDATA_RT

Former Member
0 Likes
1,065

Hello,

We are using SAP ECC 6.0 IS Retail. Im trying to use BAPI_MATERIAL_MAINTAINDATA_RT to delete barcode. I have filled the following table parameters:

HEADDATA

MATERIAL

BASIC_VIEW = 'X'

INTERNATIONALARTNOS

FUNCTION = '003' --for deletion

MATERIAL

EAN_UPC - filled in with the barcode

The result is a message of type 'S' but the barcode was not deleted. When i check the log in SLG1, it has messages but none refers to barcode.

Anyone with idea is highly appreciated.

Thanks,

sid

3 REPLIES 3
Read only

mvoros
Active Contributor
0 Likes
764

Hi,

do you call BAPI_TRANSACTION_COMMIT after your BAPI? Have a look at documentation for this BAPI in SE37.

Cheers

Read only

Former Member
0 Likes
764

Hi Martin,

I run the BAPI using SE37 using the test sequence menu as follows:


TRANSACTION_BEGIN
BAPI_MATERIAL_MAINTAINDATA_RT
BAPI_TRANSACTION_COMMIT
TRANSACTION_END

I have read the documentation of the BAPI but it doesn't seem helps. I also tried other relevant table parameters like UNITSOFMEASURE and VENDOREAN filling up the EAN_UPC, MATERIAL, UNIT, UNIT_ISO, EAN_CAT in combinations but no luck.

Thanks,

Sid

Read only

mvoros
Active Contributor
0 Likes
764

Hi,

have you checked OSS notes on service.sap.com/notes? There are some notes related to deleting EANs such as 841965. You can also try to debug it.

Cheers