How to extend sales views extension for purchase material?
Dear MM experts,
pl let us know how purchase material master is extended with sales views.
we have defined material for purchase views only, now we have requirement of sales views for the same material. Please let us how this can be done.
Thanks in advance
best regards
Srihari
Hi srihari,
It maily depends on the user departmentt which you have selected in OMS2 Transaction...
Normaly in standard ROH will not be having Sales view selected.
in FERT ( finished) and HALB( semifinished) material type will be having sales views.
If your materrila wihich is having the materila type ROH you cant extend the materila to sales view... you need to change the materila type in this scenario...
or else create one more materila with FERT ( finished) and HALB( semifinished) material type and maintain the details in the required fields in purchase and sales as well.
REgards
Anand
Similar Messages
-
How to Extend Sales Area data for a BP
Hello Experts,
I am working on CRM 7.0 and the requirement is to add a new new field in Complaints Tab in Sales Area Data screen of Business Partner in GUI as well as WebUI.
Question-> Can we add the new field in WebUI using AET? Does it supports extension of relevant Assignment block(Sales Area data->Complaints and Returns)? If yes then how can we add the same field in GUI after that? If not then what is the alternate solution and Can we use BDT to fulfil this requirement?
I assumed that EEWB does not supports extension of Sales Area data for a business partner. Please let me know if I have got it wrong.
Regards,
AmitYou can use AET to extend the sales area data of BP. However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
Regards,
Shaik -
I have created sales view of articles for sales organisation 0101. I want to extend sales view for
sales organisations 0102,0103... .
Is there any bapi for extension of sales view.Hi
I guess you can use BAPI_MATERIAL_SAVEDATA for
extending existing material.
Kind Regards
Eswar -
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?
Hi,
First go thourh the FM import export parameters list.
Try to create an internal table of type INRI-NRRANGENR for number ranges.
We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
Try to create the ncessary ones using this FM.
In the Exit, EXIT_SAPMM06E_001,
the Export parameters are-
EKKO-EBELN- the PO ios created with in that specified range
Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
Try to code this in the Include provded and keep Breakpint and check the PO number generated.
Reply if u need more help on this.
Reward if helpful.
Best Wishes,
Chandralekha -
How can I change view options for ALL playlists?
How can I change view options for ALL playlists? With one single click or trick?
I have a lot playlists and don't want to change every single one of them separatly.
Thanks for your help. (I use Windows 7)There's no FAST way I know of, which is what I think you mean.
Only the painful SLOW way of one-by-one.
You could make a new playlist from the main library after you've set the columns up as you like.
Go to an existing playlist that doesn't have the columns you want, and select all.
RIght-click > Add to Playlist and send them to the new playlist.
That's still one-by-one and only works with static playlists, not smart ones. -
How to extend the time line for the premiere on mac pro mavericks
how to extend the time line for the premiere on mac pro mavericks
Wrong place.
Try the Adobe Premiere forum.
http://forums.adobe.com/community/premiere
Good luck,
x -
How to extend breadth first Search for Binary Tree to any kind of Tree??
Dear Friends,
I am thinking a problem, How to extend breadth first Search for Binary Tree to any kind of Tree?? ie each node has more than 2 leaves such as 1, 2,3,4 or any,
I have following code to successfully apply for breadth first Search in Binary Tree as follows,
package a.border;
import java.util.ArrayList;
import java.util.LinkedList;
public class Tree
int root;
Tree left;
Tree right;
static ArrayList<Integer> list = new ArrayList<Integer>();
static ArrayList<Tree> treeList = new ArrayList<Tree>();
private static LinkedList<Tree> queue = new LinkedList<Tree>();
* @param root root value
* @param left left node
* @param right right node
public Tree(int root, Tree left, Tree right)
this.root = root;
this.left = left;
this.right = right;
/** Creates a new instance of Tree
* You really should know what this does...
* @param root
public Tree(int root)
this.root = root;
this.left = null;
this.right = null;
* Simply runs a basic left then right traversal.
public void basicTraversal()
//Check if we can go left
if (left != null)
left.basicTraversal();
//Add the root
list.add(root);
//Check if we can go right
if (right != null)
right.basicTraversal();
public ArrayList<Integer> getBreadthTraversal(ArrayList<Integer> list)
//Add the root to the arraylist, we know it is always the first entry.
list.add(root);
//Basically we add the first set of nodes into the queue for
//traversing.
//Query if left exists
if (left != null)
//Then add the node into the tree for traversing later
queue.add(left);
//Same for right
if (right != null)
queue.add(right);
//Then we call the traverse method to do the rest of the work
return traverse(list);
private ArrayList<Integer> traverse(ArrayList<Integer> list)
//Keep traversing until we run out of people
while (!queue.isEmpty())
Tree p = queue.remove();
//Check if it has any subnodes
if (p.left != null)
//Add the subnode to the back of the queue
queue.add(p.left);
//Same for left
if (p.right != null)
//Same here, no queue jumping!
queue.add(p.right);
//Append to the ArrayList
list.add(p.root);
//And return
return list;
* Makes a tree and runs some operations
* @param args
public static void main(String[] args)
* 4
* t = 2 6
* 1 3 5 7
Tree leaf6 = new Tree(1);
Tree leaf7 = new Tree(3);
Tree leaf8 = new Tree(5);
Tree leaf9 = new Tree(7);
Tree t4 = new Tree(2, leaf6, leaf7);
Tree t5 = new Tree(6, leaf8, leaf9);
Tree t = new Tree(4, t4, t5);
t.basicTraversal();
System.out.println("Here is basicTraversal ="+list.toString());
list.clear();
t.getBreadthTraversal(list);
System.out.println("getBreadthTraversal= " +list.toString());
list.clear();
}Can Guru help how to update to any kind of tree??
here this code is for the tree like:
* 4
* t = 2 6
* 1 3 5 7
*/But i hope the new code can handle tree like:
* 4
* / | \
* / | \
* t = 2 8 6
* / | \ | /| \
* 1 11 3 9 5 10 7
*/Thankssunnymanman wrote:
Dear Friends,
I am thinking a problem, How to extend breadth first Search for Binary Tree to any kind of Tree?? ...The answer is interfaces.
What do all trees have in common? And what do all nodes in trees have in common?
At least these things:
interface Tree<T> {
Node<T> getRoot();
interface Node<T> {
T getData();
List<Node<T>> getChildren();
}Now write concrete classes implementing these interfaces. Let's start with a binary tree (nodes should have comparable items) and an n-tree:
class BinaryTree<T extends Comparable<T>> implements Tree<T> {
protected BTNode<T> root;
public Node<T> getRoot() {
return root;
class BTNode<T> implements Node<T> {
private T data;
private Node<T> left, right;
public List<Node<T>> getChildren() {
List<Node<T>> children = new ArrayList<Node<T>>();
children.add(left);
children.add(right);
return children;
public T getData() {
return data;
class NTree<T> implements Tree<T> {
private NTNode<T> root;
public Node<T> getRoot() {
return root;
class NTNode<T> implements Node<T> {
private T data;
private List<Node<T>> children;
public List<Node<T>> getChildren() {
return children;
public T getData() {
return data;
}Now with these classes, you can wite a more generic traversal class. Of course, every traversal class (breath first, depth first) will also have something in common: they return a "path" of nodes (if the 'goal' node/data is found). So, you can write an interface like this:
interface Traverser<T> {
List<Node<T>> traverse(T goal, Tree<T> tree);
}And finally write an implementation for it:
class BreathFirst<T> implements Traverser<T> {
public List<Node<T>> traverse(T goal, Tree<T> tree) {
Node<T> start = tree.getRoot();
List<Node<T>> children = start.getChildren();
// your algorithm here
return null; // return your traversal
}... which can be used to traverse any tree! Here's a small demo of how to use it:
public class Test {
public static void main(String[] args) {
Tree<Integer> binTree = new BinaryTree<Integer>();
// populate your binTree
Tree<Integer> nTree = new NTree<Integer>();
// populate your nTree
Traverser<Integer> bfTraverser = new BreathFirst<Integer>();
// Look for integer 6 in binTree
System.out.println("bTree bfTraversal -> "+bfTraverser.traverse(6, binTree));
// Look for integer 6 in nTree
System.out.println("bTree bfTraversal -> "+bfTraverser.traverse(6, nTree));
}Good luck! -
How to extend AVK to scan for other vendor-specific APIs?
All--
How do I extend AVK to scan for other vendor specific APIs.
I tried adding another <name> element underneath the
appropriate the <unsupported> tag in the asmt-config.xml file,
e.g.
<websphere50>
<supported>
</supported>
<unsupported>
<name>com.ibm.ws.activity.ActivityConstants</name>
.......... other <name> elements were left alone ..........
</unsupported>
</websphere50>
But when I scanned the source code it didn't find an import of that API.
Note: it did find an import of the APIs that were pre-defined in the asmt-
config file; just not the one that I added.
Is adding a <name> to the asmt-config.xml file the right approach?
If so, how does the SourceScan ant task know where to find the asmt-
config.xml file. Currently, I left it in the %JAVKE_HOME%/config folder.
Is that the right place for that file?
Any comments on how to extend AVK to scan for other vendor
specific APIs would be greatly appreciated.Oops!
Its probably bad form to answer your own question, but after
sending out the original post, I treid:
1. opening a new shell
2. running the %JAVKE_HOME%/bin/javke_setenv.bat
3. then ran the "asant code-scan" from that shell and viola it worked ...
Sorry for any confusion. -
How to find Sales order numbers for List of Deliveries
Hi
How to find Sales order numbers for List of Deliveries
Thanks
MuthuHi,
Open the delivery list.
Select a delivery, goto menubar, environmment, document flow.
Here u can able to see the order no. (but, here u can see one by one , not cumulatively)
Regards
Kaleeswaran -
How do I enter Document Type for Purchase requisition IDOC
Hello,
File - IDOC (PREQCR.PREQCR02)
The file is getting picked up and shows up a checkered flag in Moni..
but in WE05, on R3 side, i see an error message
"Enter Document Type"
How do I enter document type for Purchase requisition IDOC?
will that solve this issue?
thanks and regards
Nikhil.Hi,
For error 51, you need to set the default document type in the inbound processing FM of the IDOC
Standard type - NB
Subcontrator type
Blank PO
Service PO
Stock transport PO.
Document types is used for below things,
1. It controls the no. range of the document i.e. the doc no.
2. It controls whether doc no. is auto assigned or manually entered
3. It controls the field status of the doc header fields i.e. whether input is mandatory or optional
4. It controls the physical doc filing
Thanks
Swarup -
How to Maintain two different prices for same material in different qty?
Dear all,
How to maintain two different prices for same material in different batch quantities in purchase order(ie.,info record)?
(Vendor is supplying quantities in 2 different batches & also in different prices)
Expecting valuable reply.
JeyakanthanIn a PO you can create 2 items, and each item can be maintained with a different price in the conditions.
In info record it is not possible to have different prices for the same period, except for scales.
so if you have a price of e.g. 2 USD for 1000 kg and 1,90 USD for 2000 kg then you can maintain this in scales, but you still have to have 2 items in the PO so that each one can individually find its price.
Alternative you can create contracts (as well with more than one item) to reflect the different prices and batches. -
Lead Time for Purchasing Material & Manufacturing Material
The query is related to the process of Material Requisition planning.
I need to know from where exactly the system picks up the lead time for generating Purchase requistions?
- For purchased material (lead time from placing order to actual recipt of material, time needed for QC checking till its release)
- For own manufactured material (lead time at each work center in the recipe along with actual time required for a particular process)Hi
for your information for any material the data for the lead time comes from the material master
http://help.sap.com/saphelp_46c/helpdata/en/fd/45b7ee9d6411d189b60000e829fbbd/frameset.htm
if you click on the link you can get the entire process.
as you can see SAP picks up the deatil from the MRP2 view of the material master.
hope this is helpful.
regards
Vignesh. -
How to find classtype and class for a material.
Hi,
How to find classtype and class for a material.
which table contains this data.
Thanks
KiranHi Kiran,
Check below sample code. Use this BAPI which will give all info about the class for the material.
DATA: l_objectkey_imp TYPE bapi1003_key-object
VALUE IS INITIAL.
CONSTANTS: lc_objecttable_imp TYPE bapi1003_key-objecttable
VALUE 'MARA',
lc_classtype_imp TYPE bapi1003_key-classtype
VALUE '001',
lc_freight_class TYPE bapi1003_alloc_list-classnum
VALUE 'FREIGHT_CLASS',
lc_e TYPE bapiret2-type VALUE 'E',
lc_p(1) TYPE c VALUE 'P',
lc_m(1) TYPE c VALUE 'M'.
SORT i_deliverydata BY vbeln posnr matnr.
CLEAR wa_deliverydata.
LOOP AT i_deliverydata INTO wa_deliverydata.
REFRESH: i_alloclist[],
i_return[].
CLEAR: l_objectkey_imp.
l_objectkey_imp = wa_deliverydata-matnr.
*Get classes and characteristics
CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
EXPORTING
objectkey_imp = l_objectkey_imp
objecttable_imp = lc_objecttable_imp
classtype_imp = lc_classtype_imp
* READ_VALUATIONS =
keydate = sy-datum
language = sy-langu
TABLES
alloclist = i_alloclist
* ALLOCVALUESCHAR =
* ALLOCVALUESCURR =
* ALLOCVALUESNUM =
return = i_return
Thanks,
Vinod. -
How to update Unit Of Measure for a material in BAPI_SALESORDER_CHANGE
Hi All
How to update Unit Of Measure for a material in BAPI_SALESORDER_CHANGEhi,
in BAPISDITM structure, which is their in orderitemin
update updateflag of BAPISDITMX, which is their in orderiteminx for the same field with update flag = 'U'
kindly try with <b>T_UNIT_ISO</b>
or
<b>TARGET_QU</b>
comeback with u r comment
regards,
pavan
Message was edited by:
pavan kumar pisipati -
Userexit to update sales order no for packaging material during PGI
Hi,
Scenario is like this:-
1.Sales order will be created for material X
2.Delivery will take place and packaging of material X will take place.
3.The packaging material will come as a line item and we do PGI by picking the quantity.
4.Now when we see the accounting document for PGI,we get the sales order reference for X.
5.We are not getting the reference of Sales order no for packing material while seeing the accounting document in PGI.
6.Since the packing material is not maintained in Sales order thats why the sales order no is not getting updated in the accounting document.
7.NOW I WANT TO UPDATE THE SALES ORDER FIELD FOR PACKING MATERIAL ALSO ONCE THE PGI IS TAKING PLACE.
Can any one suggest me if there is any userexit to update the sales order field for accounting document of packing material once PGI happens.
regards
SomnathHi,
Since packging material is not sales order item so it can't be accounted in PGI packging material is aour internal stock and not sellable stock.
Reward points if helps.
Thanks & Regards
Sasikanth.Ch
Maybe you are looking for
-
G5 Dual 2.5 CPU Power PC will not boot unless I remove the Plastic Sheild.
G5 Dual 2.5 CPU with 4 gb of memory will boot everytime if I take the plastic sheild out. I bought it from a guy who would turn it on then let it sit until the fans revved up after about 5 to ten minutes. I figured out that it would boot everytime if
-
Hi, I have a servlet, a session bean, and an entity bean. A servlet doesn't have any transaction attribute, a session bean has Required, and an entity bean has Required. I have the code like the following: Servlet: EJBDelegate ed = new EJBDelegate();
-
Hi, I am trying to install Adobe Reader. I have tried a couple of versions but keep getting Error 1310 messages: Error 1310. Error writing to file: C:\Program Files\Adobe\Reader 10.0\PDFPrevHndlrShim.exe. Verify that you have access to that directory
-
Hello, This is also cross posted in the JDev forum because i'm not sure where it belongs. Jsf ppr <-> uix ppr The page is generated with JHS and the only important thing I changed was adding the partialtrigger and autosumbit/immediate on the fields,
-
High ISO RAW files not importing properly since upgrading to Yosemite
Since updating to Yosemite I am having a problem with trying to use RAW files shot at ISOs higher then 800. I am simply getting a black rectangle with a message about "unsupported file format". I am able to import the images using the Canon software,