on 03-30-2016 10:57 PM
We use a third party to maintain our vendor master information and they send us XML messages for vendor master data to our PI system 7.31.
If I map the vendor master XML message to IDOC CREMAS message type CREMAS04, will the IDOC CREMAS04 itself be enough to create or update the vendor master data in ECC?
Our current ECC system is SAP 701.
Do I still need to create the ADRMAS IDOC?
Thanks!
Fisher Li
Hi Fisher
CREMAS alone is enough to create/update the vendor master in your ECC system. CREMAS IDoc also contains address fields which will be used to create the corresponding address record for the vendor.
Regards
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Eng Swee!
When I tested and tried to create the vendor master with the CREMAS04 in T code WE19, I got the error message, saying "Partner profile inbound not available".
My question will be:
Is there a field in CREMAS04 to indicate that this record is used for creating a new vendor?
Is MSGFN the field used to indicate that?
Thanks!
Fisher
Hi,
MSGFN is used in various segments of CREMAS to indicate create/change option:
MSGFN = 009 -> Creation
MSGFN = 004 -> Change.
To check various options available, go to WE31 for the required segment. Check the fields in segment definition. From there double click on the data element and then go to its domain and check the allowed values.
I do not know IDOC CREMAS04, so I used T code BD14 to create a outbound CREMAS04 from one of our vendor.
Then I tried to create an inbound IDOC CREMAS04 by using T code WE19.
The fields under the segments E1LFA1M and E1LFB1M between the outbound CREMAS04 and inbound CREMAS04 are so different, I had difficult time to figure out what fields are required for the inbound CREMAS04.
After several trials, I got the error message "Trans. XK01 : CoCde not entered; company code area not being edited".
Where should I enter the CoCde and company code area in the inbound IDOC CREMAS04? I entered the company code in BUKRS under the E1LFBWM, but I still got the same error.
Thanks in advance!
My suggestions are as follows:
1. Create or ask a FI/MM functional person to create vendor with bare minimum fields in the foreground using XK01/FK01. While he enters the data..note down all the fields
2. Identify the corresponding fields in the IDoc
3. In WE19, enter these fields and mark MSGFN = 009 and trigger inbound processing
This way, mandatory data will not be missed and vendor will be created successfully. Some fields, if present, like language etc. can be passed explicitly in idoc
I found one user exit EXIT_SAPLKD01_001 under project VSV00001 (T code SMOD).
This one will work for me when I send vendors out as IDOC CREMAS04.
Thanks!
Fisher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are testing internally, say using WE19 such break points would be effective. However, if you are using from outside ECC then you'll have to use external break point and set an appropriate user for external debugging in the settings. Also check if this exit is indeed called while posting the idoc.
Eng Swee,
Thank you!
Do you know if there is an user exit for IDOC CREMAS04?
Fisher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi and Nitin,
Thank you for response.
I had to go to IMG -> SAP NetWeaver -> Application Server -> IDOC Interface/Application Link Enabling (ALE) -> Modeling and Implementing Business Process -> Global Organizational Units ->
Cross-System Company Codes to set up the Global Company Code.
After I did that, I will not get the Cross-system company code error and I successfully created a vendor with IDOC CREMAS04.
Since we never have cross-system company code set up before, does any one know is there side effect for having cross-system company code? What does the cross-system company code do?
Thanks!
Fisher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi and Eng Swee,
Thank you both.
Now I can send an xml message to our PI/XI system and map the xml message to IDOC CREMAS04 in PI, then send the IDOC to our ECC system.
The IDOC will fail and get an error "Cross-system company code 0011 does not exist".
But I can successfully create a vendor using the exactly same IDOC CREMAS04 with T code WE19 even I also got an error "Cross-system company code 0011 does not exist".
Do you guys know how to fix this problem?
Thanks!
Fisher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Fisher,
All your vendors will be mapped to a particular company code and to this particular company code there will be numerous G/Ls mapped. Hence the vendor must be mapped to a particular company code and that company code must be present in your system.
This error means, your 3rd party is sending wrong company code or there is some mapping problem at PI end. Please check with your Procurement/Finance team, what is the company code mapped to this vendor and then post the correct data.
Regards,
Nitin
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.