To map scenario of pricing
Hello Gurus,
Can any one help me to sort out the followong scenario.
My client wants that suppose if v r using 10 condition types in pricing then out of that only 5 shud be visible in Po when he press F4 and rest shud be visible in info record. So hw to configure this.
Regards
Hi
Try the following and come back if it is working. For all the conditions which you wish to be visible in info record, assign the procing procedure inside the condtion type (master data).
For the other i do not think it is possible to block the visibility at PO level as you will be able to view all the conditions which are part of your calculation schema. However you can make the 5 condition types visible directly during PO cre4ation instead of using F4 by making the condition types automatic.
Regards
Similar Messages
-
Issue with java mapping in a multi-mapping scenario
Hi
We have a 1:n multiple mapping scenario in XI and the source is R3 proxy and target side is files. So, creating multiple file from a single message from R3 .
R3 --> XI --> Multiple files
Structure of the output of the multi-mapping is
- <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
- <ns0:Message1>
<Transaction>
</Transaction>
<Transaction>
</Transaction></ns0:Message1>
</ns0:Messages>
wherein each Transaction node represents a file.
Now, we need to introduce a constant /string like
<!DOCTYPE Transaction PUBLIC \"-//XXXXXX//DTD BatchReceiptAuthorization//EN\" \"http://dtd.XXXXXXX.com/dtds/ReceiptAuthorization.dtd\">
on each of the files at the very beginning - i.e within each transaction node , in the above structure, we need the above DTD string to be written. To do this, we added a java mapping as the second mapping after the message mapping that creates this string. Is this the right approach and would it produce what we are expecting ?
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.Map;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.DynamicConfiguration;
import com.sap.aii.mapping.api.AbstractTrace;
public class ModifyRootAndDelay implements StreamTransformation {
AbstractTrace myTrace;
public void execute(InputStream input, OutputStream output) throws StreamTransformationException {
try{
BufferedReader reader = new BufferedReader(new InputStreamReader(input));
String NameSpacePrefix = "<!DOCTYPE Transaction PUBLIC \"-//innotrac//DTD BatchReceiptAuthorization//EN\" \"http://dtd.innotrac.com/dtds/ReceiptAuthorization.dtd\">";
String sLine = null;
StringBuffer XmlMsg= new StringBuffer();
String Result,PayloadBody;
int indexOfFirst;
while ((sLine = reader.readLine()) != null) {
XmlMsg.append(sLine);
String StartingTag = XmlMsg.toString();
indexOfFirst = StartingTag.indexOf("<MerchantID>") ;
PayloadBody=new String(XmlMsg.substring(indexOfFirst));
Result=NameSpacePrefix.concat(PayloadBody);
output.write(Result.getBytes());
/* Thread.sleep(200000); */
}catch(Exception e){
myTrace.addWarning("Exception raised in the JavaMapping:modifyNamespace.java""\n The Exception Message: " e.getMessage());
throw new RuntimeException(e.getMessage()) ;
} public void setParameter(Map param) {
myTrace = (AbstractTrace) param
.get(StreamTransformationConstants.MAPPING_TRACE);Hi XI Gurus
In my scenario, I sent the inputstream that is being passed to the Java execute method - to trace and I see that the whole of the xml file - as shown below - which is the output of message mapping ( from the first mapping step ) in sent to the execute method of the java mapping a single call
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<Transaction> </Transaction>
<Transaction> </Transaction>
</ns0:Message1>
<ns0:Messages>
So, I modified Java mapping program to look for multiple occurences of <Transaction> tag and prefix them with my constant DTD Literal - which is the primary reason , why I had to use Java mappings after the message mapping.
Now, I get an error is XI- SXMB_MONI
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING" />
<SAP:P1>unexpected symbol; expected '<', '</', entity refe</SAP:P1>
<SAP:P2>rence, character data, CDATA section, processing i</SAP:P2>
<SAP:P3>0</SAP:P3>
<SAP:P4>113</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>The exception occurred (program: CL_XMS_MAIN===================CP, include CL_XMS_MAIN===================CM00A, line: 609)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Should I create multiple outputs - as many as the numberof target split files ( of type outputstream ) from the execute method in the java program ? -
can anyone explaing me one preconfigured scenario in pricing relating to MM according to one business procedure. tks in advance.
If you don't have any custom conditon requirement for your purchasing other than standard pricing than you can use std pricing of purchasing, otherwise copy the std pricing and create your own pricing procedure.
Pricing Procedure :
In MM module, pricing procedure is used during RFQ and PO creation. Total value of material based on all addition and subtraction like discount, surcharge, tax, freight, etc. In this we are defining pricing procedure and linking to vendor and purchase department through the virtual schemas.
Following steps for pricing procedure as,
1. Define conditions.
2. Define pricing procedure.
3. Define virtual purchase organization and vendor.
4. Info Record.
Customization for Pricing Procedure :
1. Definition of Conditions :
/NMEK0-condition type condition types- definition (define for basic price, net price, discount, surcharge, tax etc.)
2. Defining pricing procedure :
/NMEK0- calculation schema-calculation schemasNew entries (Define procedure and put the conditions like formula so that final price will be net price / total value as per company requirement)
3. Linking pricing procedure to independent condition types.
/NMEK0-condition type condition types- definition for position for defined conditions (Enter the defined pricing procedure in the each independent conditions Pricing Procedure box)
4. Defining Schema group for Vendor :
/NMEK0- calculation schema-schema groupsvendorNew Entries.
5. Defining Schema group for Purchase Organization--- New entries.
/NMEK0- calculation schema- schema groups---- purchasing organization--- new entries.
6. Linking Virtual Purchase Organization to actual Purchase Organization.
/NMEK0- calculation schema- schema groups----- Assign P.Org. (in actual P.Org, enter virtual P.Org)
7. Linking Pricing procedure to virtual P.Org and virtual vendor :
/NMEK0- calculation schema- Determine Schema--- -Standard --- New entries (Enter virtual schema and P.Org. along with pricing procedure)
8. Linking virtual vendor to actual vendor-- /NXK02 then enter schema group vendor in Purchasing Data )
9. Info Records (/NME11)---- click on Purch. Org. data1 and enter condition types and pricing procedure
Anand
What are the steps in pricing determination in MM? Condition, Access sequence and schema.
In the SAP MM Pricing is more important. Just yesterday I have completed the Pricing as I am doing the SAPMM now. I can give some light on this Topic, not 100%. After 2 days definitely some more I can share.
The Basic thing is Condition Technique. In which there are
1. Access Sequence 2. Condition Record 3. Condition Type 4. Condition Table.
A Access Sequence access a Condition Record of a Condition Type in a Condition Table is a Condition Technique.This is a simple logic
Here the Condition Type is very important like PB00, PBXX,RA01 etc.
In the background every Condition Type has its own defition means the purpose of the Condition Type like, is it for Pricing or Percentage, Quntity base, Accrual Feilds etc is to be defined to work this functions.
Normally we use the existing ones without any risk. But some cases, we have to Create a New Condition Types as per the organisation requirement.
The Pricing Schema is useful to minimise condition types while mention prices for Vendor on the basis of Pricing Schema which we defined according to organisation requirement.
The Pricing Schema means the calculations procedure of Condition Type.
Ex. RA01 - Discoount % is caclulated on PB00 - Gross Price means
RA01 is based on PB00 like that we have to define in the Pricing Schema
which makes easy to use in realtime.
Here PB00 has the Access Sequence - 0002.
But RA01 does not have the Access Sequence.Why because it is a dependent on PB00. But both are Condition Types.
In the system, by default some standard Scheme will be there at Vendor Schema Group in the Vendor Master Screen means the standard one is assigned which is very lengthy which may fullfil our requirement. But some cases which may not fullfil our requirement, in such we have to define.
For the configuration, I may not able to explain properly through here but will give some Idea.
Configuration: SPRO-IMG-Material Management- Purchasing- Conditions-Define Price Deternmination Process
1. Define Access Sequence
2. Define Condition Type
3. Defince Calculation Schema:- Here you have to define the Schema
Define Schema group
1. Define Schema Group vendor
2. Define Pricing Schema group
3. Schema group for Purchase Organisation
4. Assign Schema group to Purchase Organisation
Define Schema determination
1.define calculation schema for Standard purchase organisation
After completion of the Schema Group, we have to assign it to Vendors.
Then whenever we use any transaction with this Vendor, the concerned Schema will work as configured by us. -
Hi,
I have a simple mapping scenario but cant find the right functoids to use. I have a simple "if else" functoid
If sender has the value 10 then the equal functoid is true and maps the value Yes. If sender is anything else but true then value mapping is No.
But now I want to add a extra value. So if sender is 10 or 20 then its Yes.
How can I achieve this?If you want to use functiod to have If-then-else, then this can be archived using the comboination of Equal, Logical Or and Value Mapping fucntiod.
Following article explains this in detail with an example.
http://blogs.msdn.com/b/chrisromp/archive/2007/05/29/to-be-or-logical-not-to-be.aspx
Otherwise a scripting functiod can do this with custom script with if-then-else in it.
You can choose any of these options.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Have an intercompany stock transfrer scenario with pricing
Dear Friends,
I have an intercompany stock transfrer scenario with pricing..
while the supplying plant creates delivery movt type 643 and after goods issue, I try to do a VF01
It throws up a pricing error.
I need to know how is the pricing determined & how does the movement type 643 ( stk trf with pricing )
connected with pricing.
Thanks RaviHi Ravish Rath,
As u said, the supplying plant creates delivery with movement type '643', check the item category will be 'NLC'
which is assigned to the schedule line category 'NC'
--> Check SPRO --> from that goto --> Define Schedule Line Categories ,
Find NC - Intercompany Replenishment, double click on it.
This will show u the movement types.
Movement Type '643' - TF to Cross - Company.
Movement Type '645' (1 - Step) - TF to Cross Company.
Hope this helps u in linking the movement type
Path: SAP IMG --> Sale and Distribution --> Billing --> Intercompany Billing.
Have u maintained this configuration?
What is the error u encountered in VF01? Give more details on it.
Have u maintained the pricing procedure determination properly?
I mean for the receiving plant :
Document pricing procedure - A
Customer pricing procedure - 1
Pricing Procedure - RVAA01.
Condition Type - PR00
For the supplying plant:
Document pricing procedure - I
Customer pricing procedure - 1
Pricing Procedure - ICAA01.
Condition Type - PR00.
These r the std ones to be configured in ur pricing procedure determination.
Have u done the integration part in VKOA?
Please check all these things and let me know.
Thanks
Keerthi -
I have an intercompany stock transfrer scenario with pricing..
Dear Friends,
I have an intercompany stock transfrer scenario with pricing..
while the supplying plant creates delivery movt type 643 and after goods issue, I try to do a VF01
It throws up a pricing error.
I need to know how is the pricing determined & how does the movement type 643 ( stk trf with pricing )
connected with pricing.
Thanks RaviHello Ravi,
Please review the note in this regard:
338922 Analysis note for Cross Company transactions
Especially,please be carefully review the following information
contained in this note.
(6) Conditions PI01/PI02/IV01/IV02
In the stock transfer process it may be required that the value
in the intercompany billing document corresponds to the value in
the stock transfer order.As of Release 4.0, you have the option
to copy conditions from the stock transfer order.For this, you
should use the 'Price source' field with setting 'A' (conditions
from purchase order) in Customizing in the copying control
(delivery to billing document).It is also useful to choose
pricing type 'G' here as well.
In more details,
1- In copy control for billing creation from replenishment cross company
delivery to intercompany billing, the field Price source must be 'A'.
2- in the same copy control the Pricing type is advisable 'G'.
3- make sure that both pricing procedures in billing and purchase have
the same condition.
Hope that the above information can be of help!
Regards,
Alex -
How to map the following pricing procedure in SAP
hello all guru of SAP,
here is the pricing which is used in our company so i want to map it in SAP
so how to do this
just bellow is the example
spoiler maruti zen vxi material name 779SMZV is the material number
basic price @36.11 for 300unit is 10833
MRP @117 for 300units 35100
MRP price after [email protected]% 23341.50
Total basic price 10833
assesable price after abatement 23341.50
assesable value 10833
excise duty on MRP after abatement@16% 3735
CESS on excise duty @2% 75
CESS duty for secandary higher education@1% 37
total net sales 14680
sales tax [email protected]% 1835
total value 16515
so please help me what is the best possible way to map this pricing procedure in sap what should be the condition and wat should be the configuration
with lots of hope
subrat ranjan panda
9313480938
[email protected]I m not able to understand urs query, if u can explain more then i might be able to help you. You can mail me or call me
regards
pradeep
+91 9971375659
[email protected] -
Multi-mapping scenario with multiple receivers
Hello all,
I have an interface using multi-mapping to generate to different files types from one source; works great.
JDBC --> XI --> (1) XML (2) CSV
I now need to have the XML file go to one receiver and the CSV file needs to go to a second receiver. I've looked at the blog:
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
This blog shows how to configure dynamic receiver determination based on the source data. In my case the output files are identical (as far as mapping), the only difference is the output format. Has any one seen a "How to" document or blog more in line to my scenario?
Regards,
JoseHi,
You can also do this way
You can define as many number of Business system you need. Say for eg you need to send XML to one BS and CSV to another BS.
Instead of doing Extended interface determination... Goto to Receiver Determination and when you are adding the Receiver service you have the option to add one more Service... There you give both the Business Service and hence you will have two inbound interface and you can different interface mapping and so on..
Regards,
Prakash -
1:N mapping Scenario, BPM errors
Hi,
I am following this scenario 1: N multi mapping
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
I need your help to fix my errors for Container1, container 2, and Send step in BPM
In BPM,
1. I have got Receive Properties without errors
2. Transformation Properties without errors
3. container 1 : can you please let me know container Properties are correctly given i.e Operation and Expression are correct ?
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774664/
4. Loop is correct
5. Container 2
As per the blog: Container operation2: It increments index by 1.
While checking My Target value has Errors. For my Target I have given index(container variable) as value. Operation and Expression are correct ?
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774670/
6. Send Properties:
As per the blog: Send step: It sends the current line of the multiline interface element out_msg1 whose index is given by the
container variable index i.e out_msg1[index].
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774672/
But I am not getting the Message Value output [ index ]. i.e. i am not getting [ index ].
Please do help me to fix this to get the index in Message Value
Thanks
manianThanks Sekhar for the help, I have used Assign value, now the container 2 has no errors.
Bu still I am unable to solve the Send Properties
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. -
step 6
Send Properties:
As per the blog: Send step: It sends the current line of the multiline interface element out_msg1 whose index is given by the container variable index i.e out_msg1index.
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774672/
But I am not getting the Message Value output index . i.e. i am not getting index .
Please do help me to fix this to get the index in Message Value
manian -
1:n Transformation using JAVA Mapping Scenario
Hi Frnds,
I done a scenario using 1:n Transformation Scenario using XSLT,Graphical Mapping.
But i want to develop scenario Using JAVA Mapping.
Can anybody done the same scenario using JAVA Mapping share the links..
Regards,
Raj SekharYou can use SAX parser for this
firstly create a StringBuffer sb object which will store our target output
when startDocument() gets called append the xml declaration in this method
sb.append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
sb.append("<Root>");
next for the Test element you have your startElement() method called which will contain the name of your source tag i.e Test
for this , you will need to set a variable boolean isTest to true which was initialised as a false value.
in the characters method you will get the value present in this tag.
test the variable isTest for true value.
if it is true then append the following
sb.append("<Test1>"name"</Test1>"); //name is the buffer passed in characters method
sb.append("<Test2>"name"</Test2>");
sb.append("<Test3>"name"</Test3>");
at the end your endelement() will be called
here reset the value of isTest to false.
in your endDocument()
sb.append("</Root>");
lastly convert to byte[] and then to outputStream format
Edited by: Progirl Progirl on Jul 4, 2008 2:00 PM -
Problem while using Parameters in Message Mapping in Multi Mapping Scenario
Hi,
I am working on a scenario in PI 7.1, in which I need to pass output of Message Mapping as an input to ABAP Mapping.
In Message Mapping, I have used standard RFC Lookup function to call a Function Module from ERP system. For using RFC Lookup function, I have created a Import Parameter of Category "Adapter", and Type "RFC" in the Signature Tab of Message Mapping.
In Operation Mapping, I have specified both the mappings (that is., Message Mapping and ABAP Mapping).
In Interface Determination, I have also assigned a value to the Importing Parameter.
But whenever I trigger a message, it fails and gives message "The input-parameter Rec_RFC_ERP does not exist." (Rec_RFC_ERP is my Input Parameter name).
When I am using only Message Mapping in Operation Mapping; it's working absolutely fine that means something needs to be done with ABAP Mapping.
Any help will be highly appreciated.
Regards,
VarunRec_RFC_ERP is this the name of your RFC lookup adapter?? Did you test your mapping in Design time using the RFCAdapter dropdown???
Mapping Enhancement - RFC lookups in 7.1
/people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
Regards,
Siva Maranani -
Unable to find channel ID in multi-mapping scenario
Hi all,
my scenario RFC-adapter-XI-File-adapter works fine, if I use a mapping without splitting the source message.
The supposed file is generated.
But If I split the source messsage in message mapping I see successfully splitted payloads in monitoring, but the files are not generated because of Error "channel ID can not be found".
AND "Zustellung der Message an die Anwendung über AFW ist fehlgeschlagen weil: Couldn't find delivery channel for message: 307e06d0-41c5-11db-96be-0017a41036a2. Message wird auf 'fehlgeschlagen' gesetzt"
I checked alread the whole forum and found some interesting informations, but nothing helped me..
Has anybody an idea?
Thanks a lot!Hi Florian,
It looks like the system is unable to find a Receiver agreement / Communication Channel for one of the Messages created by the Map.
Check whether the Receiver Agreements exist for both Message Interfaces created by message split.
Hope this helps.
Rgds
R Chandrashekhar -
Mapping Scenario for Retail Industry
Hi,
I want to know how to implement the following scenario for Sales Process
My customer is into retail industry. They have franchisee all over india. They buy material and supply material to all the location. (Which I mapped through Document Series and Sequence).
For Sales these people only know the closing stock from the respective franchisee i.e balance of the stock. right now they follow (Opening Stk - Closing stock = Sale Quantity) to get the sales.
How can we map the above mentioned scenario in SAP B1.
We are using SAP B12005B PL 40
Regards
ShashiHi,
Thanks for the reply. But actually what I am looking at the creation of A/R invoice, as it is not possible to enter item codes and select warehouses for branch for each row. I need some automised solution. so that when user from specific branch logsin that should show only the warehouse for that location. and items list should show which are there in the that particular warehouse.
Regard
Shashi -
Map Scenario Goods Issue to Production without PP Module
Hi All
In one of our client have Implemented PS & all basic module in customer project. Now they want to map their production activity under one of the WBS but they don't implemented PP module. So how to do goods issue process for semi finish or finish material which contain BOM. Is it possible to map production scenario in PS without PP module ??
As per my knowledge by creating internal activity we can manage cost for each operation as we maintain in routing but how to make goods issue of child material to parent material in BOM.
RegardsHi Ahemad
I already search forums before post to fulfill my requirement. Assembly items are created in network activities and are represented as reservations with negative quantities.You can assign an assembly item to an activity either manually, by entering a negative requirements quantity, or by using BOM transfer. can you focus more light on this as I tried this scenario I face the problem with negative quantity
Regards -
Hi gurus,
In our process one piece had to go for several operations and on line ,
want suggestion that how this could be map either with WC Cat 0001 or 007 or both.
and how the routing is to be defined with all operations or group routing .
and how the production orders had to be executed BCZ this is MTS scenario.
and another one is that can we give authorisations at operational wise confirmations
please let me know .
thanks in advanceHi
Operation wise authorization is not available in SAP (as per my knowledge).
You can use user exit if the users has the different user id and each operation with different workcenters.
Check with ABAPer as per this logic,
if the user is specific to particular workcenter allow him to do confirmation. if user is not related to that workcenter then thro the error MSG.
Please correct if i am wrong.
Regards
Vinoth
Maybe you are looking for
-
RFC destination ((((URGENT PLZZZZZZZZ)
Hi Sap Gurus I am executing bd82 by giving my other client logical system that means mm_re There It is giving one message port could to be created RFC destination MM_se( this is RFC destination name) is not specified for mm_se( logical system n
-
Can't get my playbook to link to my bold 9900
They have been linked via bridge and bluetooth but won't connect. Any ideas?
-
Please teach me how to obtain and install an airport card. thank you
I had been using my macbook internet through wifi since 2009. But suddenly this September, I could not access my wifi anymore. It appears on the screen "no airport card installed". And one more thing, I would like to upgrade my operating system to 1
-
I am working in a longish document. Every five minutes, it seems, inCopy crashes. I can post the crash report, as it appears that noone at Adobe is going to help me out voluntarily, even though inCopy crashes nearly 30 times a day. At any rate, of la
-
Trying to configure DB10gR2 Streams on XP
I'm trying to replicate two dbases on the same WindowsXP box. During the final stage of Streams setup, the msg "ERROR: Wrong password for user" is caused by the 'Host Credentials' information entered. I tried the XP admin user which installed 10g, an