cancel
Showing results for 
Search instead for 
Did you mean: 

GUID issue.

Former Member
0 Kudos

Hi,

i am creating transport ZONE by using BAPI "/SCTM/BAPI_ZONE_SAVEMULTI"

I am facing problem with GUID.

If I will provide GUID which is created in my program it will create.

But if I will delete the same from t code /n/scmtms/zone than issue will come becaouse it will not create the same ZONE again.

becaouse BAPI will always try to insert records in table /sapapo/loc. but std transaction will never delete record even it will just mark deletion flag.

so my BAPI is not workiing.

any idea how can I use to for ZONE creation.

Can we create ZONE withoput providing GUID.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Adding few more analysis for this problem.

Always SCU error used to come.

I found that this bapi is not creating SCU(supply chain unit)

Can any body tell me BAPI /Function module/ Class method which will create SCU.

So that I can see that in transaction code "/n/scmb/scumain".

I also find that once std transaction will created ZONE it will create same GUID in table like:

/SCMB/TOENTITY Supply Chain Unit: Header Table

/SCMB/TOENTITYAK Supply Chain Unit: Alternative Key

/SCMB/TOENTITYMP Supply Chain Unit: Mapping

/SCMB/TOENTITYT Supply Chain Unit: Text

BAPI is not capable to create same records in those table. so asking any thing which can create SCU.

Regards,

AMIT