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 - operation-decription INITIAL

Former Member
0 Likes
1,010

Hi all,

i'm trying to use BAPI_ALM_ORDER_MAINTAIN to add new operations.

If i pass values to STANDARD_TEXT_KEY and to DESCRIPTION i'll find on operation only the standard key.

The standard KEY is defined without any text in transaction CA10.

If i try to set description using IW32 i have no problem, both elements are filled.

Best regards,

SAPDUMMY

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
923

Anybody can help me?

7 REPLIES 7
Read only

Former Member
0 Likes
924

Anybody can help me?

Read only

0 Likes
923

Hi,

Please elaborate your question .If it is a issue with text fill the IT_TEXT,IT_TEXT_LINES table parameter

Regards,

Madhu

Edited by: madhurao123 on Feb 2, 2011 4:27 PM

Read only

0 Likes
923

Hi madhurao123, thanks for your answer.

My issue is not about text.

I'm talking about two operations fields (BAPI_ALM_ORDER_OPERATION-STANDARD_TEXT_KEY and DESCRIPTION).

If i use a STANDARD_TEXT_KEY that has not a text (transaction CA10) and i fill the field DESCRIPTION, i'll have an operation with the standard_text_key and not with the description (blank).

This is my code:

CONCATENATE ord noper INTO t_methods-objectkey.

t_methods-refnumber = nmethop.

t_methods-objecttype = 'OPERATION'.

t_methods-method = 'CREATE'.

APPEND t_methods.

CLEAR t_methods.

t_operation-activity = noper.

t_operation-control_key = 'Z002'.

t_operation-standard_text_key = 'PREV'.

t_operation-work_cntr = tg_header-mn_wk_ctr.

t_operation-plant = zpmtb0001-iwerk.

CONCATENATE 'Preventivo:' preventivo '/' 'Versione:' simulazione

INTO t_operation-description SEPARATED BY space.

t_operation-acttype = 'BO0003'.

t_operation-mrp_relevant = '1'.

t_operation-quantity = '1'.

t_operation-base_uom = 'NUM'.

t_operation-langu = 'I'.

APPEND t_operation.

CLEAR t_operation.

t_operation_up-activity = 'X'.

t_operation_up-standard_text_key = 'X'.

t_operation_up-control_key = 'X'.

t_operation_up-work_cntr = 'X'.

t_operation_up-plant = 'X'.

t_operation_up-description = 'X'.

t_operation_up-acttype = 'X'.

t_operation_up-mrp_relevant = 'X'.

t_operation_up-quantity = 'X'.

t_operation_up-base_uom = 'X'.

t_operation-langu = 'X'.

APPEND t_operation_up.

CLEAR t_operation_up.

Thanks.

Read only

0 Likes
923

HI SAPDUMMY,

I have the same issue ....

Can someone help us?!?

Any ideas/suggestions ?

Thanks

SAP XXX

Read only

0 Likes
923

Hi,

have you tried before to enter the field PREV and then modify field DESCRIPTION

Regards

SAP XXX

Read only

0 Likes
923

Thanks, it runs

Read only

0 Likes
923

Good.

From,

Madhu.