Remove the exsting extended sales organization for material master
Hi All,
Could you advice how to remove the existing extened sales organization for a material master?
e.g.
we have a mateiral A-001 and have extended sales org / distribution channel
8110 10
8210 10
and currently we don't want 8210 10 to sell this part, can we disable or remove this sales org / dis channel for this part?
Thanks,
Go to material master and select Sales: Sales Org. Data 1 view and click on "Organisational levels" tab at the bottom. Maintain delivering plant, sales organisation 8210 and distribution channel 10 and execute.
There you can see a field "DChain-spec. status" where you assign "01" and save.
Go to OVSU, select "01" and click on blue lens on top so that you will see some list of tabs. In that maintain "B" against "Block for order" field and save.
Now try to create sale order for this material from sales organisation 8210 and also from 8110 and you will find that you can create sale order from 8110 and not from 8210.
thanks
G. Lakshmipathi
Similar Messages
-
Error when extend sales view for material master
Hi Experts,
Assume my plant is 5100. When i extend the sales view for materials via upload program,I am getting the error as ' Field 5100 has been transferred inconsistently or is blank'. Attached is the screen shot of the error message. I filled the plant,sales organization and all those data related sales view. But why i am getting this error?. Anyone have any ideas related to this error?. Please advise. Thanks in advance.
Regards,
KaviHi ,
Its because of the table T130W. The plant 5100 is not maintained in table T130W. Thats the reason. it shows this error. -
Extend Classification View for Material Master
Hello, How do I extend classificiation view for Material Master? Is there any BAPI or FM to do that?
I cant find any place to extend it with BAPI_MATERIAL_SAVEDATAHi,
Use this FM to create Classfiaction view BAPI_OBJCL_CREATE
Regards,
Shan -
Upload sales text for material master using LSMW direct input method
Hello Experts,
I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file
Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTH .
/SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file
Legacy Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File
ZLONG_TEXT Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
Step 10 -> Display converted data
1 /SAPDMC/LTXTH 1MVKE MATERIAL1 0001E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench
Project: ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty.
Please help me with the same.
Regards,
Ranjith NHello Experts, I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1 *************************************************************************************************************
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure
/SAPDMC/LTXTH . /SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file Legacy
Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File ZLONG_TEXT
Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
tep 10 -> Display converted data
1 /SAPDMC/LTXTH 1 MVKE MATERIAL1 0001 E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench Project:
ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty. Please help me with the same.
Regards,
Ranjith N -
Sales data not getting populated for Material master by LSMW.
Hi,
When I am trying to create material manual for sales view material is getting created and the table MVKE(Sales Data for Material) is getting populated with the sales data. But when i Am trying with LSMW METHOD
Object : 0020
Method : 0000
Program Name : RMDATIND
Program Type : D(Direct Input)
materials are geeting created but the sales data is not getting populated in the table MVKE(Sales Data for Material) and LSMW program also not showing any error.
Can any one tell me what is teh problem here.
Thanks,
Naren.Hi,
along with VKORG, VTWEG in <b>BMM00</b> are you mapping the below one's also.
BMM00-XEIV1 = 'X'. "sales 1 view
BMM00-XEIV2 = 'X'. "sales 2 view
this will enable the sales(1/2) view.
Check it once..
Regards
vijay -
How to find the sales organization for the customer (VKORG)
Hi all,
I have the customer number(KUNNR) and company code(BUKRS),
Now i want the sales organization for that customer(VKORG).
Please give me logic to find the sales org for that customer.
Thanks,
RaviREPORT ZTEST3.
parameters:
p_kunnr like knb1-kunnr,
p_bukrs like knb1-bukrs.
data:
w_kunnr like knb1-kunnr,
w_vkorg like knvv-vkorg.
select kunnr from knb1
into w_kunnr
where
kunnr eq p_kunnr and
bukrs eq p_bukrs.
select vkorg into w_vkorg
from knvv
where kunnr eq w_kunnr.
write:/ w_kunnr,p_bukrs,w_vkorg.
endselect.
endselect. -
Error while creating sales order for material with another DIVISION
Hello Friends,
I have a problem with my sales order creation.
I have defined a new sales area 0010 / 10 / 01. I have the sales order type assigned to this sales area. (in VOV8 for the sales order type, in the 'General Control' the 'item division' is flagged.
Now, I have created the sold to party XYZ with all the partner functions defaulted same as the sold to party for the sales area 0010 / 10 / 01.
NOW, I have the material ABC with the DIVISION 10 in the basic data. I have extended the material to my sales org & dist. channel & plant.
Now, while creating the sales order for my sales area 0010 / 10 / 01 , I enter the sold to party XYZ - it is OK. But when I enter the material ABC, I get the error - "SHIP TO PARTY IS NOT DEFINED FOR SALES AREA 0010 / 10 / 10"
Please help to resolve the issue.
Edited by: Vivek on Aug 13, 2009 9:04 AMHi
Common division for Material Master data will not work
Because in the material master Division is a field not an organizational unit
Means when you create MMR you will give sales org, DC, Plant as organizational units and then enter but not division
Division is a field maintained in basic data and sales org data 1
This is the reason in t code you will find in t code VOR2 Common division only customer and conditions but not materials
But in t code VOR1 Common DC ,customer conditions and materials all there are available (you can check these t codes)
Coming to your issue Item div is clecked in your order type
This means the division in MMR has the priority or control for that order type
Your header division is 01 ( taken from customers sales area) and item division is 10 (taken from MMR as per your post)
So it differs
To process this order with Item div is clecked in your order type you need to extend your Sold to party ABC to the sales area 0010/10/10 (the sales area where the division of the material falls)
or alternatively
There should be a customer say DEF created in sales area 0010/10/10 who will be a ship to party ( your error is also the same)
for your ABC that is sold to party in sales area 0010/10/01 where the order is registered
Hope yopu are getting it
ABC in sales area 0010/10/01 will have or should have ship to paty DEF in sales area 0010/10/10
or
ABC should operate in in sales area 0010/10/10 too
If item division is not ticked then these are not necessary as the header division 01 will be valid for all items and syatem will not look MMR at all for division
Regards
Raja -
Hi Gurus,
My client wants to do a sale of single material in domestic as well as in export market.
Presently there are two separate sales divisions for Export and domestic are available,but he don't allow to make common division for export & domestic.what is the best possibility in this situation?
Regards,
Pankaj.
Moderator message: not directly related to ABAP development, please have a look in the respective functional forum.
Edited by: Thomas Zloch on Mar 10, 2012 4:57 PMHi
Common division for Material Master data will not work
Because in the material master Division is a field not an organizational unit
Means when you create MMR you will give sales org, DC, Plant as organizational units and then enter but not division
Division is a field maintained in basic data and sales org data 1
This is the reason in t code you will find in t code VOR2 Common division only customer and conditions but not materials
But in t code VOR1 Common DC ,customer conditions and materials all there are available (you can check these t codes)
Coming to your issue Item div is clecked in your order type
This means the division in MMR has the priority or control for that order type
Your header division is 01 ( taken from customers sales area) and item division is 10 (taken from MMR as per your post)
So it differs
To process this order with Item div is clecked in your order type you need to extend your Sold to party ABC to the sales area 0010/10/10 (the sales area where the division of the material falls)
or alternatively
There should be a customer say DEF created in sales area 0010/10/10 who will be a ship to party ( your error is also the same)
for your ABC that is sold to party in sales area 0010/10/01 where the order is registered
Hope yopu are getting it
ABC in sales area 0010/10/01 will have or should have ship to paty DEF in sales area 0010/10/10
or
ABC should operate in in sales area 0010/10/10 too
If item division is not ticked then these are not necessary as the header division 01 will be valid for all items and syatem will not look MMR at all for division
Regards
Raja -
Sales organization for two different plant
Hi,
We have one company code , one plant as mfg. and one sales organization it is in live we do all activity in those plant, now in development along with this plant we have created one new depot plant and assign to exsting compnay code, we in this company we want to do both mfg as welll as trading activity now we have two Plant so it is necessary to create two differenmt sales organization for this,
or with single sales organization we can do both the activity , in case of sales order how we can give the ref. of Plant thorugh which we want to dispatch the materils, we have material , vendor , custom commom in both plant.
regards,
zafarHi Zafar,
You dont have to create two sales organization for mfg plant and trading plant. With one Sales organization you can do all the activaity.
Ie sales from mfg plant, sales from trading plant, Stock transfer from one plant to another plant. all the sales related transaction you can cover with one sales organization.,
Like different vendor, material and custom can be handle with one sales organization.
In terms of report SD will have all kings of report from which you can easily identify from this plant how much sales has been done. All the details you can get it.
Try with one sales org only, if any problem ur facing then let me know.
Regards,
Nagesh
Edited by: Nagesh MS on Dec 7, 2011 11:37 AM -
MIGO-Sales price for material (NL1S ROH1 ) could not be found
Hi Experts
When i doing MIGO , i am getting following Error Message .i.e.,
*Sales price for material (NL1S ROH1 ) could not be found*Message no. M7158
Diagnosis
The sales price valuation is active in the valuation area.
The system could not determine a sales price on the specified posting date for material NL1S ROH1 in unit of entry in plant .
Sales price conditions may not be defined for the material in plant .
Procedure
u2022 If you have a goods receipt for a purchase order or an order, the sales price is taken from the purchase order or the order concerned.
Check the sales price in the purchase order or the order.
u2022 if you have goods movements without a reference, you can specify the sales value (sales price including sales tax) manually.
If the screen does not have the field Sales price, then you have a Customizing error: the sales price valuation was activated in the valuation area, but the field selection of the movement type was not changed accordingly. In this case, contact your system administrator.
u2022 Check the definition of the sales price.
Note that for distribution centers, the sales price of the consumer distribution chain maintained in the distribution center's master data is used.
Proceed
If you post this movement without the sales value, the movement will be valuated with value zero. This can change the average sales price.
Please Advice us ...
Thanks in advance
Regards
Rajesh .PHello,
Please check the following:
-check with SE16 at table T001K whether you have sales pricing active for your valuation area,does your material belong to a very special material type
-Check SAP Note 84480 ,109881
-No sales price exists, no goods movements can be posted for an article subject to value-based inventory management. You must maintain the sales price in all cases.
Please refer the link below:
http://help.sap.com/erp2005_ehp_04/helpdata/en/12/085e95470311d1894a0000e8323352/frameset.htm
hope the information is helpful
regards -
Uploading sales text and Purchase order text for material master
Hi,
I have created, material master with LSMW byt not updated SALES TEXT and Purchase order text with LSMW now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text when i have done the recording with SHDB i have not found filed in recording.
regards,
zafarHi,
I have made the code in se38
as below but still it is not working
REPORT ZTEST_TEXT.
data: headerl like thead occurs 0 with header line.
data itab3 like tline occurs 0 with header line.
headerl-tdobject = 'MATERIAL'.
headerl-tdname = '00000000000LSMW123'. "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
headerl-tdid = 'BEST'.
headerl-tdspras = 'E'.
append headerl.
move '*' to itab3-tdformat.
move 'Testing PO text' to itab3-tdline.
append itab3.
call function 'SAVE_TEXT'
exporting
header = headerl
insert = ' '
savemode_direct = ' '
tables
lines = itab3
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
IF SY-SUBRC = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = headerl-tdobject
NAME = headerl-tdname.
ENDIF.
break-point.
regards,
zafar -
Find sales grid for material(AFS)
hi experts,
How to find sales grid for material.
which table do i need to use.
thanks,
NeoIf it is normal SAP R/3 system then it is MVKE Table
if you are working on AFS Related Project then i am not sure.
you can find the table name by using ST05 .
goto ST05 -> activate Trace -> enter transaction code -> keep the cursor related view-> back to ST05 -> trace off.
click on display and here it shows list of tables
Thanks
Seshu -
To Get the list of sales orders for a Business partner in CRM.
Hi all
Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
Can anybody tell me if there is an inbuilt function module or BAPI available?
If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.Hi Jessica,
Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
You'll get a table with the documents associated to that partner, where you can work on.
Kind regards. -
how can i remove the bar (where i search for websites) when i full screen
ohhh k i got it but thats not what i am looking for, so when i full screen i want it to be like fully full screen like when i watch a movie i want nothing but the movie on the screen and when i bring the mouse up then the tab shows again thats what exactly I'm asking about.
-
What is the standard program for Material Master upload using LSMW
Dear All
I am trying to use the MM upload using DATMIG_INF4. I want to know what are the different standard projects that are used for Material master upload.Hi Amol,
You can load the material master using direct input method in LSMW ,details of which are as follows:
Object 0020 Material master
Method 0000
Program name RMDATIND
Program type D Direct input
Please revert back in case of any doubt.
Cheers
VJ
Maybe you are looking for
-
How to upload/publish Items in CCM ?
Hi everybody, I'm just begining to work with CCM and I want to upload some items and publish them. I dont have Trex installed yet nor Xi. Both SRM & CCM are installed in the same server. The steps that I have followed: 1. Initialize CCM and create Ma
-
can any one tell me how can i add my hp printer which is on network to my mac 10.7.3. Thanks
-
What could block a script, when there's nothing wrong with it?
Hello, again I've just wasted some hours trying to get a script to execute. It threw an error saying that the 'object wasn't valid' I decided to give up, wen't home, and later at home started up again to see if I could sort it out. It executed well o
-
Today I purchased and downloaded the CS6 of Ps. When I try to install the software the installer tells me that the serial number of my Ps CS5 is not valid for a qualifying product. That leaves me pretty puzzled and disturbed. I now have to cope with
-
IPhoto 08 on Leopard quits minutes into running
Hi, I upgraded to iLife 08 from iLife 06 several weeks back while my MBP was still running Tiger 10.4. My wife printed photos from our recent trip to SF and LA. All was well. Over the past weekend, I upgraded the MBP to Leopard. Today, while she resu