Idoc no for material no
Dear Experts,
I have a doubt in finding out the idoc number related a material document number. That is for the given material number I have to fetch the corresponding idoc number. The issue that I am facing is that there is no relation between the IDOC tables and the material tables. I tried EDIDC,EDIDD and EDIDS. Kindly share your valuable suggestions.
Br
Bharath
Hi,
To find out the idocs per material, we can use CDHDR table also.If the material is changed by an idoc, then corresponding change documenet in CDHDR table the field will have value MM01(ALE) or MM02(ALE).
As here we know the material number(object id) and object classs(MATERIAL), the query on CDHDR shouldn't take much time and taking a count of records selected might be the value you need.This will be helpful in finding the number of inbound idocs per material.
For outbound,we can make use of suggested tcode WE09 , but we should be careful in specifying the selection parameters, otherwise it take longer to complete as the table EDID4 is cluster table and no indexes kind of stuffwill be supported
Regards,
Kishore.
Similar Messages
-
Finding the idoc number for material document
Hi,
I have a material document which was created by an idoc. How do I know the idoc number that has created this material doc?
We have lots of idocs coming from external systems which do GI, GR, transfer postings etc. With the material document , not able to trace which idoc created it.
RegardsHi Ramees,
"Refer the Tables MKPF / MSEG inorder to get the IDOC no's for Material Docs. "
But how can it be found for Transfer posting documents where no PO history exist !!
Alex. -
User exit for idoc extension for material master (matmas05)
Hello all,
I have 10 custom fields added to anl idoc of basic type matmas05.
i created a new segment under parent segment E1MARA1
Now i want to find out the user exit where in i can write a code to read the data of this segment and populate into the data base table.
Can anybody provide me with the name of the user exit?
Regards,
RoshaniCheck enhancement MGV00001 in SMOD.
Exit Fm is EXIT_SAPLMV01_002
Regards,
Naimesh Patel -
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 -
Inbound Idoc for material document cancellation
Hello,
Could you update me whether there is any Inbound Idoc type available for material document cancellation (like t.code MBST). I found message type MGBMCR, but it's only allowing me to create the material document like GRs but not cancellations.
/MallikTo my knowledge, there is no such IDoc. Cancellation is an exceptional situation and should be treated as such. If one needs an IDoc interface for cancellations, I'd have to say there is something very wrong with the business process.
-
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. -
Need an IDOC EDI STEPS for material document(MB03)
HI ALL,
i need an IDOC for material document. For example, user in SAP make material document (t-code MIGO or MB11), then automatical is downloading outbound IDOC, which contain information about material document.HOW TO PROCESS IT THROUGH EDI .GIVE THE STEPS.like below you can do your settings
The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
3. After that, assign the IDoc Type to Message Type in WE82.
4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
i. In Message Control Configuration, we'll maintain
a. Condition Tables
b. Access Sequences
c. Output Types
ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements. -
hi friends,
if we use idoc or bapi for material upload.will it create internal material number by itself has it does in bdc
and also plz suggest me which is best method for data upload.
regards
rajits beteer to go uploading with LSMW
for uploading
and in LSME with direct input pethod its the easiest way to upload the data -
Error Valuation & is not maintained for material & in IDOC
Hi Experts!
I'm currently having a difficult problem here.
This is an idoc issue. The scenario is: An idoc is created from WEB and an error appears "Valuation & is not maintained for material &" in SAP. But when we reporcess again usign the same data through WE19 everything seems to be okay. The status is green. Do you have any idea regarding this?
The error must not appear because the material that is being process is a non-stock material which does not need valuation.
I hope somebody can help me on this.
Thanks in advance!Hi,
Please see that error ME124 ir raised because view "plant stock /
storage location stock" is not maintained in material master for plant.
if the material is not available in stock then no delivery and no
transfer is possible. It is not possible for non-stock
materials to make an stock transfer.
If you are using ME21* to create stock transfer order,
Please make sure the view "plant stock / storage location stock"
have maintained for the relevant plant in the material master
record.
Please also make sure the quantity flag have switched on in Ta OMS2
for both the delivery and receiving plant for the material type
that you are using. Otherwise, the error message ME 124 will be
issued.
But if you get the error error ME124 only for a vendor is the
assignment in Vendor Master (MK03) to plant. This assignment is
used in case of STO, in which plant must be assigned to vendor.
In order to not get the error, please remove plant in the
following path:
XK03 > Extras > Add. purchasing Data > Plant assignment.
BR
Nadia Orlandi -
Serialization not possible for material number (SHPCON IDOC error )
Hello,
Can any one shed some light on following inbound PGI IDOC (SHPCON) Error from 3PL.
"Serialization not possible for material number XYZ"
Message no. IO205
Diagnosis
The serial number profile of the material does not allow serialization for the operation you have chosen.
Procedure
Maintain the serial number profile.
Additional info
1) Serial number profile is maintained in the material master
2) Serial number populated in the idoc E1EDL11 is not used in any delivery or assigned and it is valid serial number and has equipment master record
3) If i use the same serial number from the IDOC and post PGI manually via VL02N , I am able to post the PGI without any problems and I don;t get the above error
4) IDOC has all the info required , Delivery number,Valid material # , qty,UOM and Line item number of the delivery .
Thanks in advance for your help
GJDear Jalwadi
I got exact same problem. How did you solve it? -
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. -
Idoc for material characteristics
Hi Friends,
I know the IDoc message type for material batch characteristics (SKU_COLOR , SKU_SIZE , SKU_WINDOW, etc.,) is CLFMAS. Does anybody know the message and basic type for Material characteristics (ART_WIDTH , ART_DEPTH , ART_HEIGHT, etc.,) ?
Regards,
Dikshitha GHi,
You need to do the ALE confguration for change pointers of materials to trigger the idoc. Please search in SCN , you will find information reagrding change pointers of Idoc.
Regards,
Nagaraj -
I need a bapi for material management advance shipping notifications
i need a bapi for material management advance shipping notifications for developing powls which includes below fields and some more fields.
Inbound delivery number
Due date (GR date)
Vendor delivery number
Material
Name of material
Quantity
Vendor
Name of vendor
thanks and regards,
jameer.pHi Jameer,
This is a hard one, my friend. I understand what you are trying to do.. Try BAPI_DELIVERYPROCESSING_EXEC. It is tricky though.
Moreover you might want to use a FM to fill the IDOC data. something like IDOC_INPUT_**. this might be a better option.
cheers,
Hema. -
BTE for material classification
Hi,
im searching for a BTE which trigger modification on material classifications. I found EVENT 4004 and 4005, but they not work. I change classification with mm02 under the classification tab. Have someone an idea if there is an EVENT for this? Or exists a BOR for this?
thx
RalphHi 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 -
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
Maybe you are looking for
-
Iphoto library acces in iMovie
Hello, I have a problem with iphoto browser in iMovie or Mail. I have several iPhoto library. For example, if I open iphoto Libray 2012 in iphoto, I can see in imovie browser correct photo, movie. But if I open iphoto library 2015 un iPhoto, I see in
-
For some reason when I open an email on my Z10 it doesn't seem to appear on my Mac PC? Is there anyway I can alter this?
-
Credit Cards for personal information - REQUIRED
Don't ever again ask someone for their driver's license..... it is an invasion of privacy. Quite frankly, it's none of your company's business who I am or what my address is. If I were dumb enough to comply, there is no guanantee that your company ca
-
Hi, I´m using an http submit button inside my pdf. How can I get the name of each field at the server side? (I´m using asp) I ask this because I´m able to get the data but not the name of the field related to that data. Seconde question: is it possib
-
N95 - Bluetooth with handsfree HBH-610a
Hi eveyone, I just buy a N95 SmartPhone and I can't synchronise my handsfree HBH-610a with it...( it's sony ericsson model) The nokia discovery bluetooth don't find it ... Does someone can help me ? Thank you Atomik