Validation of Material group replication
Hi,
How do I validate ( the number of material group in R/3 and SRM) whether I have replicated all the material groups to SRM ?
With regards,
Pranav
Hi,
You can find the replicated categories in trascn COMM_HIERARCHYand double click in product categories (R3MATCLASS). .Then go to backend R3MATCLASS node and click on category.
Also can Check in table- COMM_CATEGORY.
Please refer to the following link that contains all the step-by-step SRM replication configuration details.
http://help.sap.com/saphelp_srm50/helpdata/en/70/00c73a584611d6b21700508b5d5211/content.htm
BR,
Disha.
<b>Pls reward points for useful answers.</b>
Similar Messages
-
Validation on 'MATERIAL GROUP' at item level as well as service sub line it
Hi friends,
my requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.
Pls help me with exit/badi.
Ganesh SheteHi Ganesh,
For main line item you can use EXIT EXIT_SAPMM06E_017 or BADI ME_PROCESS_PO_CUST.For doing validation at service sub-line item level use EXIT EXIT_SAPLMLSP_030.
Hope this helps. -
Material Group Replication from ECC
Dear SRMers,
System Landscape : ECC 6.0 and SRM 5.0.
I am doing a material group replication from ECC to SRM using the DNL_CUST_PROD1 customizing object. Before the replication ECC was trying to confirm the target RFC destination(SRM) by prompting a logon. I logged in as myself and the system gave a CALL_FUNCTION_OPEN_ERROR.
I defined the CRM Consumer as SRM in the CRM middleware parameters..
My question is do we need to define the User SRM in SU01 and when ECC tries to confirm the target RFC destination, do we need to login as the SRM User ?
Points will be rewarded for answers.
Thanks in advance,
BobHi,
The RFC user which you define in the SRM RFC detsination has to be obviously as SU01 user in SRM.Also the RFC user need to have SAP_ALL and SAP_NEW profile attached.See note 642202 for details.
Also Check:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/84/d3eb4190966024e10000000a1550b0/frameset.htm
BR,
Disha.
Pls reward points for useful answers. -
Validation of Material Group in SD Pricing Routines
Hi ,
I have created a new custom routine( Condition Value in VOFM ) for Excise duty calculation.
Now, I have requirment where in I need to check the material group and based on that materai group I need to calculate the
Excise duty in my Routine . So, where can I do the material group validation.
Is this right Forum to post or is there any specific forum to post this question ?
Please suggest me.
cheers,
Sravan.Thanks Ramesh for your response.
In conditions tab of sales order creation , the Condition values for the corresponding condition types should come after manually entering the rate in the 'Amount' column.This should happen before saving the sales order..right.
So ,Now how can I get the material group here in routines.Can you please explain me bit clear.
cheers,
Sravan. -
Hi all,
i have 200 material groups in R/3 whch i have replicated to SRM. Now I need to create 20 more groups in R/3. How do i replicate these in SRM.
What i mean is , is there a job for delta transfer of material groups from R/3 to SRM or do i have to carry out the whole procedure all over again?
Regards,
MangeshHi Mangesh,
You have to replicate the material groups using <b>R3AS</b>. You have to run the DNL_CUST_PROD0 & DNL_CUST_PROD1 customizing objects.
You can set up the filters using <b>R3AC3</b> so that only the new 20 material groups created in R/3 gets replicated.
Hope this resolves your query.Clarifications are welcome.
Rgds,
Teja -
How to filter material groups replication
In replicating product categories (DNL_CUST_PROD1) from R/3 to SRM via R3AS, I only want to replicate certain categories. How/where do I set up filters to only bring over the material groups that I want in SRM?
Points will be rewarded.
SNThis is what I get after executing BBP_PRODUCT_SETTINGS_MW:
Middleware Settings for Product for SRM Systems
Settings Log: EBP Without CRM
Test Mode *****
Set Middleware Objects to Active/Inactive
All Business Objects Except MATERIAL and DNL_PLANT Will Be Set to Inactive
All Customizing Objects Except DNL_CUST_PROD0/_PROD1 Will Be Set to Inactive
All Condition Objects Will Be Set to Inactive
Objects SERVICE_MASTER and DNL_CUST_SRVMAS Will Also Be Activated
User of Download Objects Will Be Adjusted (Table SMOFINICON)
Object: MATERIAL
Following Tables Will Be Deactivated:
MLAN
MVKE
STXH
STXL
Object: DNL_CUST_PROD1
Following Tables Will Be Deactivated:
T179
T179T
Middleware Objects Will Be Regenerated
EBP Will Be Flagged As Active Application (Table SMOFAPPL)
CRM Will Be Flagged As Inactive Application (Table SMOFAPPL)
Customizing Indicator 'Multiple-Backends' Set (Table COMC_HIERARCHY)
Am I missing anything?
SN -
Material replication from R/3 to SRM - Issue with Material group
Hello All,
I am working on BADI PRODUCT_CUSTOMER2 and method MAP_R3_TO_CRM_MATERIALMaterial replication part from R/3 to SRM.
I am using a Ztable to map r/3 material group to SRM material group(Product category).
For example Material M1 with material group 100 is transferred to SRM. Material group(Product category) 100 exist in SRM, but I am changing the material group to 200 in the product_customer2 badi. its working fine.
In another scenario, Material with material M1 with material group 300. Material group(product category) 300 does not exist in SRM,
I am changing the material group to 200 in the bdoc, in the product_customer2 badi. It is not working. The LUW is failing in SMQ2 transaction with the error "Error in Mapping (Details: transaction SMW01)". The BDOC is failing with error "Category for material group 300 does not exist"
I tried to deactivate the badi PRODUCT_CUSTOMER2, even then the FM MAP_BAPIMTCS_AND_PROCESS is validating the material group from R/3.
I tried to change the material group 300 to the existing material group 200 at initial stage in debugging in function module MAP_BAPIMTCS_AND_PROCESS but still the bdoc is failing with error "No storage form defined for product type 01 / logical system".
I am doing my testing using the following steps.
1. change the material descriptioni in MM02 in R/3.
2. An item is displayed in the queue in SMQ2 in SRM.
3. I have debugged the LUW and analyzed my badi by setting breakpoint at method MAP_R3_TO_CRM_MATERIAL, its changing the material group in the bdoc properly.
that didnt work.
also i tried to change the material group in the function module MAP_BAPIMTCS_AND_PROCESS before the badi is called.
4. I am checking the BDOc status using tcode SMW01 and checking the material using tcode COMMPR01.
can someone tell me how I can change the R/3 material group to SRM material group at the time of mapping in SRM?
Thanks
Sathish PMHi find below for the product cat
Steps to create the product category in SRM:
1) Create MM material groups in ECC client. This will create a transport. Go to SRM Tcode R3AS and select the object u201CDNL_CUST_PROD1u201D from the list and run it. You can monitor the job using R3AM1 in SRM. This will bring the material group into SRM. This can be seen in TCode u201CCOMM_HIERARCHYu201D in SRM.
2) Once it is done. Go to IMG in SRM and go to path SRM> SRM server> Cross app biz settings> Account aassigmnet> Define GL code for Acc *** Cat and Prod Cat. Maintain the GL code against this prod cat for all the account assignment codes. This is client specific setting and need to be done in every client by opening it. This GL code is given in the form in ticket.
3) Do a test and check if the product category is available for procurement in SC.
Regards,
Satish -
Exit/badi for Material group validation on service POs
Hi Gurus,
The requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.I have used EXIT_SAPMM06E_017 for line level validation.
For service sub line level 'MATERIAL GROUP' i tried using EXIT_SAPLMLSP_030 but validation is not working properly as
EXIT_SAPLMLSP_030 is triggered before EXIT_SAPMM06E_017.
Kindly suggest any alternatives.
Thanks in advance
DeepikaHi,
I had finally used BADI ME_PROCESS_PO_CUST method CHECK and PROCESS_ITEM for enjoy transactions i.e ME21N ME22N ME23N and written code in EXIT EXIT_SAPLMLSP_030 for service item validations.
IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
DATA: wa_zmm_mat_grp TYPE zmm_mat_grp.
EXPORT header_data-aedat FROM header_data-aedat TO MEMORY ID 'ZDAT24933'.
EXPORT header_data-bsart FROM header_data-bsart TO MEMORY ID 'ZBRT24933'.
IF header_data-aedat GE '20090810'. " Material group mandatory appplicable date.
IF ( header_data-bsart = 'SRV' OR header_data-bsart = 'SRVF' OR header_data-bsart = 'SRVI') AND ( header_data-bsart NE ' ') AND
( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
SELECT SINGLE * FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl AND
bsart = header_data-bsart.
IF sy-subrc NE 0.
MESSAGE e005(ze1).
ENDIF.
ENDIF.
IF header_data-bsart IS NOT INITIAL.
IF ( header_data-bsart NE 'SRV') AND ( header_data-bsart NE 'SRVF') AND ( header_data-bsart NE 'SRVI') AND
( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
SELECT SINGLE * FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl.
IF sy-subrc EQ 0.
MESSAGE e006(ze1).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
For service subline item following code:
DATA: wa_zmm_mat_grp TYPE zmm_mat_grp,
v_bsart TYPE ekko-bsart,
v_packno TYPE esll-packno,
v_ebeln TYPE ekpo-ebeln,
v_aedat TYPE ekko-aedat.
IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
IF srv_esll-matkl IS NOT INITIAL.
IMPORT header_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
IMPORT header_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
IMPORT re_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
IMPORT re_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
IF sy-subrc EQ 0.
SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
IF sy-subrc EQ 0.
SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
ENDIF.
ENDIF.
ENDIF.
IF v_aedat GE '20090810'. " Material group mandatory appplicable date.
IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
AND srv_esll-del = ' '.
SELECT SINGLE * FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
bsart = v_bsart.
IF sy-subrc NE 0.
MESSAGE e005(ze1).
ENDIF.
ENDIF.
IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
AND ( srv_esll-del = ' ').
SELECT SINGLE * FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
IF sy-subrc EQ 0.
MESSAGE e006(ze1).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ELSEIF sy-tcode = 'ME21' OR sy-tcode = 'ME22' OR sy-tcode = 'ME23'.
IF srv_esll-matkl IS NOT INITIAL.
IMPORT i_ekko-bsart TO v_bsart FROM MEMORY ID 'ZPOT24933'.
IMPORT i_ekko-aedat TO v_aedat FROM MEMORY ID 'ZDTA24933'.
IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
IF sy-subrc EQ 0.
SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
IF sy-subrc EQ 0.
SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
ENDIF.
ENDIF.
ENDIF.
IF v_aedat GE '20090810'. " Material group mandatory appplicable date.
IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
AND srv_esll-del = ' '.
SELECT SINGLE * FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
bsart = v_bsart.
IF sy-subrc NE 0.
MESSAGE e005(ze1).
ENDIF.
ENDIF.
IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
AND ( srv_esll-del = ' ').
SELECT SINGLE * FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
IF sy-subrc EQ 0.
MESSAGE e006(ze1).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
hope this will help u. -
General help with material groups, UNSPC codes etc?
Please could you guys help me explore the following or point me to where I may get more info on:
Understanding concepts of Material Group and Product Category and exploring the option of having different material groups based on different purchasing organisations and plants
Effective usage of UNSPC codes especially for determining the correct Material Group
Setting up more than 1 company code and purchase organisations in the SRM system
Setting up the business partner and establishing connectivity to R/3 in order to successfully create a PO in R/3.Hi
<b>Please go through these links -></b>
Re: differece between product categories in SRM and Material Group in MM
Re: SRM5.0 Not possible to list replicated product categories in SRM
Re: material group replication from R/3 to EBP
Re: Material/Product replication - table & field names
Regards
- Atul -
Language specific replication of material group description not working SRM
Hi All,
We have backend R/3 MM system from which we replicate our materials,material groups. For Italian language the replication of the material groups description is not working. Though the description is available in backend R/3 system when i run the DNL_CUST_PROD1object in R3AS tcode, there is no replication log in SMQ2 but still the Italian language is not replicated into SRM.
There are no logs in SMW01 tcode also.
Please suggest.
Best regards,
SamHi,
As david explained,you need to set the filter for the LANGUAGE field in trascn R3AC3 before replicating the product categories.
In R3AC3 select DNL_CUST_PROD1. Go to table structures tab . Click on the filter next to T023T table. This will take you to the filter tab. Select source site name and filter options. In the field put "SPRAS", in op put "EQ" and in low value the value 'IT"(for italian) . You can also describe a range here instead of individual material group numbers.
BR,
Disha.
Do reward points for useful answers. -
User Exit for placing validation between Customer Group & Material Group
Hi,
Following is my client requirement.
1. A validation check is to be placed in Sales Order of Document Type ZTRD.
Validation to be placed between Customer Group 3 (CG3) of Sold to party with Material Group( MG ) of Material.
If CG3 of Sold to party is different with MG , then system should through Error message & should not allow to save the Sales Order.
Please suggest me what best to be done. I am a SD consultant.A standard way to do this is to use product attributes.In material master you can define product attributes in the sales org 2 view. Next, within the customer master, you can define the product attributes a customer would accept. Finally, in the order type configuration, you can define that if the attributes don't match, the system should display an error message (or a warning message). So, you can do the check you are looking for without doing any ABAP work. See if that could work for you.
-
Restrict material groups at PR/PO creation for items w/o material master
Dear SAP experts
I have one question related to restricting material groups which are possible for selection during purchase requisition or purchase order creation.
The material group is created and several material master records are linked to it. Now the requirement is that when users are creating either purchase requisitions or purchase orders it shouldn't be possible to select that specific material group>
But this should be valid only if PR or PO are being created for items without material master record. If PR/PO is created for item with material master record then the restriction should not take place.
What would be the nicest solution to achieve that?
Thank you all in advance for your help.
Regards,
MihaHello Prakash
Thank you very much for your answer. i think it is a very good starting point.
However I am not too familiar with authorization group configuration of material groups.
Right now in our system (transaction OMSF) field authorization group is empty for all existing material groups.
Does this mean that for the material group that I want to have restricted I need to have two entries: one with Authorization group ZOK and another with ZNOTOK (or whatever the naming would be)?
Furthermore I would like to ask you where is then the link between authorization group and user exit?
And thirdly: do you perhaps have some more details which user exit(s) are relevant for our topic?
So far thank you very much and I hope that you can provide me also with additional info.
Rgds
Miha -
WHY Price is not defaulted from inforecord in a P.O with material group.
When i tried to create P O for a material group & i mentioned material text, Price was not defaulted in PO from inforecord unless i mention inforecord number even if i mentioned vendor & valid inforecord is exist for the same material group & vendor.
Hi,
Data will be adopted only from PR,RFQ & contract.Eventhough if u maintained inforecord, data will not flown from info record it is only the price picked from inforecord.
thanks
suresh -
Material group updation by using function modules
Hello All,
I would like to add , update and delete material group From database tables T023 and T023T according to the given Excel input file.Could you please suggest me any function modules are there apart form MATL_GROUP_UPDATE .
if i am using this function module i am getting the follwing error
'Class does not exist or is not valid on this date'.
Could you please send me any sample code.
Thanks in advance,
Arvind.Hello Narendran,
Thanks for your quick reply.
i need to do the following fucntions to the tables t023 and t023t.
1) adding material group
2) Updating the material group
3) Deleting the material group
according to the status field in the excel input file as shown below
Status ungültig Referenzen MGS Beschreibung deutsch Beschreibung englisch 中文 Beschreibung russisch
N H4*** Kohlen Carbon 炭 Уголь
N H4100 Kohlebürsten Carbon brushes 炭刷 Угольные щетки
N H4900 Sonstige Teile aus Kohle, techn. Kohle Other parts made from carbon, techn. carbon 由炭,工程用炭制成的其他零件 Прочие виды изделий из угля, технический уголь
U J2100 Polyphenylenether (PPESIB) Polyphenylene oxide (PPO) 聚苯氧化物(聚苯撑氧,聚苯撑氧化物)(PPO) Полифенилэфир (PPESIB)
D x J2400 Sonstige styrolhaltige Polymere Other Polymers Containing Styrene 其他含苯乙烯聚合物 Прочие виды полимеров, содержащие стирол
Note:Status :N means add the corresponding material group H4***
U means update the material group Description in t023t
D means delete the material group form the table t023t
in all languages
Could you please tell me any other fucntion modules are there.
As per your suggession we can add the material groups then what about Updation and deletion of material groups.
Also suggest me shall i go for normal modify , delete and update statements in my program to aceive the above functionality
2) The excel file format is also not constant they can change the columns
as per their wish i mean for exp in the above excel at col1 Status field is there and at col4 (MGS ) material group and remaining columns are description of the material group in different languages(sorry the excel alignment is not clear above) .
They can change this and they can place status at col5 and MGS at col6 .
Could you please advice me how to handle this situation in my program
Thanks in advance,
Arvind. -
Could you restrict purchase orders based upon Vendor / Material Group?
Hey everyone - I've got a general "could this be done" kind of question.
We would like to add on to the vendor purchasing view to include "valid" material groups. This would then have what material groups could be purchased for which company code for that vendor. Then in the purchase order creation / modification we would like to be able to validate this purchase order against this vendor / company code / material group combination.
Obviously with enough custom code this could be done. My question is whether it could be done without out introducing too much custom code - how would you construct such a solution to this problem?
We are a SAP 4.7 shop.
Thanks! Ken Little>
Ken Little wrote:
> Hey everyone - I've got a general "could this be done" kind of question.
>
> We would like to add on to the vendor purchasing view to include "valid" material groups. This would then have what material groups could be purchased for which company code for that vendor. Then in the purchase order creation / modification we would like to be able to validate this purchase order against this vendor / company code / material group combination.
>
> Obviously with enough custom code this could be done. My question is whether it could be done without out introducing too much custom code - how would you construct such a solution to this problem?
>
> We are a SAP 4.7 shop.
>
> Thanks! Ken Little
By include "valid" material groups i think it means you are introducing a new field or some value in already existing field in vendor master.
1) Now to restrict PO based upon material group a small custom code is needed.
Use BAdI ME_PROCESS_PO_CUST....here write a code with help of your ABAP person that system will first select the
LIFNR (vendor code) entered in the PO...then it will check the same LIFNR in LFM1 table...here it will check the material
group in the customized field & if found that it is within the list of previous listed material group then it will allow to process
further or otherwise give a customized error message.
or
2) Use the field Group in OMSF...here maintain a common group against the material groups you want to do the purchase cycle.Now ask your BASIS person to use this group in carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
Regards,
Indranil
Maybe you are looking for
-
Is there a way to export the coord data of AE objects in 3D space? (for programmers)
Hey guys, we're making a video that will mostly be a fixed camera view but have objects animate around this view. The priority is the audio; the objects that animate will sound like they are flying around the camera's point of view (the user when the
-
Microphone / Audio no longer works on my HP Pavilion DV7 Notebook PC
My microphone no longer works on my system. Everything appears ok. Got a message in the action center that says: AMD/ATI Video Driver has stopped working properly. Help, I need to record some videos. Thanks Rob
-
Web app: How can I make a web app input form post directly to a sub category
Please, how can I go about this? Some of the ideas coming to my head is to replace the section I require with the generated webapp input form code with this: <input type="radio" name="CAT_Category" value="{module_category, ID} onclick="javascript:
-
Adobe Reader XI インストール後 "an internal error occurred" と表示が出て開けない.
OS:windows7 pro Adobe ReaderⅪをインストールしたところ."an internal error occirred" と表示が出て開かなくなってしまいました. 何度か.アンインストール.インストールを繰り返してみましたが.変わりありませんでした. ネットで検索しても.レジストリを書き換えてください.などと出てきます. PC初心者なので.PCがおかしくなっても困るので.レジストリは極力変更したくありません. どうすれば直せるでしょうか.ご教授のほどよろしくお願いいたします.
-
Query regarding Overtime Rules for India
Hi, I am not clear about how to configure the statutory overtime rules (as per Overtime act) for India. I am not sure how many OT hours per week/month/quarter is allowed. Also, I am aware that some of the extra hours worked by the workmen can be cons