Repeat credit check does not happen for already released sales orders when CMGST =D, for the second time using FM SD_ORDER_CREDIT_CHECK
Hi,
I have written a routine which will call the FM SD_ORDER_CREDIT_CHECK whenever there is a rejection and again unrejection of a same sales order, we are only concerned about already credit released sales orders, the scenario is as follow
1). Sales order created in the system --> Credit check --> Credit blocked
2). Release credit block manually CMGST =D
3). Reject sales order then unreject the same
4) Routine will determine rejection and unrejection of the order while saving and will call the FM SD_ORDER_CREDIT_CHECK
5) The order is credit checked and blocked if necessary
All goes well till this point
but when the same sales order is rejeceted and unrejected multiple times either partially/ fully then the Custom routine calls the FM for credit check but the FM fails to put the order back on credit hold
in short the FM works only for the first time incase of mutiple rejection and unrejection of teh same sales order then the FM SD_ORDER_CREDIT_CHECK fails to put the order back on credit hold from the second time onwards
if some one any idea of the behavior of this FM please share your thoughts and inputs . thanks !!
Issue resolved
The Standard FM “SD_ORDER_CREDIT _CHECK” uses the field “Release date of the document determined by credit management VBAK – CMFRE”
For any sales order that is manually credit released in a single day, Only one credit check is triggered (per day) if there is any change in the sales order and then the order goes back to credit hold and if again the order is manually credit released for the second time in a single day there will be no credit check (still the order will pass into FM but the update entry in the internal table will be blank)this is a standard functionality
Process of rejection and unrejection :
Blocked order -->released-->blocked again (first time after manual release same day) unrejected (same day) -->but no credit check (all this in a single day)
note : OVA8 - released document still unchecked = 0 Days , Deviation %= blank
Similar Messages
-
The IC WebClient profile does not have a component 'ERP Sales Order'
Hi CRM Experts,
While creating the ERP Sales Order in web-IC
we have bumped into following error:
"The IC WebClient profile does not have a component 'ERP Sales Order'".
And also we are not able to see sales area data and Plant data in the drop down lists.
we have done the following settings:
1) ERP Sales Order Profile:we have defined ERP Sales Order profile,maintained RFC destinatin and assigned document type to ERP Profile.
2) Business Transaction Launcher: We have defined the Business Transaction Profile and assigned dependent business transaction.
3) We have assigned the Business Transaction Profile to the Navigation Bar Profile.
Please suggest me regarding above error also let us know did we miss any configuration?
Waiting for your valuable inputs.
Regards,
Sree.Hi Sree,
There is a setting needed for the IC webclient
ERP_SALES_ORDER
you need to define ERP sales order profile and assign it to your ic webclient profile.
And the ERP sales order scenario can only be used with a ERP 6.0 backend system, at least.
Hongyan -
Hi,
I have migrated my Sharepoint from 2010 to 2013.I am able to get the data at the first time of refresh when I click on refresh for the second time I am getting the empty the sheet.
below find the flow of refresh
First Refresh
On Click of refresh open the workbook with excel services and return the session id.
Using that session I am invoking RefrehAsync method of excel services
After refresh completed I am setting the calculation of workbook as automatic(to calculate the formulas) using the same session id
After setting the calculation as Automatic I am setting the calculation type as full(recalculate) using the same session id.
Now I am able to see the data
Second Refresh
After clicking on refresh instead of opening the workbook I am using the session id(already opened workbook) and setting the calculation type as manual
I am following the same process from refresh(RefreshAsync) as I have followed in first refresh.
This time my formulas are not getting calculated because of that I am not able to see the data.
Could you please let me know that am I missing anything here?
Is this know issue in Sharepoint2013 excel services as same code is working fine with Sharepoint2010.
If I close the workbook(session id null) and opens(new session id) for all the refreshes it is working and I am able to see the data.
Thanks,
Meenakshi Nagpal
N.MeenakshiI am able to see the data for the second refresh if I change the data source.If I use the same data source which is used in the first refresh I am not getting the data.Excel services will contact the cubes and calculate the formulas in my workbook.
Could you please let me know what could be the problem at second refresh while contacting the same data source with same session id?
Please help me asap.
Thanks,
Meenakshi Nagpal
N.Meenakshi -
FM SPE_CALCULATE_PRICE - Java Call does not return Net Value of Sales Order
Dear Experts,
we want to make a call of FM SPE_CALCULATE_PRICE from the SAP NetWeaver Developer Studio to achieve that we receive the Net Value of a Sales Order. When we try to test the Scenario in SAP CRM (Creation of a Sales Order) Itself all is working fine. But if we try to make the call from Developer Studio it does not work for some reason. We have applied SAP Note 1936255.
I am attaching:
- the Pricing Trace we receive as a result from SAP.
The Java Code we use is the following:
Code JAVA
import com.sap.mw.jco.*;
import com.sap.mw.jco.JCO.ParameterList;
import com.sap.mw.jco.JCO.Structure;
import com.sap.mw.jco.JCO.Table;
public class callIPCDemo {
public static void main(String[] args) {
System.out.println("--- START ---");
// connect to SAP system
JCO.Client client = null;
try {
client = JCO.createClient(
"400", // SAP client
"XXXX", // User ID
"XXXXXXXX", // Password
"EN", // Language
"XXX.XXX.XX.XXX", // IP des hosts
//"QPMR-CR20", // Hostname
"00"); // System number
client.connect();
System.out.println("Connection OK\n");
catch (Exception ex) {
System.out.println(ex);
return;
// print RFC attributes
System.out.println(client.getAttributes());
// create JCo repository
JCO.Repository repository = new JCO.Repository("testIPCcall", client);
// Function Module SPE_CALCULATE_PRICE
IFunctionTemplate ft = repository.getFunctionTemplate("SPE_CALCULATE_PRICE");
JCO.Function function = null;
try {
function = ft.getFunction();
} catch (Exception ex) {
System.out.println(ex);
return;
// IS_HEADER_INPUT
ParameterList importParameterList = function.getImportParameterList();
Structure HeaderInput = importParameterList.getStructure("IS_HEADER_INPUT");
HeaderInput.setValue("005056A7005E1ED3A7AD22549B279B91", "DOCUMENT_ID");
HeaderInput.setValue("CRM", "APPLICATION");
HeaderInput.setValue("ZCRM02", "PRC_PROCEDURE_NAME");
HeaderInput.setValue("EUR", "DOCUMENT_CURRENCY_UNIT");
HeaderInput.setValue("EUR", "LOCAL_CURRENCY_UNIT");
HeaderInput.setValue("X", "PERFORM_TRACE");
// IS_HEADER_INPUT-ATTRIBUTES (substructure/table)
Table HeaderInputAttributes = HeaderInput.getTable("ATTRIBUTES");
HeaderInputAttributes.appendRows(3);
Table valuesTable = null;
HeaderInputAttributes.setRow(0);
HeaderInputAttributes.setValue("DIS_CHANNEL", "FIELDNAME");
valuesTable = HeaderInputAttributes.getTable("VALUES");
valuesTable.appendRows(1);
valuesTable.setValue("01", 0);
HeaderInputAttributes.setRow(1);
HeaderInputAttributes.setValue("SALES_ORG", "FIELDNAME");
valuesTable = HeaderInputAttributes.getTable("VALUES");
valuesTable.appendRows(1);
valuesTable.setValue("O 50000151", 0);
HeaderInputAttributes.setRow(2);
HeaderInputAttributes.setValue("SOLD_TO_PARTY", "FIELDNAME");
valuesTable = HeaderInputAttributes.getTable("VALUES");
valuesTable.appendRows(1);
valuesTable.setValue("005056A7005E1ED3A7ACEFCAD95FBB91", 0);
importParameterList.setValue(HeaderInput, "IS_HEADER_INPUT");
// IT_ITEM_MAIN_INPUT
String itemGuid = "005056A7005E1ED3A7AD3F004CD85B91";
ParameterList tableParameterList = function.getTableParameterList();
Table tableItems = tableParameterList.getTable("IT_ITEM_MAIN_INPUT");
tableItems.appendRows(1);
tableItems.setValue(itemGuid, "ITEM_ID");
tableItems.setValue("005056A7005E1EE39289A0FB457C9D8A", "PRODUCT_ID");
tableItems.setValue("M", "EXCH_RATE_TYPE");
tableItems.setValue("10", "QUANTITY");
tableItems.setValue("PC", "QUANTITY_UNIT");
// IT_ITEM_ATTRIB_INPUT
Table tableItemAttributes = tableParameterList.getTable("IT_ITEM_ATTRIB_INPUT");
tableItemAttributes.appendRows(2);
tableItemAttributes.setValue(itemGuid, "ITEM_ID");
tableItemAttributes.setValue("PRODUCT", "FIELDNAME");
tableItemAttributes.setValue("005056A7005E1EE39289A0FB457C9D8A", "FIELDVALUE");
tableItemAttributes.nextRow();
tableItemAttributes.setValue(itemGuid, "ITEM_ID");
tableItemAttributes.setValue("PRC_INDICATOR", "FIELDNAME");
tableItemAttributes.setValue("X", "FIELDVALUE");
// IT_ITEM_TIMESTMP_INPUT
Table tableTimestamps = tableParameterList.getTable("IT_ITEM_TIMESTMP_INPUT");
tableTimestamps.appendRows(3);
tableTimestamps.setValue(itemGuid, "ITEM_ID");
tableTimestamps.setValue("PRICE_DATE", "FIELDNAME");
tableTimestamps.setValue("20140225000000", "TIMESTAMP");
tableTimestamps.nextRow();
tableTimestamps.setValue(itemGuid, "ITEM_ID");
tableTimestamps.setValue("PRT_DELIVERYDATE", "FIELDNAME");
tableTimestamps.setValue("20140225000000", "TIMESTAMP");
tableTimestamps.nextRow();
tableTimestamps.setValue(itemGuid, "ITEM_ID");
tableTimestamps.setValue("PRT_ORDERDATE", "FIELDNAME");
tableTimestamps.setValue("20140225000000", "TIMESTAMP");
// execute function module
try {
client.execute(function);
} catch (Exception ex) {
System.out.println(ex);
return;
// check result
JCO.Structure structureHeaderResult = function.getExportParameterList().getStructure("ES_HEADER_RESULT");
System.out.println("Net Value: " +
structureHeaderResult.getValue("NET_VALUE"));
JCO.Table tableHeaderResult = function.getExportParameterList().getTable("ET_TRACE");
System.out.println(tableHeaderResult.getNumRows());
for(int x = tableHeaderResult.getNumRows(); x <= tableHeaderResult.getNumRows(); x = x + 1) {
tableHeaderResult.setRow(x);
System.out.println("Trace: " + x + tableHeaderResult.getValue("ACCESS_TRACE_XML"));
// disconnect from SAP system
client.disconnect();
System.out.println("--- END ---");Thanks.
I'll have to discuss VTAA pricing types with the Business Analyst, since there are many records and I'm not sure what I'm looking at.
In regards to your second point, it's not in calculation. It'll stay at that number until you save, check the conditions tab in the header or reprice the document.
What's interesting is that it doesn't do this for all materials.
For example:
Material 1 - priced $25
Material 2 - priced $25
Net price would be $50, which is correct.
But say we use Material 3 - priced $25 as well. For this one, the total net price could show up as $30.
Can pricing types be specific to materials or material groups? What is the pricing type exactly and why 'A'? -
MRP Type V1 does not consider Ext. req. Sales Order after MRP run
Hi Buddies
My client wants to use MRP Type V1 which should consider re-order point as well as external requirement (i.e. Sales Order) for net requirement calculation.However when i tried using V1 in material master and ran MD03 it only considered re-order point and ignored Sales Order.Sales Order didnt even reflect in MD04.Moreover in OMDQ for V1 under additional ext req there is no Sales Order for selection.
Please reply how i can have ext req sales order for MRP Type V1.
Regards,
Sachin NarvekarHi
MRP Type V1 creats the requirement when the need exceeds the Reorder Point, where as the MRP type VB creats the requirement when the stock qty goes below the reorder point.
Regards -
I am using firefox sync for more than a year. Last week, when I tried to set up sync on my work computer, it tells me that the email id is unknown and to register. Anyway I registered. But it is starting from scratch. None of my old stuff synced to this PC.
In my home computer I am using the same email id, and it has all the data. It is still syncing the data to the server. At least I think it does. Because I have not seen any Sync errors in my home computer.
I want to know, how can I login with the same email id in two different computers, but have different data in each.Homeuser66,
If you are running Firefox 29, with the new version of Sync, see this KB article - [[How to update to the new Firefox Sync]]
Do that before trying to add a new device. -
What can i do ??
SharmFarm wrote:
Good ev Ning Mario49 firstly I would like to say a great thank you for your attention to trying to help me,,,,, i have looked at the links and will try everything stated first thing…
Hi Mario,,,,
I tried everything in your reply,,, thank you again,, I had done that once before and all was working great,,
I have just now tried the Reinstall via iTunes, about 20 into the download, the iTunes logo on the phone disappeared, and the Apple Logo appeared again,,, I waited until the iTunes stated that the download had finished, and the install was in progress,,,
Nothing happened, still the Apple Logo was visual on the screen, iTunes never recognised the phone which it was on my iTunes account previously,,,
Still just a bunch of lines, maybe 5 or 6 so small writing,, I personally can not read what it is telling me, someone said it reads, incorrect shutdown,,,????????
Please advise,???
I am now at a loss,,, I really became excited when I saw the iTunes icon after putting the phone into restore,,,???
Thank you again
D -
After MD81- what will happen to already generated planned Order
Dear Experts,
I have few doubts,please check the details below.
1.After MD81 for Finished Material, what will happen to already generated planned Order.
2. For Standard finished material, can MTS material planned order be clubbed and generate one planned order.?
3.For standard Finished material, can MTO materials, planned order be clubbed and generate one planned order.Hi,
MTO -
The materials are uniquely assigned to specific sales orders.
MTS -
The materials are not assigned to specific sales orders.
You can manufacture material and keep in stock without any customer requirement.
Basically for MTS you need to use Strategy 10 and for MTO you need to use strategy 20 in material master.
Regards,
Sankaran -
Getting error 'Item 00000 does not exist' while creating a salse order
Hi All,
We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
Your valuable suggestions for helping us resolving this issue will be highly appreciated.
Regards,
GeetaHI Geeta
As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
try and revert -
Schema to be handled does not contain a definition of type Order
Hi,
I am getting the error 'Schema to be handled does not contain a definition of type Order'
when i tried to import an XSD to create a data type in Integration repository. I checked my XML with the XML SPY and it is vallid.
Am i missing something? How can i import an XSD to create a datatype.
Regards,
SharadhaHi,
Make sure the datatype name and the main element name in the external xsd is same.
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="..." targetNamespace="....">
<xsd:complexType name="Activate">
Also check this link same problem
Schema to be handled does not contain a definition of type Activate
Error: Schema to be handled does not contain a defintion of type
Re: Calling Idoc structure in creating Data Type
Re: How to import XSD?
Please reward points if it helps
Thanks
Virkanth -
MRP area for running a sale order MRP
Hello PP experts,
I come across a scenario where , I need to do the MRP run for sale order in a MRP area. I have checked , I can put PIR with respect to MRP AREA , but when I open MD50 screen for running MRP for sale order. I did not found the MRP AREA
field in the screen.
In short , my question is , How the sale order MRP run , system will do in a MRP
area defined for the material ?
Here , I have already defined the material is MRP AREA and also I have created
MRP area segment in the material master.
I have also configured the MRP area in SPRO.
Waiting for your reply.
Regards,Hello ,
Thanks for reply.
I am using plant MRP area. For FERT , I am using make to order strategy 20.
I want to specify the real problem. It is like below.
Suppose 'A ' is sumassembly goes to a variant configured MTO KMAT say 'V'.
The same 'A' subassembly is a child for a make to stock FERT say ' S'.
Presently using strtegy 11 for MTS fert 'S' and 10 for the subassembly ---'A'.
Now the planner want to plan for the subassembly.
He is putting the PIR for the subassembly as sales order is not availble and he is putting the PIR for FERT 'S'.
When sales order is coming then additinal quantity planning is happening.
So I suggested to use the strategy 70 for subassembly 'A' , so the sales order (of 'V') OF quantity will be offset for the PIR of the SUBASSEMBLY 'A'.
But the consumption of PIR of 'A' will be apllicable to MTS FERT that is 'S'.
So how can we prevent the system from offsetting the dependent requiremet triggered from the PIR of 'A'.
That means the consumption (that is the usage of stategy 70) of the FERT requirement should only work for ' A' and sales order based KMAT 'V'.
The same offseting should not work for subassembly 'A' and MTS FERT 'S'.
For for Make to order KAMT 'V' , if I use MRP area and do the sales order planning in MRP area. Will I get the desired result ?
Waiting for reply.
Regards,
Ravindra -
Credit status and overall blocked status of a sales order
Is there a sap delivered business object that has a method to get credit status and overall blocked status of a sales order?
Hi,
Thanks for the suggestion. I have been looking at BUS2032. It does not give me a method that has the values of credit status and overall blocked status of a sales order. I now am kind of convinced that I will have to extend this object. Can anyone please tell me the steps that I will have to go through to do this. I would like to know if I should write a new function module that gets the required data from tables like VBAK and VBSTT. Should I then call the function module in a method.
Or should I use the getStatus method that BUS2032 provides and get my values from there. A little more detail to this is greatly appreciated.
Regards,
Gayathri -
Repeat credit checking for released sales orders
Hi,
We are implementing FSCM Credit management in our project. In our system, when the sales order is created, the credit check will happen and the failed orders will go to VKM1. Till the order is released, any change to that order will trigger the credit checking process.
But once the credit block is released in VKM1, Credit checking is triggering only for
Quantity change
Adding new line items
Credit checking is not triggering for any other changes to the SO like deleting the line item changing the payment terms etc..
I would like to know if there is any control in FSCM Credit management to repeat the credit checking process for the released sales orders.
Appreciate any help in this regard.
Thanks
PrabhakarHi Prabhakar,
Navigate to Financial Supply Chain Management--> Credit Management--> Integration with sales and distribution-->define automatic credit control.
Over there you need to check critical fields check box for this to happen. Hope this helps -
Some times the fire fox does not open google and facebook pages but it does not happen for other sites. Iam currently using Windows xp and iam using Mozilla Fire fox 3.6.3 .Please help
== URL of affected sites ==
http://www.facebook.com,www.google.comYou can try a direct connection and select No Proxy in the connection settings.
You can find the connection settings in "Tools > Options > Advanced : Network : Connection"
Also do a malware check with a few malware scan programs.<br />
You need to use all programs because each detects different malware.<br />
Make sure that you update each program to get the latest version of the database before doing a scan.
* http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
* http://www.superantispyware.com/ - SuperAntispyware
* http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
* http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
* http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]] -
Question
firefox has detected the server is redirecting the request for this address in a way that will never complete. This is happening in my email program with comcast but does not happen with IE e editThanks to cor-el for the suggestion given in the link. Sadly I have to report:
1) It is not a bookmark problem and it makes no difference whether I put
www.adobe.com or 192.150.18.117 in the address bar.
2) Cookies are allowed and there are no exceptions set
3) All cookies have been deleted
4) network.http.sendRefererHeader is already set to 2
That deals with the items in the linked document.
Additional information:
5) I can get into the adobe site from a clean "in memory" installation of PuppyLinux using Seamonkey using the same router and dhcp setup.
6) un-installing all Mozilla products - rebooting and re-installing makes no difference even when I remove the mozilla folder from docs&settings.
so as I said in previous post (as annonymous) not a lot makes sense.
Bear in mind that I have no problem running tracert in a command window
Tracing route to www.adobe.com [192.150.18.117] over a maximum of 30 hops:
1 11 ms 10 ms 9 ms 10.0.0.1
2 13 ms 12 ms 11 ms glo-2-dsl.as9105.net [212.74.111.191]
3 13 ms 12 ms 11 ms ge1-2-27.glo0.as9105.net [212.74.106.106]
4 14 ms 12 ms 13 ms pos0-0.bri1.as9105.net [212.74.108.162]
5 17 ms 16 ms 17 ms ge0-0-0.he-lon0.as9105.net [212.74.109.14]
6 17 ms 17 ms 16 ms 10.72.11.75
7 16 ms 17 ms 17 ms xe-0-3-0-10.lon20.ip4.tinet.net [213.200.77.177]
8 91 ms 92 ms 99 ms xe-5-1-0.was12.ip4.tinet.net [89.149.184.34]
9 92 ms 92 ms 93 ms xe-0.equinix.asbnva01.us.bb.gin.ntt.net [206.223.115.12]
10 162 ms 170 ms 162 ms as-3.r20.snjsca04.us.bb.gin.ntt.net [129.250.2.167]
11 166 ms 166 ms 165 ms ae-1.r07.snjsca04.us.bb.gin.ntt.net [129.250.5.53]
12 162 ms 163 ms 161 ms xe-0-2-0-3.r07.snjsca04.us.ce.gin.ntt.net [128.241.219.86]
13 166 ms 163 ms 161 ms 192.150.18.11
14 166 ms 166 ms 165 ms www.adobe.com [192.150.18.117]
Trace complete.
and I can ping the site.
so where now ?
Maybe you are looking for
-
Transfer of material master data with Classification view
Dear Experts I want to transfer material master data between R/3 using ALE. We are able to send master data using BD10 without classification view. Please let me know in detail the configuration, steps invloved in sending materail master along with c
-
How to Copy Customized Partner From One Opprtunity to Another in CRM
Hi experts, How to save more than one same type partner(with same partner FCT) in CRM opportunity Application? I am using following Function Module... CALL FUNCTION 'CRM_ORDER_MAINTAIN' EXPORTING it_partner = lt_partner_com CHANGING ct_input_fields =
-
I bought my iPad in December and now the new one came out. Can I trade mine in for that one?
-
create or replace function etest (dep in number) return varchar2 is dept number:= 0; cursor c1 is select deptno into dept from emp where deptno = dep; begin open c1; loop fetch c1 into dept; exit when c1%notfound; end loop; close c1; return dept; end
-
How long does TM hold backups?
I have a 1TB HD I am using as my TM back up disk. It currently has 429GB available. When I go into Restore it only lets me restore from about 1.5 months ago, yet when I look on the hard disk I can see the earliest date is in April, how can I get TM t