Problem changing the Condition Value in Po using BAPI_PO_CHANGE
Hi Experts,
My issue is BAPI_PO_CHANGE is not changing the Condition value. and giving message in bapi return as 'cannot be processed manually'.
Can anybody please help me on this.
Thanks & Regards,
Sudheer
Check this link http://forums.sdn.sap.com/thread.jspa?threadID=652278
Regards,
Similar Messages
-
Changing the Condition value in Quatation only and not in Order
Hi Gurus,
We have a Requirement from Client in which the Client should be Able to change the condition Value PR00 in the Quotation and not in Sales order......can someone please let me know how's that possible?
Because if we try to make Changes in Condition Type in V/06 it will also allow changes in Sales Order....Hi
You can use user-exit USEREXIT_PRICING_PREPARE_TKOMP in the include MV45AFZZ.
IF VBAK-AUART = (Your quotation type)
LOOP AT XKOMV.
IF XKOMV-KSCHL = 'PR00'.
SELECT * FROM T685A INTO TABLE I_T685A WHERE KSCHL = 'PR00'.
READ TABLE I_T685A WITH KEY KSCHL = XKOMV-KSCHL.
I_T685A-KMANU = 'C'.
MODIFY I_T685A INDEX SY-TABIX.
MODIFY T685A FROM TABLE I_T685A.
REFRESH I_T685A.
ENDIF.
ENDLOOP.
like this discuss with your abapper and build the logic
regards
Prashanth -
Fm to change the condition value in sales order pricing
Hi Friends,
I need a FM to change the Pricing value that is auto calculated in the sales order. It needs to be overwritten. BAPI_SALESORDER_CHANGE I don't think will do it. It can be used only to update the condition type and the condition amount but not the condition value.
Can someone please help me. I've been stuck with this for quite sometime.
Thanks,
Dikshitha GTry these BAPI's
BAPI_LISTING_CONDITIONS,
BAPI_AGREEMENTS
Regards,
Rajasekhar Reddy. -
Pricing procedure change the condition value
Hi,
My pricing procedure determines the Tax in %basis.Now i have a rewuirement wherein i should be able to enter the amount in AMOUNT COLOUMN in condition tab. This value should be the condition Value for the condition type.
Now my pricing procedure doesnt allow me to make any changes and the condition type is greyed out. how can i calulate the tax in amount instead of % and be able to enter the value manually?
Thanks,
ChallaHi Challa,
Price can be maintained either on percentage basis or on amount basis.
So you have to make changes in condition type to convert it from percentage to amount.
Go to IMG u2013 sales and distribution u2013 master data u2013 basic function u2013 pricing u2013 pricing control u2013 define condition type.
Select maintain condition type from the options.
Now select your condition type and click on detail.
Change the calculation type from A (percentage) to B (Fixed amount) and save it.
Now go to VK11 and maintain the new condition record for that condition type.
Now create the sales order and go to condition tab and check out the pricing it will be amount.
Please do this method if you find any difficulty then tell us.
Regards
Raj. -
Change of Condition Value in PO after MIGO
Hi Gurus!
I want to change the condition value after migo. I have a scenario in which we have lots of purchase orders which are received.
Unfortunately user has mentioned a wrong value in the tax. We want to change the value of tax in the purchase order after cancelling the MIGO document. But the system is not allowing me to do the changes. I also deactivate the release as well through ME29N.
Regards
ImranHi,
For changing the tax value, you need to change the tax code to the one that has the correct tax % configured. You can use transaction FTXP to find out the tax rates assigned to tax codes. For changing tax code it it not necessary to cancel already posted GRs
Ramesh -
Crm_order_maintain ,changing pricing condition value at item level
Hi,
I am trying to change the pricing condition value at item level while creating sales order through CRM_ORDER_MAINTAIN.
I am not able to change the condition value.
Code is below.
wa_inputfields-ref_guid = wa_orderi-guid.
wa_inputfields-ref_kind = 'B'.
wa_inputfields-objectname = 'PRIDOC'.
wa_fieldname-fieldname = 'KBETR'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KMEIN'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KPEIN'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KSCHL'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'WAERS'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
INSERT wa_inputfields INTO TABLE it_inputfields.
wa_pricing_add-KSCHL = 'ZP06'.
wa_pricing_add-WAERS = 'USD'.
wa_pricing_add-KBETR = '10'.
wa_pricing_add-KPEIN = '1'.
wa_pricing_add-KMEIN = 'ST'.
INSERT wa_pricing_add INTO table it_pricing_add .
wa_pricing-REF_GUID = wa_orderi-guid.
wa_pricing-REF_KIND = 'B'.
wa_pricing-PRICING_TYPE = 'A'.
wa_pricing-COND_ADD = it_pricing_add.
wa_pricing-PRICING_PROCEDURE = 'ZVDSP'.
append wa_pricing to it_pricing.
Can you tell me how to overwrite the condition value while creating sales order using crm_order_maintain.?
Regards,
Indhra.EHello Indhra,
Check the CT_INPUT_FIELDS table, in the OBJECTNAME field you will find all the tables that are filled during the function call. Check those tables mentioned in the OBJECTNAME to look for any pricing related data.
When your order is in change mode and you activate debug <b>just before you make the change</b>, the CRM_ORDER_MAINTAIN FM call contains <b>data only relevant for the change you just made</b>. In other words, you need to fill exactly the same tables as CRMD_ORDER does.
E.g. You just change the pricing procedure and you see in debug that 5 tables are filled, you must do exactly the same in your code! It's quite anoying but you're using a low-level API FM that can handle ANY transaction type in CRM!
Check it, it works!!
<b>Reward points if useful!</b>
Regards,
Joost -
Probleme changing the value of a variable in movieclip from my scene
Hello,
i have a probleme changing the value of a variable in movieclip from my scene. i explain: I have combobox on my scene containing categories, and in the scene i load an xml file containing links to php files that work with the combobox.
Also on the scene i have a movieclip "filmstrip", inside this movieclip on the first frame i have a script loading the php file selected in the scene . i use a load() function with a variable "theUrl" inside like this : T.load(theUrl);.
In my scene i want to change the value of "theUrl" inside the movieClip filmstrip. I tried filmstrip.theUrl = url; But it doesnt work
the xml file
<?xml version="1.0" encoding="ISO-8859-1"?>
<slideshow>
<area title1="10 Last updated" link1="link1.php"/>
<area title1="special" link1="link2.php"/>
</slideshow>
here is the code on my scene:
var link1:Array = new Array();
var LINK:String;
var url:String;
var whoOn:Number;
whoOn=0;
var x:XML = new XML();
x.ignoreWhite = true;
x.onLoad = function(success) {
var photos:Array = this.firstChild.childNodes;
for (i=0; i<photos.length; i++) {
_root.link1.push(photos[i].attributes.link1);
url=link1[whoOn];
filmstrip.theUrl=url;//<<--HERE
x.load("category.xml");
var cbListener:Object = new Object();
cbListener.change = function(event_obj:Object) {
trace(select.selectedItem.label);
if (select.selectedItem.label == "Last updated") {
whoOn=0;
} else if (select.selectedItem.label == "Special") {
whoOn=1;
url=link1[whoOn];
filmstrip.theUrl=url; //<<-----HERE
select.addEventListener("change",cbListener);
here is the code inside the movie clip "filmstrip"
var T:XML = new XML();
T.ignoreWhite = true;
T.onLoad = function(xml) {
etc etc etc }
T.load(theUrl); //<<---HERE it still undefinedYESSSS . Thanks you very much Kglad it wotk i put all in a function inside the filmstrip function Tload(theUrl){etc ect}and in the root i call it like this filmstrip.Tload(theUrl); and it works
code in the root var link1:Array = new Array();
var LINK:String;
var url:String;
var whoOn:Number;
whoOn=0;
var x:XML = new XML();
x.ignoreWhite = true;
x.onLoad = function(success) {
var photos:Array = this.firstChild.childNodes;
for (i=0; i<photos.length; i++) {
_root.link1.push(photos[i].attributes.link1);
url=link1[whoOn];
theUrl=url;
filmstrip.Tload(theUrl);//<<--HERE
x.load("category.xml");
var cbListener:Object = new Object();
cbListener.change = function(event_obj:Object) {
trace(select.selectedItem.label);
if (select.selectedItem.label == "Last updated") {
whoOn=0;
} else if (select.selectedItem.label == "Special") {
whoOn=1;
url=link1[whoOn];
theUrl=url;
filmstrip.Tload(theUrl);//<<-----HERE
select.addEventListener("change",cbListener); -
Change the Condition base value in a Condition type.
Hi Experts,
I have a problem because I need to change the condition base value for a condition type. This condition base is calculated as a result of other condition types in the list of pricing Elements. I would need to change the base in order to solve the problem.
Thank you and best regards.Hi Alberto
if i get it correctly , this is your scenario
condition 1--- price x
condition 1--- price Y
condition 1--- price z
now you want a fourth conddition with base value total of the above 3
if so , you maybe define all the above 3 as statistical ,
in another row , create a total of the above 3,
assign a sub total this ,
create new conditon type and in its alt base value , give the formalue for the sub total
for eg 5 for sub toal 1, 6 for sub total 2
and then you would get the right base value
Hope this helps
Thanks
Akasha -
Any changes in the condition value then system should trigger a mail.
Hello Experts,
I have below requirement
If user does any changes (increase the price /decrease the price) in the condition value then system should trigger a mail and goes for approval.
How i can achieve this ?
ThanksHi
In that case again you can use MV45AFZZ program and USEREXIT_PRICING_PREPARE_TKOMP. If this exit didnt work you can try in other save or prepare to save exits in this same program. For order statuses and authorization you can use status profile and control authorization through an authorization object. For email use email sending function and users will receive an email whenever some specific condition value is changed.
This will be ABAP coding in above mentioned program using implicit enhancement. There is no standard solution for this and you have to go for customization.
Thank$ -
Change the condition type based on sales document type
Dear ALL,
I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP. I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues. What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity. The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value.
Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues. We would need to have the calculation done only on quantities changed in the credit memo request .
please advice me. your inputs are highly appreciated.
TIA
KOGIDear ALL,
someone please help me with this issue. your inputs are higly helpful.
TIA
KOGI -
BAPI_CUSTOMERQUOTATION_CHANGE - error while changing a condition value
Hallo Gurus,
I am trying to use tshi BAPI BAPI_CUSTOMERQUOTATION_CHANGE to change a condition value of a condition record of a quotation.
Every time I execute the BAPI, instead of the condition tyoe being changed, a new record is added to the list of conditions!
Can someone please help!
Thsi is my piece of code::
itab_BAPISDH1X-UPDATEFLAG = 'U'.
append itab_BAPISDH1X.
itab_BAPICOND-ITM_NUMBER = '10'.
itab_BAPICOND-COND_ST_NO = '31'.
itab_BAPICOND-COND_COUNT = '00'.
itab_BAPICOND-COND_TYPE = 'ZST3'.
itab_BAPICOND-COND_VALUE = '15.00'.
itab_BAPICOND-COND_UPDAT = 'X'.
append itab_BAPICOND.
itab_BAPICONDX-ITM_NUMBER = '10'.
itab_BAPICOND-COND_ST_NO = '31'.
itab_BAPICOND-COND_COUNT = '00'.
itab_BAPICONDX-COND_TYPE = 'ZST3'.
itab_BAPICONDX-UPDATEFLAG = 'X'.
itab_BAPICONDX-COND_VALUE = 'X'.
append itab_BAPICONDX.
CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
EXPORTING
salesdocument = p_vbeln
QUOTATION_HEADER_IN =
quotation_header_inx = itab_BAPISDH1X
tables
return = itab_BAPIRET2
CONDITIONS_IN = itab_BAPICOND
CONDITIONS_INX = itab_BAPICONDX
Thanks!
MuktaHmm...
Change the following....and check..
itab_BAPICONDX-ITM_NUMBER = '10'.
itab_BAPICOND-COND_ST_NO = '31'.
itab_BAPICOND-COND_COUNT = '00'.
itab_BAPICONDX-COND_TYPE = 'ZST3'.
itab_BAPICONDX-UPDATEFLAG = 'X'.
itab_BAPICONDX-COND_VALUE = 'X'.
append itab_BAPICONDX.
"change the above to.....
ab_BAPICONDX-COND_TYPE = 'X'.
append itab_BAPICONDX.
The BAPICONDX.. should contain only X.. in the fields which you want to update.. try this change..and let us know if it works.
Also have a look at the FUNCTION MODULE DOCUMENTATION for this bapi in SM37.
Cheers... -
How can I change the initial value of the field approve_or_reject?
Hello Workflow Gurus
We are using SRM 5.00(SRM SERVER 550) and as per the requirement, I have to make the Reject radio button as default checked on the Approver's screen.
We are using the SAP Standard Workflow WS14500015.
I found out the Standard task TS14508044 (SC approval per Item)which has one field in its container i.e. approve_or_reject ,based on the Initial value of this field , the radio button is behaving...
approve_or_reject EQ 0 i.e. Approve
approve_or_reject EQ 1 i.e. Reject
Now my requirement is to change the initial value of this field from 0 to 1 so that Reject radio button comes as checked by default into this standard SAP workflow task TS 14508044...
Kindly help me and let me know the procedure to change this.
PLEASE LET ME KNOW THAT IS IT WISE TO MAKE THE CHANGES INTO STANDARD SAP WORKFLOW ???
Thanks and regards
Ankur Goyal
09823448654Well Iam not much sure about how you are trying to approve the shopping cart workitem b ut last week i faced a similar issue while apporving the workitems I was able to update the contianer element Apporve_or_reject element by using the FM BBP_PDH_WFL_WI_APPROVE and BBP_PDH_WFL_WI_REJECT ... These two fm will take the responsibility of updating the element with respective value as, if you approve the it will be populated with 0 and if you reject the the element will be updated with 1....
Please check the thread where I updated the thread in [SRM Workflows|Problem while approving SC from Blackberry !;
PLEASE LET ME KNOW THAT IS IT WISE TO MAKE THE
CHANGES INTO STANDARD SAP WORKFLOW ???
Modifying the standard workflow is not recommended..... -
How to batch change the standard value of routing
Dear all,
I meet a problem, and need you help.
As you know, we can use T-code "CS20" to batch change a component's quantity in different Bom by a factor.
for example: Component a in Fert. A, quantity change from 6g x 0.9 = 5.4g
Component a in Fert. B, quantity change from 8g x 0.9 = 7.2g
now, my question is how to Batch change the standard value in routing. (select by work center) CA85N can select the value, but seems can not batch change by a factor,
thanks in advanceIt is not a big task for u prasobh...Just play in CEWB for 5-10 mins you will understand everything....
If you face any issue let me know..
For ur information I am also an IBM employee...
Gobi -
Change the FM Document from MIRO (using BTE)
Hi,
At the moment to post the document from MIRO, I need to change the fields Commitment Item (FIPOS) and Funds Center (FISTL) of financial accounting document in order to FM document takes the new values.
I Used the FIBF with a BTE (Event 1120), the fields FIPOS and FISTL in the financial accounting document were changed but the FM document does not take the new changes.
Somebody can help and determine which can be the problem or if I need to do something different.
Thanks a lot.
Sandra M. PulidoHi,
This is my code in the function:
LOOP AT t_bseg.
READ TABLE T_BSEGSUB WITH KEY TABIX = v_tabix.
t_bsegsub-fipos = v_fipos.
t_bsegsub-fistl = v_fistl.
MODIFY T_BSEGSUB INDEX v_tabix.
ENDLOOP.
You can see that is the same like yours and changed the values in the financial document but this last one is the base for the other document (FM).
It's right that I can only substitute the field avalaible in the structure BSET_SUBST and these fields doesn't exist in structure but with an append structure I did.
Thanks for your answer,
Sandra M. Pulido -
Change the planned value amount for the copied rebate recipients(Customers)
Hi,
I had copied the rebate agreement(RV15B004) for the required Rebate recipients(Customers).
Now my problem is to access each rebate agreement to change or input manually the planned value amount.
I want to change the planned value amount through BDC or any standard functionality exits for the copied rebate recipients(Customers).
Suitable answers will be rewarded.
Regards
ManojHi
What happened is an expected behaviour
If you change any dep terms - it impacts all open FY & Periods.. This is what happened in your case
You have 2 choices
1. Undo the change of life, close FY 2010 in AA and then again change the life
2. Using note 29694 you can make Posted Dep = Planned dep and the issue will be technically resolved
br, Ajay M
Maybe you are looking for
-
After upgrading my iTunes installation to 10.4 my toolbar has stopped working completely. The start/stop, back and forward, volume slider and restore buttons do nothing at all when clicked. They worked perfectly before the upgrade, and I have reboote
-
How can I attach a PDF file on an iWeb created page?
How can I attach a PDF file on an iWeb created page so that person can click the link and open the file. I have a website for my Labradors and would like something that will link from the dogs web page to their pedigree. TIA.
-
Executing os command from pl/sql
hi all , i've written the following code in order to call the unix OS command , the code compiles fine and runs too but when i pass any unix command as procedure parameter i encounter error ERROR at line 1: ORA-29532: Java call terminated by uncaught
-
The photos I insert into the timeline in Elements become pixilated. They looked fine in the organiser. Has anyone a remedy to this problem please?
-
How do you create a branching quiz using the quiz slides? I tried to use variables (e.g. userChoice, totalScore). I added action to assign userChoice to a number based on the choice. Then I executed adavanced actions in quiz propertiies with if the r