on 04-29-2008 3:20 PM
Hi there,
I am creating PO's in ECC 6.0 with reference to a contract that exists in SRM using BAPI_PO_CREATE1 and my only problem is the validation it is doing on the agreement (I think field EKKO-KONNR) that does not exist in ECC 6.0 but only in SRM.
I have been running CHECKS in ME22N on the PO I have created and it always brings up "Document XYZ does now exist". I understand it is doing a check in table EKKO for the contract and doesn't find it that is why it is complaining......
The only way I can think of is to get a reference to the "message manager" and delete that message from it......
When I debug it calls function module ME_EKKO_SINGLE_READ and this raises message "Document XYZ does not exist"....
I have found a BADI that I am thinking of implementing called ME_PROCESS_PO_CUST....it has a "CHECK" method that I may be able to use to REMOVE messages from the message manager (by including an include calld MM_MESSAGES_MAC)...
Any ideas on this? Surely a person can stop validation on the contract / agreement reference when checking a PO?
Thanks in advance
Regards
Lynton
Hi
If the contract is created in SRM, are you replicating the same in ECC 6.0.
If not then you cannot create a PO with reference to the contract which does not exist in ECC 6.0.
In ECC 6.0 the filed EKKO - KONNR exists.
Changing the message may not help you...
Thanks & Regards
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
I have done this before using the extended classic scenario in SRM and it worked perfectly. Now we are only using the CLASSIC scenario and I was hoping there would be a way around the validation of the contract during PO creation.
I think the only way for now is to put the contract reference into another field for now.....like a "tracking number" field or something.....
Can you think of any other way?
Thanks
Lynton
Hi,
It must have changed in ECC 6.0. You can also do it via customizing as Mani has suggested.
Materials Management --> Purchasing --> Environment Data --> Define Attributes of System Messages
Cheers !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
I have tried exactly what you recommended......and in theory it should work but it unfortunately doesn't. If I go into ME22N and enter in a specific PO and then change the "agreement" to something invalid it still brings up and ERROR message, not a warning ....something like "Document 11111 does not exist".....
I did exactly as you said in SPRO and even added the user parameter in SUO1 for myself....and logged off and back onto SAP....still doesn't work ;-(
But thanks anyway, I appreciate the help
Lynton
Hi,
Transaction is OME0. Add message 06 019 and flag it as "W".
Cheers !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Stopping validation would mean changing standard SAP functionality. Instead you could change the message from 'error' to 'information'.
Cheers !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.