Customer validation in creation and modification price condition VK11, VK12
Hi,
We have create a key combination determined by Sales organization, distribution Channel, customer and material. When we create a condition register with a customer that do not belongs to these sales organization and distribution channel no error are determined. It seems like no standard validation are configured with sales organization, distribution channel and customers.
This does not occurs if we add the division. Then the error that customers does not exist for the sales organization is determined.
We need that error appears with sales organization, distribution channel and customers. Is there an User Exit or and customizing to do this?
Best Regards,
Standard validations only occurs with Sales organization, Distr. Channel and division are part of the key. To perform validation we have used a Enhacement.
Similar Messages
-
Role creation and modification report
Hello everybody!
The SOX Audit requested this information:
A list from all roles, with creation and modifications date (not when a user is added, but when the role was changed).
How can I find this? I tried on SUIM / modification docs, but could not found.
Thanks in advanced!Check this table AGR_DEFINE has the details, but you may need to write some kind of coding or use function module /ISDFPS/GET_AGR_DETAILS to pull the data. If I come across any standard report I'll pass on.
rgds,
asok -
Sending Sales Price & Conditions(VK11) Data
Sending Sales Price & Conditions(VK11) Data ALE/IDOC Interface . please let me know the message types and tcode to send pricing condtion like BD10 for MATMAS .
your help is appriciated
thanks
NaveenIDoc COND_A01 (also see if the higher numbers work for you), message type COND_A, if memory serves.
To send (like BD10) - transaction VK13. Enter condition type, pick a Key combination (if applicable). You should get a screen with the key fields and the [Condition Info] button. Fill in the required fields, if any (the values don't matter, you just need to pass through the screen), click [Condition Info] button. This will open the selection screen - fill in the fields, as needed, click Execute button.
If you have done everything correctly, you should get a list of condition records with the checkboxes. Check the records that you want to send and click [Send Condition] button. On the next screen, provide the requested informaton for the IDocs.
You might need to configure a partner profile (WE20) and distribution model (BD64), of course.
Good luck! -
Creation and Modification dates for android file system
Hello all, I am working on a project and i noticed a particular scenario where i'm getting an error everytime i try to run the code below on my android device;
var file:File=File.applicationDirectory.resolvePath("amf.js");
var modDate:Date;
var createDate:Date;
if(file.exists)
try
modDate=file.modificationDate;
credDate=file.creationDate;
trace("Modification date: "+ modDate.toString()+"\nCreation date: "+credDate.toString());
catch(e:Error)
trace(e.message+": Somehow android OS CANNOT READ mODIFICATRION AND CREATING DATES FOR FILES");
Every time i run this on Adobe AIR's Mobile emulator, the correct dates are show up properly(Possibly because the emulator is running on Windows) but when i switch the debug to the device, the statement in the catch block executes. The real error says "Error #3003: File or directory does not exist."
Am i missing something or is this a normal behaviour which i have to find a work around for? The modificationDate and the creationDate are all properties of the FileReference class which i didnt use to instanciate the file object because i wasnt uploading or downloading anything.
Any form of tip will be much appreciated.
Thanks.I run into the same problem while working on some sort of file synching task.
Trying to read the file.modificationDate or creationDate results in an error: "Error #3003: File or directory does not exist."
I have obeserved that this only happens for files that were packaged with the app (and placed in the File.applicationDirectory).
Files that my app has downloaded and saved to the device (File.applicationStorageDirectory) do have a valid creation date and modification date.
Maybe the File.applicationDirectory has different rights?
Does anybody have a solution or workaround for this? -
Mac Does Not Retain Video Creation and Modification Dates
I seem to have encountered a major problem for managing videos on the Mac. There does not seem to be a method - other than manually dragging files "Windows Style" - for moving videos from my camera (any camera) to the Mac (any Mac) that retains the video's modification date (the date the video was taken) so that videos can be organized by date (which, I imagine, is the primary way that I and everyone else would normally keep track of their videos). iMovie resets the "Date Modified" and "Date Created" data to the day that iMovie imported the file. That data is almost meaningless. Yes, iMovie allows for modifying the "Clip Date and Time" after the fact and one at a time but that is obviously inadequate for the serious management of archived files. Neither iPhoto or Image Capture seem to be capable of touching video files at all. Is Mac really this deficient for managing video files? Somebody please tell me I'm wrong. Thanks.
I run into the same problem while working on some sort of file synching task.
Trying to read the file.modificationDate or creationDate results in an error: "Error #3003: File or directory does not exist."
I have obeserved that this only happens for files that were packaged with the app (and placed in the File.applicationDirectory).
Files that my app has downloaded and saved to the device (File.applicationStorageDirectory) do have a valid creation date and modification date.
Maybe the File.applicationDirectory has different rights?
Does anybody have a solution or workaround for this? -
Reg: Price Condition VK11 _ BAPI/FM
Hi,
May i know what is the BAPI / FM to create Condition (VK11).
Arun.dCALL FUNCTION 'BAPI_PRICES_CONDITIONS'
TABLES
ti_bapicondct = lt_bapicondct
ti_bapicondhd = lt_bapicondhd
ti_bapicondit = lt_bapicondit
ti_bapicondqs = lt_bapicondqs
ti_bapicondvs = lt_bapicondvs
to_bapiret2 = lt_bapiret2
to_bapiknumhs = lt_bapiknumhs
to_mem_initial = lt_cnd_mem_initial
EXCEPTIONS
update_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
-Write the message here-
MESSAGE e001 WITH text-e02.
ENDIF. -
Regarding bapis for sales order creation and modification
Hi,
I am trying to create a syncbo for sales order creation, modification and display. The bapis that I am using are
1.BAPI_SALESORDER_GETLIST
2.BAPISDORDER_GETDETAILEDLIST
3.BAPI_SALESORDER_CREATEFROMDATA1
4. BAPI_SALESORDER_CHANGE
Am I using the correct bapis. When I tried to create a syncbo it gave the following errors
BAPISDORDER_GETDETAILEDLIST does not have RETURN parameter in export or tables parameter
RETURN parameter in Create BAPI Wrapper should refer to structure BAPIRET2
RETURN parameter in GetList BAPI Wrapper should refer to structure BAPIRET2
GetDetail BAPI Wrapper does not have RETURN parameter in export or tables parameter
No Export parameter referring to header structure exists in GetDetail BAPI Wrapper
No Import parameter referring to header structure exists in Create BAPI Wrapper
No Import parameter referring to header structure exists in Modify BAPI Wrapper
No Import parameter referring to a field of header structure exists in GetDetail BAPI Wrapper
No Export parameter referring to a field of header structure exists in Create BAPI Wrapper
No Tables parameter referring to item structure exists in Create BAPI Wrapper
No Tables parameter referring to item structure exists in Modify BAPI Wrapper
I am informed that the above bapis are standard bapis.
I am not sure as to why I am getting the errors.
Does the syncbo require the bapi's to be in a specific format.
What would be the header and item structures for sales order bapis
Regards
Raja SekharHi Raja,
ya , for creating Sync BOs ,our BAPI wrappers must satisfy certain conditions..
just go through this link.
u can use the standard BAPIs of SALES Order in ur Custom BAPI Wrapper
http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_bapi_wrapper.html
the RETURN must be of type BAPIRET2..
Regards
Kishor Gopinathan -
Price Condition Depending of Material Master Record
Helllo Experts, I have an issue with a price condition on a price procedure the user wants to be able to mantain the price condition manually only if the material used at item level of sales order is equal to one of 3 sku´s.
This Price condition can not be mantained on VK12 because it´s calculated manually depending of several factors.
For Example, let´s say the Material ID´s are 1122, 1123 and 1124 and the price condition is ZY01.
If the Mateial ID used at item level of sales document, the manual condition ZY01 shouldn´t be shown to the user only if the material used is equal to 1122, 1123 or 1124
To solve this issue I was thinking to use at price procedure the field requirement and use a pricing routine as "2" Item with pricing and edit the routine. the Material used at item level of sales document
I´m not quire sure this is going to work, And what´s the name of the field I should use to get that
Any Suggestion how to adress this issue is welcome.Hello, I create my own condition table to include material field, also a new access sequence has been created, to link this table on field material I only can specify one material number, I capture there my material for wich I want this price condition work, but when I create a Contract on VA41 using the material included on my price condition, I´m able to mantain the amount, but the same happen when I try to use another material number not included on my access sequence.
-
FM for Internal Condition record MEK1/MEK2 and VK11/VK12
Hi,
Is there any function module to update the internal condition record for both Purchasing(MEK2) as well as SD condition records(VK12).
My requirement is to update the price and price unit in the gross price condition(PB00) and sales price condition (VKP0).
if so Please let me know.
Thanks in advance
Vinoth RHi,
yes you can use he sam module for both conditions:
Function module RV_CONDITION_COPY
paramertes MAINTANI_MODE - 'A' Create; 'B' change
there is no possibility to delete a condition
COMMIT WORK and
Afterwards call RV_CONDITION_RESET to initiailize all global data of condition maintenace.
Regards,
Remek -
PO price condition tied to a contract
Hi,
I have a scenario wherein I have to put in a PO price condition like freight against a different vendor which is not an issue. However, the freight charges are actually covered by a contract and I would like to have the capability to link the PO freight condition against the said freight contract. This is to allow me to monitor contract spend and do other contract management/reporting activities. Has anyone have any ides on how this can be done? Am on version 4.6C. Thanks...Hi Ramesh!
The currency rate should be used when converting the PB00 value from EUR currency to the local currency in tab Conditions at position level (the PO has as currency RON and the price condition PB00 has as currency EUR). The system will use this value (the converted value) also in GR as in IR.
Thanks. -
Manual price condition (%) in order creation (using ABAP)
Dear community members,
I could use some help on a problem I have encountered while creating a sales order (in the CRM system) using ABAP programming, the details are given hereunder:
I have two manual price conditions used to set a possible discount, one using a straight value and one using a percentage:
1. When the order is generated using the value (let us say 100€) it cointains the correct price condition.
2. On the other hand, when the order is generated using percentages (i.e. 10%), it is created without explicit errors or warnings but with no price condition in it.
For the latter case I have checked the IPC logs (from transaction SM53) finding this error message:
Message: Condition cannot be processed manually
--> com.sap.spe.pricing.transactiondata.exc.ManualChangeNotAllowedException: Condition YSCP cannot be processed manually
at com.sap.spe.pricing.transactiondata.impl.PricingCondition.changeConditionRate(Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;)V(PricingCondition.java:3124)
at com.sap.spe.pricing.transactiondata.impl.HeaderCondition.changeConditionRate(Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;)V(HeaderCondition.java:387)
at com.sap.spe.pricing.transactiondata.impl.PricingDocument.addHeaderCondition(Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;C)Lcom/sap/spe/pricing/transactiondata/IHeaderCondition;(PricingDocument.java :1472)
at com.sap.spe.document.rfc.AddPricingConditions.handleDocRequest()V(AddPricingConditions.java:131)
at com.sap.spe.document.rfc.DocHandlerAdapter.handleRequest()V(DocHandlerAdapter.java:72)
at com.sap.spe.base.util.jco.HandlerAdapter.handleRequest(Lcom/sap/vmc/RFCContainer/Call;)V(HandlerAdapter.java:117)
at com.sap.vmc.remserver.RFCDispatcher.handleRequest2(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:995)
at com.sap.vmc.remserver.RFCDispatcher.handleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:746)
at com.sap.conn.jco.rt.VMCServer.dispatchRequest(Lcom/sap/conn/jco/JCoFunction;)V(VMCServer.java:911)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(Lcom/sap/conn/jco/rt/ServerWorker;Ljava/lang/String;)V(MiddlewareJavaRfc.java:3415)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(Lcom/sap/conn/jco/rt/ServerWorker;)V(MiddlewareJavaRfc.java:2468)
at com.sap.conn.jco.rt.VMCServer.listen()V(VMCServer.java:766)
at com.sap.conn.jco.rt.VMCServer.run()V(VMCServer.java:689)
at com.sap.vmc.remserver.RfcServer.run()V(RfcServer.java:376)
at java.lang.Thread.startup(Z)V(Thread.java:1954)
I have already debugged FM CRM_ORDER_MAINTAIN but to no avail, maybe I just missed something and I can assure that the customizing is correct and aligned between the systems and both the conditions are set to be processed manually.
At this point, since the condition is applied when the commit is yet to be done I wonder whether it is possible to apply a discount percentage on prices which are yet to be generated, it would be illogical to do so and then again while using a straight value (which does not require a calculation) the order is correctly generated.
Furthermore when I add the conditions in an order (from both the GUI and the WUI) the table IT_PRIDOC is alway empty, even if CT_INPUT_FIELD is populated.
I know that there are similar posts here in SCN but sadly I was not able to find a solution so any help would be greatly appreciated.
Thanks in advance for any replies given,
Alessandro.Dear Padma,
apologies for my late reply. I also thought it should be possible to use a percentage but I was not sure.
Sadly the debugging did not bring about any positive result.
I also tried to make a second CRM_ORDER_MAINTAIN call after the system generated all the pricing conditions but that also did not work.
There is one thing that caught my attention though:
- YSCV (fixed amount): still no problem at all (passed to KBETR);
- YSCP (percent): if I assign a value to KWERT or if I leave all the fields empty, the condition is created in the sales order but it is always set to 0%. However, if I try to assign it to KBETR, I always get the message: "Condition YSCP cannot be processed manually".
I made some attempts with the customizing, for example adding the condition to the "easy entries" or playing with the options of "Create Condition Types" (always aligning the systems) without getting positive output.
I am beginning to think that it could be an IPC-related problem (which is not my area of expertise... yet).
Alessandro. -
Report for Service price conditions in contracts esp. validity periods
Hi all
I need a report that will show validity periods against price conditions for services in a contract. Can't find anything through the menus, SAP Help, Google.
Is there something as standard or will I need to cobble something together? The report needs to display conditions and validity periods by service / contract.
Any ideas?
Regards
DavidHi
Thanks for those, I had already found and tried a couple of those transaction. For some reason, those transactions aren't returning any results. I can get results if I branch into the 'Conditon info' screen, but unfortunately in this case the actual service numbers aren't quoted.
Regards
David -
Price condition display in VA01 and VA02
Hi Friends,
In our organization, we want that some of the users could not change the price conditions in t. code VA01 and VA02.
Please help us.
Thanks
GaneshDear Tiwari,
As Lakshmipathi mentioned, if you want to restrict the access to all users, then goto V/06; there you uncheck the value field.
If you wan to restrict the access to specific users, then make use of the authorization objects available in the Tcode SU21 (preferably, V_KONH_VKS). or create the custom one; check with your basis team and your ABAPer to do the same.
thanks
Venkatesh SP -
Creation and change customer master in same LSMW
Hi Experts,
I have a created customer master uploading using batch input recording in lsmw.
Now i have scenario like if the customer already exists i need to change that customer accordingly.
I hope most of u would have come across such issue,for time being i tried makin 2 recordings for creation(XD01) and change(XD02)
after assigning 2 structures for each creation and change, but i don know where to check whether the customer already exists and how to skip respective recordings....
Pl suggest steps after this, if this one correct........
Or if there any alter method pl do suggest me..
Pts will rewarded immly.
Regards,
DilipHi,
In the begin of record, you can check whether a cust already exist in the system. Based upon the result you can change the Tab Name and Tcode.
Just give this a try.
Rehards,
Lalit -
Restrict new price conditions in the return order and credit note
Dear Expert
We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
The price must come according to the Qty being referenced.
While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
ThanksHi
Firstly,In copy control maintain anyone of the pricing types
D: Copy pricing elements unchanged
E: Copy pricing elements and values unchanged
To avoid all these things go with USEREXIT_FIELD_MODIFICATION but before going with the user exit,also check with transaction variant SHD0.
Regards
Srinath
Maybe you are looking for
-
Visio TechNet Guru Announced for June 2014
The Results are in! And the winners of the TechNet Guru Competition June 2014 have been posted on the Wiki Ninjas Blog. Below is a summary, heavily trimmed to fit the size restrictions of forum posting. BizTalk Technical Guru - June 2014 Steef-Jan
-
Function "speech" does not work with Mac Word
Hi, I have the following problem: Mac talking happens, the function that allows the device to read texts, works with all programs, safari, preview, etc.., Except with word. I use version 10.8 (mountain lion), and the 10.6, it worked perfectly. The ve
-
Influence about system performance by RAL, SAL
Hi, Experts. My team are going to use RAL(Read Access Log) and SAL(Security Audit Log) for logging users access to sensitive data. To meet the compliance, we have to log users' activity information as 5W1H(WHO, WHAT, HOW, WHEN, WHERE, WHY) principle.
-
Live paint bucket and eyedropper
Right; I've got my fill color set up in the toolbar using the eye dropper. Now I activate the 'live paint bucket' tool, and the fill color vanishes. So I hit 'i' for the eyedropper again and lose the bucket tool. The color picker the doesn't have eye
-
Why I can't install lion into my Mac,
it says the files cannot be recovered