OutBound IDoc for Material master
Hi everyone
I need to send Material Masterdata whenever data is saved in MM01,MM02 using BTE1250 .
I need to use function module MASTERIDOC_CREATE_REQ_MATMAS to send idoc.
Can anyone please help me with a basic program/ code for sending Idoc using MASTERIDOC_CREATE_REQ_MATMAS.
I am new to Idoc and could not understand programs given in SDN.
Thanks in advance.
Hi,
Refer to SAP standard program "RBDSEMAT".
Regards
Vinod
Similar Messages
-
Generate outbound idoc for Customer Master
Hi Developers,
I have requirement to generate outbound IDOC for Customer Master Data. I need to send customer master data through an Outbound IDOC. Can we generate an outbound DEBMAS06 idoc? Can someone help me finding a solution to this problem?
Thanks in advance for helping.
Regards,
GajendraHi,
If you have done all the required settings (logical system, partner profiles, distribution model), then either transaction BD10 / BD14 will help you generate the IDOC.
If you want to send the idocs automatically, then you will to configure some program.
Unlike transaction data, Master data IDOCS are not triggered immediately, you will have to do the required configuration in SPRO.
Transaction SPRO
SAP Customizing Implementation Guide -->
SAP Web application Server --> Application Link Enabling --> Modeling and Implementing Business Processes -->
Master Data distribution --> Replication of Modified Data --> Creating IDOCS from Change Pointers
Take a look at this thread.
Re: automatic Idoc outbound
Regards,
Ravi
Note : Please mark the helpful answers
Message was edited by: Ravikumar Allampallam -
Outbound IDOC for Article Master in WPMA without Price
Hi,
How to Generate an Outbound IDOC for Article Master in WPMA Tcode without maintaing Price for the Article. Please suggest Is it Possible in IS-Retail. If so, what needs to be Done.
Regards,
Selvakumar. MHi Selvan
In patner profile of outbound, Assign WP_PLU01 instead WP_PLU03..
This will solve ur problem
Regards
Vijai Jain -
Problem with mass IDoc for Material Master
Hi All,
Can anyone suggest a solution to work with mass IDocs for Material master?
We have DEBMDM and CREMDM as mass capable IDocs for Customer and Vendor. How do we get mass Material Master IDocs from R/3 in a single XML file?
Also the standard Material repository supplied with SAP MDM 5.5 SP3 doesn't have any XSD definition for MATMDM. Can anyone throw some light on this problem?
Regards
PoojaHello Pooja:
The standard way to do it is to generate a single file containing multiple idocs (And for the sake of performance, I suggest you stick to this technique).
In the case of material master, everything is straight forward. In the case of customer and vendor master, when data flows from R/3 to MDM no idoc conversion needs to be performed by XI.
However, for the case of customer and vendor master, when data flows from MDM to R/3, XI needs to separate the data in CREMDM to CREMAS and ADRMAS in order for R/3 to be able to process the idocs; as well as separate the data in DEBMDM to DEBMAS and ADRMAS.
The good thing is that you do not need to worry about all this mappings and conversions in XI. The only thing you need to do in XI is to import the standard business content for SAP MDM 5.5 into XI.
Hope this helps.
Regards,
Jorge. -
How to generate Outbound idoc for Material Reservation
Hi Experts,
I want to send outbound IDoc when a material reservation is created with tcode MB21.
I have been working on this issue and finding the solution in SCN for a week...
I found some messages similar to this but I could not find out the correct way how to do that.
At this moment, I configured BD64/WE20 referring the following topic which seems to be feasible solution but could not find any outbound IDocs created, unfortunately.
Implement ALE_RESERVATION_CREATE
I appreciate if someone can help me how to create outbound IDoc with MB21 or advice some possibility of missing configuration or steps.
Best Regards,
KenjiHi;
Have been able to find the solution to create the IDoc MRESCR after entering a reservation?
I am in the same situation and I do not see the IDoc output in the BD87.
It would be nice if you share the solution.
Thanks in advance -
Outbound IDOC for customer master
Hi
I want to configure that as soon as I create a customer master using the transaction XD01 it should generate an outbound IDOC. Can anyone tell me how to configure this and what need to be br configured.
Thanx in advance
regards
VinodHi Vinod,
We can distribute master data in many ways like Send original copy, Send changes and third one is Pull master data.
Go to txn SALE, and follow the steps to configure your scenario.
I think in your case you have to use Message Control or
Output Determination.
visit this link for message control...
http://help.sap.com/saphelp_erp2004/helpdata/en/c8/198afa43b111d1896f0000e8322d00/frameset.htm
Regards,
Narinder Hartala -
Idoc for Material Master Specific to SAP AFS
Hi All,
I have requirement to create & extend the material master from Non-SAP to SAP specific to AFS industry, however can anyone suggest which inbound idoc needs to be configured in details like (Message type, basic type & process code)
Also please suggest how it can be extend at the same time to different plants
Thanks & Regards
ParagHi Tomek,
Thanks for details, can you please guide / suggest on extend the mateial for other plants & Storage location as well after creation of material.
Thanks
Parag -
Classification Segment in IDOC for Material Master
Hi,
Can anyone let me know which IDOC message type will get me the classification segment in that. I am assuming that to be the segment is E10CLFM but i dont know which IDOC message type has it.
which IDOC type will get the batch data Inbound to SAP with all the batch class and batch characteristics to be posted to inventory.
thanks a bunchyou can create inventory with IDOC
message type MBGMCR
basis type MBGMCR03
alternative with program RM07MMBL
You have to decide if you create batches internally while loading inventory or if you load the batches seperatly and assign just the batch number when doing the movement for initial inventory.
Especially if your batch characteristics cannot be valuated automatically, you have to load them before inventory to get all the characteristic values.
batches can be loaded with Idoc
BATMAS
BATMAS03 -
Hi,
I am new to IDOC concept and need to transfer Equipment master from a SAP system to non SAP system.
please let me know the following:
1. Is there any standard message type and Idoc type available
for Equipment master ?? ( For example we have
MATMAS05 for material master)
2. Is there any standard transation available for equipment
trasfer???( For example BD10 for sending material)
3. Is change pointer facility available for equipment master??
If yes please provide me the details
ThanksHi Preethi
Please use LSMW in loading euipment master using the Basic type EQUIPMENT_CREATE01 and assign the source legacy file.You can use the message type EQUIPMENT_CHANGE01 to change it.See in WE02 BD87 the stus whether it has been posted or not.
Since your data would be going to non sap that means you have to create partner profile for outbound processing and also activate the port(WE21) for outbound processing.
If your client is intilligent enoough and also big than if it has an ETL tool than extraction from spreadsheet in the form of idoc would be much easier and would cut short the time consumed in writing large programs .However the business needs to have an existing legacy system and you try to convert data .
Please do revert back incase of any issues.
Regards
Somnath -
Hi Experts,
The requirement is to receive a standard Idoc for material change and trigger the material creation process in case the material does not exist.
Secondly, what is the Idoc for material change?
Thanks and Regards,
RaviHi,
Go through the following Steps for Creating IDoc Via ALE
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error.
hope this helps you.
plz reward if useful.
thanks,
dhanashri. -
SRM and MDM for material master in SRM contracts for multiple R/3
Dear all,
my question is:
We are implementing SRM 4.0 in classic scenario with multiple R/3 back-end and we want to set-up Global Outline Agreements in SRM in a multi-backend environment where the Material Master are not harmonized.
We heard that MDM and COntent Integraton can be a solution.
Then detailled question is:
Can we have 2 material numbers (e.g. ABC and XYZ) in 2 different R/3 systems refering the same product.
Have the mapping done in MDM (Content Integrator?) to a third material number:123
Replicating the material master 123 to SRM from MDM(?)
Create global Outline Agreements in SRM for Material Master 123.
Distribute the GOA as Outline Agreement to R/3 system 1 with the translation to ABC and to R/3 system 2 with the translation XYZ, all of that during the distribution step (or another).
Have the call-offs quantities correct on 123 in SRM and BW?
IF yes, how is it working, do you have some documentation discribing the scenario and the config steps to do?
Thanks in avanceHello RD,
That's a good question.
You are on the right way. MDM is the tool for you.
But..
Content Integrator (CI) was first developped for Shell, to address the need of cross-referencing of material/supplier/category IDs, for:
- reporting purpose (actual Spend Analysis)
- mapping purpose (send of XML PO)
CI was later "fusionned" into the new MDM (1.0) solution.
So now, you can not order CI without MDM (even if some SRM slides still present CI).
But mapping API where developped for all inboud/outbound interfaces in SRM, for materials only (good luck for you).
You will find everywhere this piece of code:
Call ECI
CALL FUNCTION 'BBP_PRODUCT_MAP'
TABLES
it_input = lt_mapping_in
et_output = lt_mapping_out
EXCEPTIONS
logsys_not_found = 1
driver_not_found = 2
product_not_found = 3
internal_error = 4
OTHERS = 5.
So it is ok, you have the mapping call, but I don't know if all the rest of the process was really "finalized" (call of API mapping in CI, via XI). I personnaly never used it, but I assume it should work.
I my opinion your process is supported by SAP:
- Extract materials from both R/3 and consolidate them as a single product in MDM.
- Distribute this product into SRM.
- Maintain contracts on those products.
- Distribute them to R/3 (The ECI call is also used during contract distribution).
- Call offs corrects in SRM and BW
For MDM documentation, look at netweaver area of service.sap.com.
For MDM/SRM integration, look at SRM 4.0 spend analysis:
https://websmp206.sap-ag.de/~sapdownload/011000358700004424262004E/GlobalSpendOverview.ppt
For SRM contract distribution, call-offs, BW, look at SRM in details in service.sap.com/srm/SRM4.0:
https://websmp206.sap-ag.de/~sapdownload/011000358700001966382004E/contracten.ppt
For SRM5.0, see online help on help.sap.com.
Rgds
Christophe -
IDOC for Batch Master Conversion
Hi,
Is there any IDOC for Batch Master Conversion (Transaction : MSC2N) ?
The data being maintained is in Basic data 1 and classification tabs.
Regards,
Esha RajHello,
I faced the problem with BATMAS03. When drilling down to F'tn BAPI_BATCH_SAVE_REPLICA I could that one and similar BATMAS03 get to work with filling following set of fields. Adapt of course the values to you're system.
BAPIBATCH_SAVE_REPLICA_
MATERIAL = 000000000000033001
BATCH = 12543872
PLANT = D010
CLASSALLOCATIONS
CLASS_TYPE 023
OBJECTKEY 00000000000003300112543872 (in our case MATNR&BATCH combination, dependend on system setting Plant could also be needed)
CLASSNUM FROZEN_FINISHED (Classification Class)
OBJECTTABLE MCH1
CLASSVALUATIONSCHAR
CLASS_TYPE 023
OBJECTKEY 00000000000003300112543872
OBJECTTABLE MCH1
CHARACT LOBM_ZUSTD
VALUE_CHAR X
This works now fine and similar for the BATMAS IDOC
Hope this is helpfull for you.
Dirk -
Is there a BTE for MM01 or MM02? I would like to capture the changes to data on these transactions when user has pressed the save button and also after the dB COMMIT is executed.
So far in my search, I have found that there is no BTE for Material master data transactions. I want to confirm this with other users. Also, is there a BAdI that I could use?
TIA.Hi Shri ,
BTE mainly for FI transactions .
BADIs for MM
BADI_MATERIAL_CHECK Enhanced checks for material master table
BADI_MATERIAL_OD
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATMAS_ALE_CR Change Data in MATMAS IDoc When Generating an IDoc
BADI_MATMAS_ALE_IN Change Data in MATMAS IDoc Before Posting
BADI_MATN1 BAdI for Conversion Exit MATN1
BADI_MATRIX_SORT Sorting of Matrix Axis Population
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
Regards
Prabhu -
Creating MDM repository for Material Master Data
Hello MDM Gurus,
I am new to SAP MDM. I want to create MDM repository for Material Master. What I unddertand is, I can create repository using Bussiness Content shiped with MDM software. I will copy *.a2a file to archive folder of MDM server and unarchive repository. I have following question for you.
1. HOw do I use export maps and import maps which I found in Busines contenst\Material folder?
2. How do I use MDM Lookup Tables which is xml document in Busines contenst\Material folder?
3. Why is the use of MDMGX_55520_Material.txt file which I found in Busines contenst\Material folder?
4. What is the use of *.xsd files and how can I use them?
Thanks,
BhupeshHi Bhupesh
1. HOw do I use export maps and import maps which I found in Busines contenst\Material folder?
save all the map files on your loacl machine. open import manager and select file-> Import, browse to the .map file and save the map with a meaningful name. now next time connect to the source file you want to import and OPEN the map saved.
2. How do I use MDM Lookup Tables which is xml document in Busines contenst\Material folder?
Businees content contains the standard ECC refernce tables like countries, regions etc which can be refreshed from ECC. for this you have to configure MDMGX, defining all the ports in MDM and in ECC the tables from which data has to be refreshed. refer to below threads for details.
Extract Data usnig MDMGX
How to Export Materials from ERP to MDM 7.1 via MDMGX?
3. Why is the use of MDMGX_55520_Material.txt file which I found in Busines contenst\Material folder?
This helps us in configuring the table extraction from ECC, refer to thread-> Extract Data usnig MDMGX
4. What is the use of *.xsd files and how can I use them?
Schema files are used for syndicating the records from MDM to source system. Say we want to syndicate material master from MDM to ECC and in ECC they will be posted via MATMAS05 IDoc. these schemas are the structure of IDoc which will contain the values which will be syndicated from MDM.
Let me know if you know some more details.
regards
Ravi -
LSMW IDOC MATMAS05 Material Master
Hi Experts,
Actually ,Iam using IDOC method in LSMW for Material Master Upload.
For that Iam using the IDOC type MATMAS05 .
So in the input file when Iam not the giving the Material Number IDOC is getting failed
with status 51 and giving the errors that "NO MATERIAL NUMBER
TRANSFERED".
And
if Iam giving a material number in the test file it is again getting failed
giving the error " The material does not exist ".
I am not able to understand what iam missing here.
Other than this Iam passing all the mandatory fields required .
Also in the each segment iam passing the MSGFN = '009'. i.e. to create.
Pls help.
Thanks in Advance.
Regards,
MithunHi Chuin,
This forum doesn't provide specific info on LSMW. You may check https://service.sap.com/lsmw for more info.
Regards,
Markus
Maybe you are looking for
-
Keep getting error message when trying to eject iPOD nano
When trying to eject iPOD, getting error message ..."cannot be ejected because it contains files that are in use by another application". No other application is open but iTUNES. What does this mean? and are there any tricks to get it to eject?
-
Which Luma/Chroma mode to use with Broadcast Safe filter
How would I know which Luma/Chroma mode to use with the Broadcast Safe filter? I'm creating a DVD of a dance concert that might make it onto television but there are no specific plans at this time.
-
How do I get rid of Cinet Tune Up My Mac pop-ups?
I stupidly downloaded this malware and now new tabs are constantly popping up and talking to me and offering me tune up my mac. I can't find the extensions to delete. Any ideas for me?
-
the VirtualizingObservableCollection does the following: Implements the same interfaces and methods as ObservableCollection<T> so you can use it anywhere you'd use an ObservableCollection<T> – no need to change any of your existing controls. Supports
-
Remove applications from the "open with" menu
How do you remove applications from the "open with" context menu? I seem to have one instance of a program for every time it was "updated." So my "open with" menu has about 8 instances of Adobe Acrobat, 3 or 4 of Word, etc. It's obnoxious and cumbers