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

Error in BAPI_NETWORK_MAINTAIN when create external processing Tab

Former Member
0 Likes
879

Dear experts,

I would like to create Network Activity with BAPI_NETWORK_MAINTAIN for EXTERNAL PROCESSING TAB, please see the following for the sample data which I filled in 'Test data directory'.

When I execute, I got the Error Message 'Enter activity quantity and base unit of measure' in structure E_MESSAGE_TABLE, but I cannot find these fields in the I_ACTIVITY structure, please advise how can I solve this problems....

By the way I had saw some user defined fields in the structure I_ACTIVITY such as: USER_FIELD_KEY,USER_FIELD_CHAR20_1, USER_FIELD_CHAR20_2,...., USER_FIELD_FLAG2.

Can I apply these fields to solve my problem? If yes, please give me some sample code...

Ps. I have used the control key: PS02, 'coz it's mean 'external process'.

*-----I_METHOD_PROJECT

REFNUMBER 000001

OBJECTTYPE NETWORKACTIVITY

METHOD CREATE

OBJECTKEY 0000040001200030

REFNUMBER

OBJECTTYPE

METHOD SAVE

OBJECTKEY

*-----I_NETWORK

NETWORK 4000120

*-----I_NETWORK_UPDATE

NETWORK X

*-----I_ACTIVITY

NETWORK 4000120

ACTIVITY 0030

CONTROL_KEY PS02

PLANT 1001

DESCRIPTION ACTIVITY 30

VENDOR_NO 10000003

PRICE 5.00

PRICE_UNIT 1

COST_ELEM 6136808

CURRENCY EUR

CURRENCY_ISO EUR

PURCH_ORG 1001

PUR_GROUP 001

MATL_GROUP 10001

PROJECT_DEFINITION Z/019

WBS_ELEMENT LEVEL-00.11

OPERATION_MEASURE_UNIT EA

OPERATION_MEASURE_UNIT_ISO EA

*-----I_ACTIVITY_UPDATE

NETWORK X

ACTIVITY X

CONTROL_KEY X

PLANT X

DESCRIPTION X

VENDOR_NO X

PRICE X

PRICE_UNIT X

COST_ELEM X

CURRENCY X

CURRENCY_ISO X

PURCH_ORG X

PUR_GROUP X

MATL_GROUP X

ACTIVITY_COSTS X

PROJECT_DEFINITION X

OPERATION_MEASURE_UNIT X

OPERATION_MEASURE_UNIT_ISO X

Thanks in advances,

Sam

2 REPLIES 2
Read only

Former Member
0 Likes
642

Dear experts,

Any Idea?

Thanks,

Sam

Read only

Former Member
0 Likes
642

Dear all,

Anybody give me some idea?

Thanks,

Sam