‎2011 Feb 02 11:37 AM
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
‎2011 Feb 02 3:17 PM
‎2011 Feb 02 3:17 PM
‎2011 Feb 02 3:26 PM
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
‎2011 Feb 02 3:58 PM
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.
‎2011 Feb 02 4:29 PM
HI SAPDUMMY,
I have the same issue ....
Can someone help us?!?
Any ideas/suggestions ?
Thanks
SAP XXX
‎2011 Feb 03 10:24 AM
Hi,
have you tried before to enter the field PREV and then modify field DESCRIPTION
Regards
SAP XXX
‎2011 Feb 09 11:32 AM
‎2011 Feb 09 11:34 AM