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_ALM_ORDER_MAINTAIN Problem

Former Member
0 Likes
2,158

Hai Experts,

I need help in here. I was uploading Word Order Data with IW31, with custom order types, in my case, the order types are ZCPM and ZPSS.

I have a lot custom order types, only those two (ZCPM and ZPSS) doesn't work with the BAPI_ALM_ORDER_MAINTAIN. Others are succesfull creating new work order.

I give a data example, order type, that I have been succeed with.

AUART : ZBDO [Order Type]

IWERK : DP02 [Plant]

VAPLZ : BLW-MOLD [Mn.Wk.Ctr]

INGRP : BLW [Planner Group]

ILART : 101 [PMActType]

ANLZU : 1 [Syst.Condition, this is optional]

EQUNR : 1000008 [Equipment Number]

GSTRP : 20101125 [Start date]

GLTRP : 20101125 [Finish date]

PRIOK : 2 [Priority, this is optional]

KTEXT : test 123 [Header Text/Description]

PARNR : P6.ENGN.SH [Person Responsible]

VORNR : 0010 [Operation Activity]

LTXA1 : test item 0010 [Short Text for operation per item]

TXLINE : [Optional, this is operation long text per item]

ARPBL : BLW-MOLD [Operation Work Center]

WERKS : DP02 [Operation Plan]

STEUS : PM02 [Control Key]

LSTAR : [optional, Activity Type]

ARBEH : 1 [Work]

ARBEI : H [UoM Work]

ANZZL : 1 [Number]

MATNR : 40000094 [Material Number]

POSTP : L [Item Category]

MENGE : 100 [Qty]

MEINS : LBR [UoM Menge]

BUKRS : X001 [Company Code]

KONTY : CTR [Condition Type for Settlement Rule]

EMPGE : 102220 [Settlement Receiver]

PERCENTAGE : [this settlement percentage]

PERBZ : PER [Settlement Type]

This data works fine with the upload program, but when I tried to upload ZCPM and ZPSS, they're getting some error..

When I tried to upload ZCPM, the error the BAPI threw is E CP 404 Enter another Operation number,

and with ZPSS, S IW 526 No Profile Determined.

The data in ZCPM and ZPSS is similiar to ZBDO. Anyone have any idea? please help me!

6 REPLIES 6
Read only

Former Member
0 Likes
1,188

I don't have this part of SAP, so I can't check...but for your two errors:

1. Check to see if the operator (VORNR) you're submitting actually exists on the order; and

2. Sounds like an error in the configuration for the type.

Read only

0 Likes
1,188

Hello BreakPoint, thanks for responding.

I think the VORNR is right, it worked with other order type, only with those two order types.

So I decided to use separated program with BDC. And it works!

Read only

Former Member
0 Likes
1,188

I solved the problem myself

Read only

0 Likes
1,188

hi jes ,

could you plz tel how you solve the issue.

i am also facing same problem.

regrads

Indira

Read only

0 Likes
1,188

Hi Indira,

In the configuration, when you create a work order, 1st operation is created automatically. So when your using BAPI to create the work order check the operation number that your passing.

Regards,

Naveen.

Read only

0 Likes
1,188

hi Naveen,

thanks for your reply .

it works fine

regrads

Indira