on 2018 Jan 03 12:53 PM
Hello Everyone,
I am currently working on one requirement w.r.t., T-Code WCOCO, where I have to perform the following:
1. Release Condition Contract
2. Create/Update Header Text
3. Create/Update User Statuses
I am using the BAPI: BAPI_CONDITION_CONTRACT_CREATE for creation and BAPI_CONDITION_CONTRACT_CHANGE for updating the condition contracts.
To achieve release condition contract, I am passing blank value to field CONDITIONKEYDATAIN-STATUS
To achieve header text creation, I am passing the below values to structure HEADTEXTIN: LINE_NUMBER = 000001, TEXT ID = Z001, LANGU and TEXT_LINE
But the BAPI creates a contract with no header text and the contract is still not released. Please help me out with this as I am not able to figure it out on my own. Also please advice on approach to create/update the user statuses.
-
Thanks and Best Regards,
Naresh
And for the second issue related to Release, you have to pass CONDITIONKEYDATAINX-STATUS = 'X' along with CONDITIONKEYDATAIN-STATUS = blank.
Please do notice the difference in both parameters (both are different parameters):
CONDITIONKEYDATAIN-STATUS = blank.
CONDITIONKEYDATAINX-STATUS = 'X' (Do pass the ORDER_KEY and other necessary/available fields of this parameter as well)
Hope this solves your second issue.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.