Problem creating Material Master sales view with LSMW
Hello experts,
I have created a LSMW that uses the direct input program RMDATIND to create new material master records. These materials have different material types.
I require fields from different views like Purchasing, Sales, MRP and accounting, among others. But not all the material types have all the view defined. I will like, if it's possible, use the same LSMW program to upload all the materials.
The problem that I'm having if once I ran the program, I got the warning message "The data for the maintenance statuses V cannot be transferred", message no. MG161, and even the material is created the sales view is it not. I check all the sales data in my CSV file and looks good.
I'm also having in some records, the warning message "The data for the maintenance statuses BG cannot be transferred". That indicate problems with the accounting view.
As an extra information, I'm using the following structures BMM00, BMMH1, BMMH2, BMMH5 and BMMH7.
Hope you can help me to solve this issue.
Regards,
Mairo.
>
> I'm also having in some records, the warning message "The data for the maintenance statuses BG cannot be transferred". That indicate problems with the accounting view.
Each material type has its own set of views, e.g. a FERT has sales views but no pruchasing view, a ROH has purchasing view but no sales view, a NLAG has no storage views and a UNBW no accounting views.
This is defined in customizing of attributs of a material type.
Because of this you have to make sure that you do not transfer sales data for a material type that does not have sales views.
Which views you actually want to create is defined in field PSTAT. Each character stands for a certain view (defined in table T132)
re:The data for the maintenance statuses BG cannot be transferred
Are your matrials split valuated?
if you want create accoutning data in MBEW table with MBEW-PSTAT having BG status, then you have to make sure that MARA and MARC PSTAT field also has the B and G .
Similar Messages
-
Interactive ALV to report to get into Material Master Sales View
Hi,
I want to know way to get into Material master Sales view from an Interactive ALV report.
In the output we have (custom report for Sales) the Sales Order item information. If the user double clicks on the material, it should directly goes to the Material Master Sales org 1 view. I can able to get to MM03 initial screen to display the list of views, but it would be better we can use the Plant, Sales Org and plant info from Sales Item to get into the material master Sales view.
I checked that this functionality is there in the standard code. If you double click on the material in Purchase order display(ME23N) from the item level, it is directly getting into Material Master Purchasing view. Is there a way to achieve this.
Your suggestions would be appreciated with points. Thanks!Hello,
Yes, it's possible using the CALL TRANSACTION command with the addition AND SKIP FIRST SCREEN. The only thing that you need is to fill the fields from the first screen (SET PARAMETER command).
DATA: carrid TYPE spfli-carrid,
connid TYPE spfli-connid.
SET PARAMETER ID: 'CAR' FIELD carrid,
'CON' FIELD connid.
CALL TRANSACTION 'FLIGHT_TA' AND SKIP FIRST SCREEN.
Regards. -
Avilablity Check in Material Master Sales View
Hi
Avilablity check 02 (individual) in Material Master -- Sales General/Plant View..
Will this impact only Planning or Delivery creation also ?
How does this setting works
Let us say, If a material set 02 and no stock. Will the delivery be not able to created ?
Regards
RGIts all depend how your Avilablity configured, with combination of checking rule, check T.code OVZ9, you see the defination.
Please search the forum you will get lot of info. -
Problem in Material master sales text update
Hi,
I have make the LSMW for uploading material master sales text update by using standad batch / direct input object 001 program /SAPDMC/SAP_LSMW_IMPORT_TEXTS but as the formate of NAME required is as below
Materila code 18 Char SALES ORG 4 CHAR DIS. CHANNEL 2 CHAR total 24 char but in our system some material code is only 6 CHAR e.g ABCXYZ now when we pass the value for name
ABCXYZ SORGDC , it works OK we have to add blank spaces between material code asnd sales organuization so that total lenght of material should be 18 char so is there any option for this insted of addin gblank spaces because for each material code lenght is diffrent due to external number range .
regards,
zafar
Moderator Message: Search before you post. If you fail to get an answer, type a question, spell-check it and post it here.
Edited by: kishan P on Feb 16, 2011 4:47 PMfrom http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49e8c453611d189710000e8322d00/content.htm
Text Entry Area
Type your text into the text entry lines. You can type continuously: SAPscript fills your text using a line length of 72 characters as soon as you choose ENTER or a function.
To enter text in the line editor continuously, the checkbox Automatic tab at field end must be marked. For more information on setting automatic tabbing, see Setting Automatic Tabbing and Entering Text.
Note that the line editoru2019s text filling has no influence on the final appearance of the text. Your text is formatted no earlier than at the time it is displayed or printed. For more information, see Previewing and Printing SAPscript Documents. -
Table for Material master sales view
Hi SAP Gurus,
I have a list of materials (around 2000), now I want to check for how many material the sales view is not maintained. So, is there any table to find out my requirement.
Thanks
Shacheck below tables
MVKE Sales Org, distribution channel
MLAN Sales data, tax indicator, tax -
Making acc assignment group mandatory in material master sales view
hi,
could someone help me how to make acc assignment group (sales org:2)in material master mandatory.just acc assignment group not other fields which comes along with it . thanks
kulandaivelHi,
For making any field in material master optional/mandatory/hide , follow the steps:
1.Just click the tab ,(Which is u want to be mandatory)and get the field name
2.Go to T.Code: OMSR and enter that field name and get Selection Group
3.1. Use t.Code: OMS2 and click your material type and in next screen check Field reference ( you have assigned for material type){{ ( example :;For ROH material type the Field reference is ROH)
3.2. use T.code:OMS9,, Double Click your Field Reference and select field selection Group & select round box of mandatory and save
Regards,
Biju K -
Material master sales view.
hi gurus,
Iam getting an error "material is not defined for sales from india". the long text of error message says that tax indicators were not maintained in material master.
tried to maintain indicators in material master, but unable to see any column for entering tax indicators in master in sales views.
Am I missing any config steps please guide me
regards,
prasadHi
Goto OVK1 check for Tax country (IN) what tax category is mantained...For Eg JTX1..JTX2 then goto OVK4 and maintain tax class for JTX1,JTX2.....Tax Class 0-----Zero Tax
Class 1-----Full Tax -
No tax info in Material Master - Sales Views
Hi gurus,
while maintaining sales views in materials master, tax info is not showing as it should under Sales Organization 1 data.
Any idea of necessary settings to introduce tax info in sales org. 1 data?
thanks,
VLVictor, it's very likely your settings are missing under:
SPRO > Sales and Distribution > Basic Functions > Taxes
e.g.
SPRO > Sales and Distribution > Basic Functions > Taxes > Assign Delivering Plants For Tax Determination
remark: these questions are much more relevant to SD than MM (you can post your question in SD forum) and searching you may find answers... -
Rounding profile in material master sales view
Hi, can anyone advise if we can use the rounding profile to check the qty entered rather than system rounding the qty automatically in the sales order?
Thanks
PPPls ignore...this is a duplicate thread.
-
Material master -sales text / purchase order text
Dear MM experts,
we are maintaining materials sales text & purchase order text while creating material master.
sales text is required for our customers quotations & purchase order text is required for our Vendors Purchase orders.
I have an issue, where sales text in material master is limited to 6.5 inch length, but need 7.5 inch length, where I can set this page length. Also i wanted to have same font characteristics to be changed from exiting font size and font style to required, how to do this?
pl help & how the above can be changed from default settings to flexible settings with regard to material master.
thanks in advance
regards
Sriharifrom http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49e8c453611d189710000e8322d00/content.htm
Text Entry Area
Type your text into the text entry lines. You can type continuously: SAPscript fills your text using a line length of 72 characters as soon as you choose ENTER or a function.
To enter text in the line editor continuously, the checkbox Automatic tab at field end must be marked. For more information on setting automatic tabbing, see Setting Automatic Tabbing and Entering Text.
Note that the line editoru2019s text filling has no influence on the final appearance of the text. Your text is formatted no earlier than at the time it is displayed or printed. For more information, see Previewing and Printing SAPscript Documents. -
LSMW--Create Material master data
Hi,
When I use LSMW to create material master data, I set up all step, but when I go to last step "13 Run Batch Input Session", there is error message like "Select at least one view" in moudle SAPLMGMM, screen 0070, anybody can tell me what is problem, thanks a lot.Hi,
This is due to error while recording for MM01,
Please do a Repeat recording and ensure that once the material number, industry sector and material type is entered, on the next screen you need to select all or at least a single view to create the MMR.
Regards
Merwyn -
Create Material Master Data with BAPI
Hi,
I don't know using of BAPI. I want using BAPI_MATERIAL_SAVEDATA bapi for creating material master data for Basic Data1, Basic Data2, Purchasing and MRP views. Does anybody can help me ?
Thank you
Good nightHi,
Please refer to the documentation below:
BAPI_MATERIAL_SAVEDATA
Short Text
Create and Change Article Master Data
Functionality
You use this method to create new material master data or to change existing material master data. The data on a material can be transferred for each call.
When creating material master data, you must transfer the material number, the material type, and the industry sector to the method. You must also enter a material description and its language.
When changing material master data, you need enter only the material number.
In the header data, you must select at least one view for which data is to be created. Depending on the view selected, you must maintain other required parameters. If you do not enter values for all of the required parameters, the method is ended with an error message.
The corresponding fields in the tables (such as CLIENTDATA) must first be supplied with data by the calling program. An indicator must also be set for each of these fields so that the data is written to the database by the method. This requires the calling program to supply the corresponding field with the indicator in a checkbox table (for example, CLIENTDATAX). Checkbox tables exist for tables that do not contain any language-dependent texts (MAKT, MLTX), International Article Numbers (MEAN), or tax classifications (MLAN). Several data records for a material can be created in these tables.
If a structure contains fields for units of measurement (such as structure CLIENTDATA, field BASE_UOM), language indicators (such as structure MATERIALDESCRIPTION, field LANGU), or country indicators (such as structure TAXCLASSIFICATIONS, field DEPCOUNTRY), there is always a field of the same name with the ending _ISO. This makes it possible to transfer either the internally used SAP code or a standardized ISO code for the units of measurement, language indicators, or country indicators. ISO codes are converted to an SAP code internally for further processing. The ISO code is used only if the SAP code is not transferred. If you use ISO codes, there must be a unique assignment of the ISO code to the SAP code in the following activities in Customizing for Global Parameters:
Check Units of Measurement
Define Countries
If you want to maintain long texts (basic data texts, internal comments, purchase order texts, material memos, or sales texts) or customer-defined fields for a material, some special conditions have to be observed. They are described in the documentation for parameters MATERIALLONGTEXT and EXTENSIONIN.
Parameters
HEADDATA
CLIENTDATA
CLIENTDATAX
PLANTDATA
PLANTDATAX
FORECASTPARAMETERS
FORECASTPARAMETERSX
PLANNINGDATA
PLANNINGDATAX
STORAGELOCATIONDATA
STORAGELOCATIONDATAX
VALUATIONDATA
VALUATIONDATAX
WAREHOUSENUMBERDATA
WAREHOUSENUMBERDATAX
SALESDATA
SALESDATAX
STORAGETYPEDATA
STORAGETYPEDATAX
FLAG_ONLINE
FLAG_CAD_CALL
NO_DEQUEUE
NO_ROLLBACK_WORK
RETURN
MATERIALDESCRIPTION
UNITSOFMEASURE
UNITSOFMEASUREX
INTERNATIONALARTNOS
MATERIALLONGTEXT
TAXCLASSIFICATIONS
RETURNMESSAGES
PRTDATA
PRTDATAX
EXTENSIONIN
EXTENSIONINX
Exceptions
Function Group
1001UEB
Thanks,
Sandeep. -
Create Material Master Record with Text
Hi, I am looking to create material Master Data via ABAP. I currently have some code that creates the Master Data Characteristic value I want, but I need the text as well. Can someone tell me what I need to do to add the text for the Master Data Characteristic value?
Here's what I have using CL_RSDMD_UPDATE_MASTER_DATA=>UPDATE_ATTRIBUTES_STATIC
TYPE-POOLS: RS, RSSM.
DATA: T_ZFREETEXT LIKE STANDARD TABLE OF ZFREETEXT.
DATA: T_INFO TYPE RSSM_S_MINFO.
DATA: RETURN_STATUS TYPE RSARR_T_IDOCSTATE.
DATA: RETURN_SUBRC LIKE SY-SUBRC.
DATA: MSG TYPE RS_T_MSG.
DATA: L_R_ACTIVATE_MASTER_DATA TYPE REF TO CL_RSDMD_ACTIVATE_MASTER_DATA.
INSERT ZFREETEXT INTO TABLE T_ZFREETEXT.
CALL METHOD CL_RSDMD_UPDATE_MASTER_DATA=>UPDATE_ATTRIBUTES_STATIC
EXPORTING
I_IOBJNM = '0MATERIAL' " Technical name of InfoObject
I_CHAVL_ENQUEUE = RS_C_FALSE
I_T_DATA = T_ZFREETEXT
I_S_MINFO = T_INFO
I_MONITORING = RS_C_FALSE
CHANGING
C_T_IDOCSTATE = RETURN_STATUS.
IF SY-SUBRC <> 0.
RETURN_SUBRC = 'Error happened'.
ELSE.
RETURN_MSG = 'Process Completed Successfully'.
CREATE OBJECT L_R_ACTIVATE_MASTER_DATA
EXPORTING
I_IOBJNM = '0MATERIAL'
I_P_Q_HAVE_TO_EXIST = RS_C_FALSE.
IF SY-SUBRC = 0.
L_R_ACTIVATE_MASTER_DATA->ACTIVATE(
IMPORTING
E_SUBRC = RETURN_SUBRC
CHANGING
C_T_MSG = MSG ).
ENDIF.
ENDIF.Dear Kenneth,
do you need to add master data during load of transaction data in planning scenario? If yes, you can do this with a planning function of type exit in the INIT function module.
I think you've to use the table ETO_CHAS (table for char. combinations) and all kind of char. combinations has to be transfered.
data:
l_s_chas type /1SEM/_YS_CHAS_"YOURCLIENT"YOURPLANNINGAREA",
l_r_co_area type range of /bi0/oico_area,
l_s_costcenter type /bi0/pcostcenter.
field-symbols:
<f_coar> type /bi0/oico_area,
<f_cctr> type /bi0/oicostcenter.
select * from /bi0/pcostcenter into l_s_costcenter
where co_area IN l_r_co_area
and objvers = 'A'.
<f_coar> = l_s_costcenter-co_area.
<f_cctr> = l_s_costcenter-costcenter.
INSERT l_s_chas INTO TABLE eto_chas.
endselect.
Regards, Clemens -
I want validation while creating material master with profit center
Dear Experts,
I want validation while creating material master with profit center.
If 0001 plant having 100100 profit center
0002 plant having 200200 profit center
Material A cant be created for 0001 plant for with wrong profit center 200200.
Kindly help & provide me solution clearlyHi,
Profit centers are assigned to controlling areas. And controlling areas can have many plants under them. So as long as both the plants and profit centers are in the same controlling area users will be able to extend the materials.
You should put in your validation control in the material master user exit. One of the exits you can use is
MGA00001 Material Master (Industry): Checks and Enhancements
Thanks & regards
Hameed Parvez -
Is it possible to Create Material Master without Profit Center ?
Hai,
1) Is it possible to Create Material Master without Profit Center ?
2) How SAP System Validate Profit Center in material master. ? is it material Type wise ?
3) Whether PO Order Creation,GRN & MIRO Possible for those material Master without Profit Center.?
Kindly Explain me clearly..
Thanks & Regards,
SwethaHi,
Profit center is at the plant level.
You can create material master even with out a profit center.This field will be there in the costing view and and general sales/plant data.
while creation of the materila master if do not select these views system will not ask for that.Normally it is pertaining to the costing analysis.
A profit center manager is held accountable for both revenues, and costs (expenses), and therefore, profits. What this means in terms of managerial responsibilities is that the manager has to drive the sales revenue generating activities which leads to cash inflows and at the same time control the cost (cash outflows) causing activities. This makes the profit center management more challenging than cost centre management. Profit center management is equivalent to running an independent business because a profit center business unit or department is treated as a distinct entity enabling revenues and expenses to be determined and its profitability to be measured.
Business organizations may be organized in terms of profit centers where the profit center's revenues and expenses are held separate from the main company's in order to determine their profitability. Usually different profit centers are separated for accounting purposes so that the management can follow how much profit each center makes and compare their relative efficiency and profit. Examples of typical profit centers are a store, a sales organization and a consulting organization whose profitability can be measured.
For more info,please refer
http://help.sap.com/erp2005_ehp_04/helpdata/EN/cc/36428094f311d2b47a006094b9b0a5/frameset.htm,
Regards,
Maybe you are looking for
-
Payment Advice Urjent to resolve
Hi Experts, Please help to investigate on the issue that some payment advices are still sending from the mailbox of the user who release the payment in F110 even acct clerk is set in the vendor master. could some one please help me out how to resolve
-
Facetime is not available error message, any suggestions?
facetime is not available error message, any suggestions?
-
ReplyTo header field from Java JMS read by C JMS API causes core dump...
Hi,
-
DB operation failed...
A while back someone posted this problem and it was suggested they try upgrading the client on the PCs involved. I was wondering if this had solved it before I try tracing which 4 of our 1200 machines are generating these errors. As a reminder, the f
-
Exchange Server 2013: Internal Certificate Issue
Dear All, I have MS Exchange 2013 with domain name: Exchange.local (fqdn: ex001.exchange.local). I had created the accepted domain for xyz.com. I bought the Wildcard Certificate for *xyz.com. I had issued the certificate to my MS Exchange server. Ext