How to update order of Characterstics in LIS structure?
Hi.
Hi.
We have added an additional key figure to a custom LIS structure after it was created. Before the update the characteristics were in the following order:
Client
Period
Characteristic 1
Characteristic 2
Version
Month
Date
Week
Stat(s) source
Key Figure 1
Key Figure 2
After the update we clicked the generate button to activate the updated structure. Now the order is:
Client
Stat(s) source.
Version
Period
Month
Date
Week
Characteristic 1
Characteristic 2
Key Figure 1
Key Figure 2
Key Figure 3
Do you have any solution on how to re-arrange the key figures?
Thanks
Anke
Hi Warwick.
Oops, sorry for the typo.
I am not tryin to reorder he keyfigures, but the characteristics:
From
Stat(s) source.
Version
Period
Month
Date
Week
Characteristic 1
Characteristic 2
To
Stat(s) source.
Version
Characteristic 1
Characteristic 2
Period
Month
Date
Week
Thanks
Anke
Similar Messages
-
How to update ordered list having a constraint
hi friends,
I have to update a column for all the records in the table with a unique contraint
ex-- select rec_no from tablename;
9
8
7
6
5
now i have to update this like
select rec_no from tablename;
8
7
6
5
4
but when i am doing update tablename set rec_no=rec_no-1
i am getting unique constraint error
plz help medj wrote:
but when i am doing update tablename set rec_no=rec_no-1
i am getting unique constraint error
No you don't. Show us.
Oracle ensures "statement level constraint" consistency. If you do this in one update statement (which is what you state above), then Oracle will not give you a constraint error.
For if it did, then we all would have a serious problem: whether or not the update succeeds would then depend on the order in which Oracle (ie. the execution plan) happens to update the rows. And we can't have such 'undeterministic' behavior (similar to what we would have when Oracle did not provide us with the mutating table error...).
So just try it, or show us:
create table uk_test
(i number not null unique)
insert into uk_test values(4);
insert into uk_test values(3);
insert into uk_test values(2);
commit;Now try both of these:
update (select * from uk_Test order by i desc) set i=i-1;
update (select * from uk_Test order by i) set i=i-1;They both succeed. Oracle allows temporary constraint violations during/inside the execution of one statement. There is no need to set this constraint to deferred here.
I talk about statement level constraint consistency here too:
http://rulegen.blogspot.nl/2012/01/statement-level-constraint-validation.html -
How to update order quantity using the fn BAPI_SALESORDER_CHANGE
Hi experts,
I have a requirement that,
when the quantity in the delivery is edited manually , the order quantity in the sales order should be updated automatically.
can we achieve that using the Function module BAPI_SALESORDER_CHANGE?
if so, kindly let me know.
TIA.
kanthi.kanthi,
in tables tab in second parameter ORDER_ITEM_IN you can see couple of field for different type of quantity among them you can choose appropriate one.
field are:
TARGET_QTY
RNDDLV_QTY -
How to update the MDS Repository with new structure over the older one
Hi,
I am working on the Oracle SOA MDS repository and I want to update the mds repository with new folder structure over the older one but I am not able to do this . I am able to update the mds in local system but not able to do this for remote server.
Please help me
SOA 11g : 11.1.1.5Welcome to the Apple discussions.
These discussions are user-to-user. Apple generally doesn't monitor the discussions.
My Turkish language skills are non-existant, however, you can use this to find an Apple store close to you: http://www.apple.com/uk/buy/locator/ (you choose your country in the locator) . It may be as easy as returning it to a local store. In some countries you have a short time period to return anything bought from Apple (for example, 14 days in the US). If that doesn't work, you want to contact Apple customer service. Unfortunately, this is where I was unable to maneuver through the Turkish Apple site, due to not knowing the Turkish language. -
SOP: How to update ratio values
Hi everyone,
I have defined an Information Structure with some characteristics and ratios, all of them associated to some ZTable fields.
Well, I would be very grateful whether someone could tell how to update ratio values in my Information Structure. I mean I would like to know which are the steps I have to follow in order to update tha value of my ratios everytime its associated ZField changes its value.
I have the idea of using this Information Structure in a "Level-by-Level" planning type using Product Groups.
Thanks in advance and best regards.
Ben.Hi again,
Actually I have already created my planning type with some macro instructions and I have checked that they work properly in MC94. I have also created a planning hierarchy as you requested.
But my problem doesn't deal with this. The key figures that I have included in my structure represent values in SAP (i.e. Sold units, Security stocks...).
What I need to do is update the value of that key figures in my structure for all the combinations of my characteristics.
I hope my explanation is quite better this time.
Thanks. -
Hello All,
I had created an LIS structure S900. I want to insert some records into that structure. I created a planning type Z_S900. I am just wondering how to add records to the LIS structure.
Thanks,Hello Rich,
I found out how to set targets ( insert records into LIS structures ).
I am posting it here so that it may be useful.
After creating the field catalogs and information structures, we have to create a planning type for that information structure.
Before setting values (for me they are TARGETS for a sales emp) thru the transaction code MC94 there should exist a planning hierarchy which can be created using tcode MC61.
Before that check whethere the key figures are planned and maintained in the module sales and operations planning in SPRO.
Thanks -
How to update Purchase Request automatically when update qty in sales order
When we create a sales order, the PR will be automatically generated.
Now we have a requirement to change the order qty for the sales order. also the PR should be automatically changed.
With VA02, the process is perfect.
But by using BAPI_SALESORDER_CHANGE the SO is partly changed ( order qty is changed but the confirmed qty is not changed) and the PR is not changed.
So can you advise me how to update the PR by using the BAPI_SALESORDER_CHANGE, which indicator should be defined?
I've read the BAPI document but no such information.
Regards,Hi Yang,
Workflow is the best approach for any issue related to business objects.
Since you want call FM BAPI_SALESORDER_CHANGE, it will change SO. It means everytime any SO is changed there will an event being triggered.
object type: BUS2032
event: Changed
simple solution:
1. Please create object type (SWO1) and its super type should be BUS2032.
2. Add your own method and attach your custom FM which actually updates the qty & PR)
3. Create Task (PFTC_INS)
in basic data:
- provide object type which you have created
- provide method which you have added
goto triggering events tab
- Choose Object Category as BOR object type
- provide object type (better give BUS2032)
- provide event as CHANGED
Please have look into very nice video blog which helps you to create your workflow.
blog: [Creating your first SAP Business Workflow]
Regards,
Sukhbold Altanbat. -
How to update the condition price in the sales order for all the items
Hi,
How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
Thanks,
BalaramHi,
There is a change in the requirement.
Scenario:
I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
Thanks.
Balaram -
How to update the condition price in sales order while creating the invoice
Hi,
How to update the condition price in the sales order to carry out the new price while creating the invoice?
While creating the invoice it should update the condition price in sales order.
Thanks,
BalaramNo, pricing is not there in delivery.
I found an exit for VF01transaction where we can update the price in order.
Can you please tell me how to update the price if I have the order, material numbers and conditions number?
Thanks,
Balaram -
How to update weblogic.properties in order to support English & Chinese
<URGENT PROBLEM>
hi,
how to update weblogic.properties in order to support English & Chinese
version in a sing weblogic server?
Thanks in advance
<URGENT PROBLEM>If you are using JSP as your mechanism for content display, you should use
the contentType parameter to specify the character and coding of the JSP
page any character encoding of the resulting stream. So far, we have not
done a good job of documenting how to produce localized content in JSP. I
have filed an issue for the documentation folks to work on it. For now,
take a look at section 2.7.4 of the JSP specification version 1.1.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
fxy <[email protected]> wrote in message
news:8ffr11$59d$[email protected]..
<URGENT PROBLEM>
hi,
how to update weblogic.properties in order to support English & Chinese
version in a sing weblogic server?
Thanks in advance
<URGENT PROBLEM> -
How to update sale order haeder conditions
hi
how to update header conditions using sale order bapi ' create from data 2'.
regards
Siva Shanmugam.A.V.u can use 'BAPI_SALESORDER_CHANGE'
and see the following link
http://abap.wikiprog.com/wiki/BAPI_SALESORDER_CHANGE
Edited by: krupa jani on Nov 25, 2008 11:15 AM -
How to update the inventory after committing order..?
How to update the Inventory stock level of a commerce item after committing the order.. in ATG 10.0.1..?
Thanks in Advance,
Vishnu & Nithin Kayithiyou can add the pipeline chain after the processOrder in the commerce pipeline , in the runProcess method call InventoryManager.decreaseStockLevel(String pId, long pNumber);
-
How to update the service order status at meter level
Hi
I need to fetch one open service order and update the retrieved open service order status at meter level.
I am trying to do it through BAPI_ALM_ORDER_MAITAIN but i am not able to do it.
Please let me know the process how to update.
Thanks & Regards
PallaviHi,
Check if this code works ...
REPORT zbapi .
DATA t_meth TYPE TABLE OF bapi_alm_order_method.
**Internal table for Operation (BAPI)
DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
DATA t_comp TYPE TABLE OF bapi_alm_order_component.
**Internal Table for Opertaions UP (BAPI)
DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
**Internal table for BAPI Return code
DATA t_ret TYPE TABLE OF bapiret2.
***WORK AREA DECLARATIONS
**Work Area for Hedaer
DATA:wa_header TYPE caufvdb,
wa_meth TYPE bapi_alm_order_method,
wa_op TYPE afvgb,
wa_comp TYPE resbb,
wa_comp1 TYPE bapi_alm_order_component,
wa_comp_up TYPE bapi_alm_order_component_up,
wa_oper TYPE bapi_alm_order_operation.
PARAMETERS:TEST.
****Fill Method Internal table
CLEAR wa_meth.
wa_meth-method = 'SAVE'.
APPEND wa_meth TO t_meth.
wa_meth-refnumber = sy-tabix.
wa_meth-objecttype = 'COMPONENT'.
wa_meth-method = 'CHANGE'.
wa_meth-objectkey(12) = '000004000104'.
wa_meth-objectkey+12(4) = '0010'.
wa_meth-objectkey+16(4) = '0010'.
APPEND wa_meth TO t_meth.
**Component Internal table
wa_comp1-reserv_no = '0000001072'.
wa_comp1-res_item = '0001'.
wa_comp1-activity = '0010'.
wa_comp1-item_number = '0010'.
wa_comp1-special_stock = 'B'.
wa_comp1-requirement_quantity = '15'.
wa_comp1-stge_loc = '0001'.
wa_comp1-backflush = 'X'.
APPEND wa_comp1 TO t_comp.
**Component Update Internal table
wa_comp_up-special_stock = 'X'.
wa_comp_up-backflush = 'X'.
wa_comp_up-requirement_quantity = 'X'.
wa_comp_up-stge_loc = 'X'.
APPEND wa_comp_up TO t_comp_up.
**Call Bapi
BREAK-POINT.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = t_meth
it_component = t_comp
it_component_up = t_comp_up
return = t_ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'. <--- Hope u r using this too
regards,
Naveen
Edited by: Naveen Deva on Apr 16, 2009 9:12 AM -
How to update Sales Order status using BAPI_SALESORDER_CHANGE
Hi,
I want to update Sales Order status using BAPI_SALESORDER_CHANGE, this BAPI is called from middle ware, but there is no parameter to pass the status value to this function, please help me how to update sales order status using BAPI only.
Thanks
RKHi,
Can u give me details of what status u would like to update in sales order.
If we are able to update the status from VA02, Then BAPI will assist for the same.
Regards. -
How to update sales orders using B1WS in SAP 8.8 PL18
Hello all.
We are having a problem updating sales orders using Sap Business One Web Service ( B1WS ).
We are running SBO 8.8 PL18, MS-SQL 2008, and all is fine when using the SBO client.
But when it comes to updating sales orders through B1WS we just cannot get it to work.
We can add new orders easily without problems. Updating orders always gives this error:
\[ORDR.PayDuMonth\]\[line: 0\] , 'Field cannot be updated (ODBC -1029)'
We have checked and verified multiple times that our setup is correct.
Also the WDSL files are verified.
We can update orders just fine using the sboclient.
And using B1WS we can basically do everything, besides updating.
We have also tried this on different company db's, so we are quite sure this is not
something related to some general setting we missed, but who knows?
We have tried different ways to "assemble" the order before updating, but it always
ends with the above error.
Here is an example of one of the tests, where we load an order by docentry,
increment the quantity of all open lines by '1', and then try to update it.
protected void Page_Load(object sender, EventArgs e)
// First we login
string sessionId = "";
LoginService.LoginService l_login = new LoginService.LoginService();
LoginService.LoginDatabaseType l_dbtype = LoginService.LoginDatabaseType.dst_MSSQL2008;
LoginService.LoginLanguage _lang = LoginService.LoginLanguage.ln_English;
string _server = "SAP-8_8PL18";
string _licserver = "SAP-8_8PL18:30000";
string _db = "my_test_company";
string _user = "manager";
string _pass = "********";
try
sessionId = l_login.Login(_server, _db, l_dbtype, true, _user, _pass,
_lang, true, _licserver);
catch (Exception ex)
Response.Clear();
Response.Write(ex.Message);
Response.End();
if (sessionId == "")
Response.Clear();
Response.Write("No sessionId");
Response.End();
// We are logged in and have a sessionId
// Now load a valid open order by docentry
try
OrdersServiceRef.OrdersService orderService = new OrdersServiceRef.OrdersService();
orderService.MsgHeaderValue = new OrdersServiceRef.MsgHeader();
orderService.MsgHeaderValue.SessionID = sessionId;
orderService.MsgHeaderValue.ServiceName = OrdersServiceRef.MsgHeaderServiceName.OrdersService;
orderService.MsgHeaderValue.ServiceNameSpecified = true;
OrdersServiceRef.DocumentParams docParams = new OrdersServiceRef.DocumentParams();
docParams.DocEntry = 31; // Docentry of a known open order
docParams.DocEntrySpecified = true;
OrdersServiceRef.Document order = orderService.GetByParams(docParams);
OrdersServiceRef.DocumentDocumentLine line = null;
for (int i = 0; i < order.DocumentLines.Length; i++)
line = order.DocumentLines<i>;
if (line.LineStatus == OrdersServiceRef.DocumentDocumentLineLineStatus.bost_Open)
line.Quantity += 1;
orderService.Update(order);
catch (System.Web.Services.Protocols.SoapException ex)
Response.Clear();
Response.Write(ex.Message);
Response.End();
catch (Exception ex)
Response.Clear();
Response.Write(ex.Message);
Response.End();
Response.Clear();
Response.Write("All OK");
Response.End();
I hope that someone has an idea as to why this happens.
The customer often changes quantity or adds lines on their orders,
and the only way to solve it so far has been to make a new order and
close the old one.
Thanks in advance
J. ThomsenHi,
Welcome you post on the forum.
Have you checked if you only update a specific line instead of a loop?
Thanks,
Gordon
Maybe you are looking for
-
Dear All, I installed SAP Business One 8.81 PL04 (on Server) and SQL server 2005. My questions are 1) i install B1 integration component, when i am opening the integration framework i am getting a windows security dialog box in which it is mentioned
-
Creation of HU in auto mode with external number range
Dear Experts, I'm stucking in a scenario related to HUM There are two handling units - 1. Bag 2. Pallet through T code HU02 , it's possible to create an HU and assign it internal generated number. But as per our requirement , we want to assi
-
Moving from an old graphite AP to Time Capsule
I'm about to replace my AP graphite with Time Capsule. Will I be able to simply integrate into (adopt) my existing network name, etc. Or, if I have to define a new network, can I set it up while the old one is running? Or, should I switch off the old
-
Is SCVMM part of SCCM 2012 R2 package?
I understand their two different products, i was wondering do we get another tab in SCCM where we can merge SCVMM after installation? if not, can SCVMM be installed on the SCCM server? is this best practice? and lastly does SCVMM uses SQL to store an
-
Hey! So i want to update my iPad 2 running ios 4.3, and i'm wondering if I backup my data and apply it after the update,will it save stuff like minecraft worlds, saved games, game progress, and that kind of stuff?