Grouping rows in a costs-based form for CO-PA analysis
Hello everyone,
I am designing a form for a CO-PA report and I would like to enhance a bit the layout.
I would like to group some value fields with an explorer feature. Do you know how to do so?
I attached an example. In my case, I would like to group the 2 value field Misc. Exp and Misc. (income) together under the higher line - Other Expenses and hide/display them in the report related to this form by clicking on a feature.
Thanks
Hi Elodie,
Just to add to Pavan's reply you need to use tcode KEI2.
In case of SD to COPA transfer you need to map the SD condition to the value field
regards
Waman
Similar Messages
-
PDF-based forms for cash-book documentation
Dear colleagues,
Can you please help us with one guestion:
Are there any ready PDF-based forms for cash-book documentation (forms KO-3 and KO-4) in SAP?Hello,
I am facing the same problem, working with ERP 60
Did you get a response about KO-3 and KO-4 pdf-based forms for cash-book documentation?
Best Regards,
Ernesto. -
How to create a Form for cash flow analysis??
Hi experts,
Can anybody guide me to create a form for cashflow ananlysis?
1) What is difference between direct and indirect cash flow statement?
2) Is it possible to create a form in FSI4 without copying from a standard report?
I have already configured Financial statement version for my co.code.
Plz suggest.
Regards,
BiswaHi R.N.Reddy,
Thank you for the response.
Can you tell me the steps to create the form step by step.i am doing this first time.
And what is the difference between direct and indirect statement?
Regards
Biswa -
Activating Account based Copa in the existing Cost-based COPA
Hi Sap CO gurus!
Please advise me for the following issue.
Presently, My client using Cost-based COPA for segment wise reporting.( Already activated).
Now they wanted the reports in Account Based. Is it possible to activate the Account based now? Will the system allow us to activate or not?
If yes, What will be the implications? I want to know the pros and cons for that.
If not, How Can I edit the COPA settings( Operating concern)? Or shall I delete the Operating concern and create one new one?
Can you please explain the impact of each situation?
Thanks a lot in advance
RamaHi Joe
You can deactivate Account Based COPA, but you will have to do a thorough testing so that you are aware of the issues that can crop up
The IMG Menu is SPRO > Controlling > Prof Analysis
You will have to do a testing of how the open sales orders would behave... The open sales orders mean Sales Orders where PGI has been done, but billing is pending AS WELL AS Sales orders which are just created, but no Logistics movement (PGI) has taken place... You will have to do testing on both types of sales orders
- When you do PGI after deactivating the account based COPA, you may face error. Because, COGS GL account is a cost element in Account based COPA, where as in Costing based COPA, it is usually not a Cost Element
- Also do a billing from an open sales order and see if you get any error there...
Similar issue can arise during variance settlement also, because the variance account is not a cost ele in Costing Based COPA.
Test out the above scenarios and do share your experiences
Regards
Ajay M -
Document Output - PDF-based forms - output log (error)
Hello,
Ever since activating the PDF-based form for BUS2201 the following error shows via viewing the 'output log':
E Business AddIn Was Not Called http://srm7.atosorigin-ica.com:80/sap/ebp/docserver?msgdocuget&MsgId=SPPF_MEDIA&MsgNo=038&Langu=EN&sap-client=100
E Printing Error
E Action could not be succesfully executed
Anybody else has experienced the error 'Business Addin Was Not Called' before? What does it mean? I know there is _SF badi active but it doesn't really contain anything apart from
check = check
statement
Kind regards,
TimHi,
launch following in INTERNET explorer.
http://sapjavahost:50<instance_nr>0
where sapjavahost = hostname of you SAP java stack host
<instance_nr> = instance number of Java system
this open sap j2ee engine start page.
click on system information, login with administrator user and password
under Software Components you will find version and patch level.
regards,
kaushal -
To activate costing based COPA while Account basedCOPA activated previously
Dear all,
I have a client which currently using Account-based COPA which activated 5 years ago. Due to requirement to analyse production variance by variance categories, costing-based COPA needs to be activated.
Can anyone tell me whether is it possible to activate costing-based COPA in a system which have Account based COPA activated 5 years ago. If yes, is there any guiding SAP notes on doing this. As I would like to know the impact of such activations
Thanks & regards,
-Alice-Dear,
You can activate costing based COPA, for this use KEA0 and select your operating concern and select costing based COPA.
Then normal steps are required to be maintained like characteristic and value fields creation and all. Please refer the documents available online.
Regards,
Chintan Joshi. -
Custom tabular form for multi-row not saving data
Ok, before anyone asks, yes, I did read the how-to:-)
I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it.
It returns data rather nicely and when I go and update values I can tell it is changing the fields underneath. I put a process in that will display the values in text fields on the form (for one row only) and I see them changing from what is already there and with the proper values.
However, when I do that the data that is displayed then gets reverted back to what it was previous to the update but reports that the process was successful.
I have also tried to insert but that is basically doing the same thing. Can anyone guide me.
SQL to generate the tablular form...
SELECT x.sak_release_db
, x.sak_object
, x.sak_release
, x.sak_participant
, x.sak_csr
FROM
(SELECT htmldb_item.hidden(1,sak_release_db) sak_release_db
, htmldb_item.popupkey_from_query(2, sak_object,
'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
FROM system_object a
, database_table b
WHERE a.sak_object = b.sak_object') as sak_object
, htmldb_item.hidden(4,sak_release) sak_release
, htmldb_item.popupkey_from_query(5, sak_participant,
'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
, htmldb_item.popupkey_from_query(7, sak_csr,
'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
FROM release_db_xref
UNION ALL
SELECT htmldb_item.hidden(1,NULL) sak_release_db
, htmldb_item.popupkey_from_query(2, NULL,
'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
FROM system_object a
, database_table b
WHERE a.sak_object = b.sak_object') as sak_object
, htmldb_item.hidden(4,NULL) sak_release
, htmldb_item.popupkey_from_query(5, NULL,
'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
, htmldb_item.popupkey_from_query(7, NULL,
'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
FROM dual) x
Process to verify that I have the correct global fields: (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations)
begin
:P3_2 := replace(htmldb_application.g_f02(1),'%'||'null%',NULL);
:P3_5 := replace(htmldb_application.g_f05(1),'%'||'null%',NULL);
:P3_7 := replace(htmldb_application.g_f07(1),'%'||'null%',NULL);
end;
Process to do the insert/update. Note, I hardcoded the value in the where clause but I was originally using the global value for g_f01 (i also tried putting a commit in there for fun) (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations):
-- Update the RELEASE_DB_XREF table
FOR i IN 1..htmldb_application.g_f01.count
LOOP
IF htmldb_application.g_f01(i) IS NOT NULL THEN
UPDATE release_db_xref
SET sak_object = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
, sak_participant = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
, sak_csr = replace(htmldb_application.g_f07(i),'%'||'null%',NULL)
WHERE sak_release_db = 22;
ELSE
IF htmldb_application.g_f02(i) IS NOT NULL THEN
INSERT INTO release_db_xref
(sak_object
,sak_release
,sak_participant
,sak_csr)
VALUES
(replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
,htmldb_application.g_f04(i)
,replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
,replace(htmldb_application.g_f07(i),'%'||'null%',NULL));
END IF;
END IF;
END LOOP;Florian,
Checkboxes are different from other HTML form items. When you have a text box for example, there's always a value send to the server when submitting. Even if that value is NULL. When you have a checkbox however, you only get the value if the checkbox is checked. It's not posted to the server when it is not checked. That's the general behavior of HTML forms and not specific to Oracle HTML DB.
When working with tabular forms in HTML DB, you can access your form values using the htmldb_application.g_f0x arrays. Now if you have for example 10 rows in your form, then you'll get ten elements in your array for text boxes, select lists, etc. For checkboxes however you'll only get as many elements as you have rows checked. If I read your update and insert code correctly, you're trying to use the checkbox arrays the same way you use the arrays based on other item types. My recommendation would be to use Yes/No select lists instead of checkboxes or at least use select lists initially to get it working and then work on properly processing the checkboxes.
Some general information about working with checkboxes in tabuar forms can be found here:
http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html#CHECKBOX_IN_REPORT
Hope this helps,
Marc -
Allocation of Cost based on Match for 2 Dimensions
Hi Experts,
We are running an allocation where we assign an expense account balance (transportation costs) based on the combination of the dimensions entity and country. Please see the attached for a full example.
A brief example:
ORIGINAL DATA
Entity: Country AI Units (Currency)
1120 Holland AI_01 50
1120 Holland AI_03 30
1120 France AI_02 10
PRICING DATA
Entity: Country USD
1120 Holland 8
1120 France 10
DESIRED RESULT
1120 Holland AI_01 (50*8)=400
1120 Holland AI_03 (30*8)=240
1120 France AI_02 ((10*10)=100
ACTUAL RESULT
1120 Holland AI_01 (50+30) *8=640
1120 Holland AI_03 (50+ 30)*8=640
The original data is multiplied by a "pricing table" data that resides in a statistical account with similar dimensions for Entity and Country. Based on the match between Entity and Country between the data and country we assign the cost.
Issue is that other dimensions e.g. AI or other should be ignored for this calculation and the postings occur as they were originally. However the actual result based on the script below is duplicating data
Any ideas?
Thanks in advance
Eyal Feiler
SCRIPT USED
*RUNALLOCATION
*FACTOR=USING*1
*DIM CURRENCY WHAT=KL_Q ; WHERE=USD; USING=USD;
*DIM COUNTRY WHAT=[ALLOCATION]="y" ; WHERE=<<<; USING=<<<;
*DIM ACTIVE_INGREDIEN WHAT=[AI_ALLOCATION]="X"; WHERE=[AI_ALLOCATION]="X"; USING=AI_NONE;
*DIM ACCOUNT WHAT=411113; WHERE=612313; USING=411113;
*DIM AUDITID WHAT=AD3000; WHERE=AD5130; USING=AD4130;
*ENDALLOCATION
*COMMITVadim,
Again as before this helped us greatly!
Another question if I may:
2) The next step of the calculation is after we search for a price
based on the entity/country match, if one is not found we go to a second
pricing table and select based entity and property of the country (e.g. a
region) that has a new price.
This means that we could have a conflict between the 2 tables. e.g.
in the first table we find a match between Entity and country = France or
country = Holland.
Now when there's an entry = Greece there's no match in table 1 and
we go to table 2 to select the Europe price.
Europe price will now override the first 2 rows from table 1. How can we build this?
One thought is to first perform the select on table 2 (region) and
then override with (table 1) only where it's found?
Thoughts?
Thanks
Eyal -
Select query based LOV for tabular form attributes
Hi HTMLDB Team,
Congrats u all for the new release of HTMLDB in htmldb.oracle.com.
I badly need a solution of the below problem.
Say , i have table called user_col_comments now i want to display the table_name ,column_name and comments in a tabular form.I displayed only one row for the tabular form.Now i create a select query based LOV for attribute table_name where i got all table_name in drop down list.
Point is that after selecting any data from drop down table list i want to get the corresponding fields to be populated in column_name attributes.How can i wrote the select query based LOV for the attibute column_name.
I wrote it as 'select column_name d,column_name r from user_col_comments where table_name=:TABLE_NAME Its not working?
Similarly i want same thing to display for comments after matching both table_name and column_name.
Any solution to get rid of those problem will be highly appreciable...
If u need my htmldb.oracle.com userid and password to solve the problem i will sure let u email it.
Cheers,
Emanhi rchalton,
can u plz little bit more clearer .I know hopefully u can imagine the problem and may u guide me thru proper way.....One think i understand that there must be multiple process and submit but "only when..." that u have said i cant understand that part........
U are welcome to give me proper solution.....
Thanks for the reply ....atleast one can pay hid to me.....
Cheers,
Eman -
Colour for a Paticular row in alv grid,based on condition
Hi Master's.
I want to display a paticular row in my alv_grid based on my condition a diffrent colour.
The Entire row ?
Regards,
AbhisekIf you are using the SALV model you can use class
* Final output table
TYPES: BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln,
erdat TYPE erdat,
auart TYPE auart,
kunnr TYPE kunnr,
t_color TYPE lvc_t_scol, " << for color
END OF ty_vbak.
DATA: t_vbak TYPE STANDARD TABLE OF ty_vbak.
DATA: lt_s_color TYPE lvc_t_scol,
ls_s_color TYPE lvc_s_scol.
ls_s_color-color-col = col_positive.
ls_s_color-color-int = 0.
ls_s_color-color-inv = 0.
APPEND ls_s_color TO lt_s_color.
CLEAR ls_s_color.
* Modify that data back to the output table
la_vbak-t_color = lt_s_color.
MODIFY ct_vbak FROM la_vbak.
CLEAR la_vbak.
You can check the entire code at: [SALV Table 9 u2013 Apply Colors|http://help-abap.zevolving.com/2008/10/salv-table-9-apply-colors/]
Regards,
Naimesh Patel -
Define Time-Based Fields for Cost Centers
Dear All!
I would like to know , how I'm abale to cahnge the setting
of business area for Time-Based Field of Cost Centers to period
Transaction is OKEG
Would be thankfulYou can maintain master data for cost centers, cost elements, activity
types, and business processes with time dependencies. You can make
changes at any time for any given time interval. Data storage also takes
place with a time reference. In this way, a master data record can have
multiple database records storing different information.
The smallest interval is one day. To ensure data consistency, you
cannotchange each field daily. The timeframes in which you can change a
field depend on the field functions, which are fixed by the SAP R/3
System and cannot be changed. Master data maintenance includes an
automatic check for each field's time-based consistency, resulting in
individual time-based maintenance for each field.
Regards
Prabhu -
Custom Popup on a Tabular Form for Multi Row Operation
I am trying to implement a custom popup on a tabular form that I can pass a value typed in to a text item like âNameâ to the popup so it can filter a list of names on what was already typed in.
Once a selection is made I need to have the selected name passed back to the text item.
This is easily done when not using a Tabular Form. Any ideas would be great?Can someone please help me with this?
I've read the Thread:
"Custom Popup on a Tabular Form for Multi Row Operation",
and have tried following the instructions provided by Willi Firulais.
I've also tried to integrate the instructions provided by RWeide in response within the same Thread.
I cannot get the passBack function to Pass the value to the Calling Page.
(I've tried to organize the pertinent information as it pertains to my application,
and have included it here below:)
A. Calling Page (Page# 141)
1. HTML Header: (Page# 141)
<script> function callMyPopup(item) { var url;
url = 'f?p=&APP_ID.:143:&APP_SESSION.::::P143_ITEM:'+ item;
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
if (w.opener == null) w.opener = self; w.focus(); }
</script>
2. Region Definition: (Orders) - SQL Query (Updateable Report)
a. Query:
select
'f01_'||to_char(rownum ,'FM0999') ITEM,
"ID",
"ID" ID_DISPLAY,
"ID_PROJECT",
"ID_SUPPLIER",
"DESCRIPTION",
"JOB_NO",
"QUANTITY",
"UNIT_PRICE",
"EXTENDED_PRICE",
"MANUFACTURER",
"SUPPLIER",
"PART_NO",
"GROUP_LIST",
"BILLED_PRICE",
"DATE_NEEDED",
"DATE_DELIVERED",
"SUPPLIER_TYPE",
rownum
from "#OWNER#"."OAX_MAT_ORDER_ITEMS07"
where job_no = :P141_JOB_NO
3. Report Attributes: (ITEM) - URL
javascript:callMyPopup('#ITEM#');
B. PopUp Page (Page# 143)
1. HTML Header: (Page# 143)
<script language="JavaScript"> function passBack(passItem1, passVal1)
{ opener.document.forms["wwv_flow"].SUPPLIER[&P143_ITEM.].value = passVal1;
close(); }
</script>
2. ITEMS:
P143_ITEM
3. Region Definition: (Suppliers) - SQL Query(Structured Query)
OAX_SUPPLIERS.ID
OAX_SUPPLIERS.NAME
4. Report Attributes: (NAME) - URL
javascript:passBack('&P143_ITEM.','#NAME#');
Thank you in advance for you help! -
MIRO : Selecting accounts for unplanned delivery cost based on PO type
Hi Experts!
Actually throught the configuration of transaction OBYC (UPF), when I have an unplanned delivery cost, there is an account number that has been configured.
For any type of MM bill (MIRO), all postings are being made on the same account number for unplanned delivery cost.
My client want to define the account number based on the PO type being billed.
Example : For PO of type A, account number for unplanned delivery cost --> XXXXXXX
and For PO of type B, account number for unplanned delivery cost --> YYYYYY Thus overwriting the configuration of OBYC.
I was thinking of doing some configuration using substitution (FI module). That will change automating the account number (BSEG-HKONT).
Do you have any ideas to meet that request ?
Thanking you in advance for your replies.
Regards,
MaheshHi
You can use the BAdI MRM_UDC_DISTRIBUTE to change the distribution of delivery costs' shares across invoice items.
But i am not sure if we can use the same for determining the G/L accounts.
Thanks & Regards
Kishore -
Dont want COPA doc for credit memo billing in costing based copa
Hi,
We are in costing based COPA
Created one mis sale account with CE 1 as we dont want to drive to COPA
when i did billing the credit memeo am getting Profitability segment for primary cost element not advisable.
we have not mapped the Condition type to COPA field also.
Can you help us how to resolve this.
We need billing accounting document with out COPA document.
thanks,
SudhaHi Sudha,
The best way will be to reset the fields in transaction KE4W if you do not want a COPA document for a particular billing type.
Regards,
Abhisek -
Hi,
We have the problem that we get an basic login box when we try to access documents in the KM. (e.g with a link in an eMail)
Is it possible to switch from basic login to form based login for the KM?
If this is possible, how?
Best regards,
ManuelGood question! On a training server, using /irj/go/km/docs/documents/Public%20Documents/Laptops/Development/Test%20Reports/Performance%20EVO%20N610c%20in%20Network.doc gives the Windows authentication, but http://twdf0399.wdf.sap.corp:50000/irj/go/km/navigation/documents/Public%20Documents/Laptops/Development/Test%20Reports/Performance%20EVO%20N610c%20in%20Network.doc (changing docs to navigation in the URL) gives the form based...
Maybe you are looking for
-
Integration Stellent 7.5 with MS SharePoint. Is it possible?
Hi there, I need to integrate Stellent 7.5 with MS SharePoint 2007. Can you use Web Parts product to integrate Stellent 7.5 with Microsoft SharePoint Server 2007 ? Thanks
-
I was cleaning up my closet and found some discs of material I'd forgotten about . . .some grayscale gradients, movie objects, etc. I thought it would be convenient to add these to to Motion's Library so they'd be easily accessible when I'm browsing
-
How to shuffle photos when creating a slideshow?
When I click the slideshow button on an album I have the option to shuffle photos, but do not have the same option when I create a slideshow. I want to save the slideshow; can I save a slideshow played after using the slideshow button? Or how can I s
-
IPhone 5S 8.0.2 doesn't connect via BT with MacBook Pro Retina
Hi, I'm trying to connect my iPhone with my MBP Retina because I want to try Hand-off and Continuity. I connect them via BT, they exchange the code but after 2-3 sec both the devices lose the connection. It seems like they are unable to recognize eac
-
Geotagging raws/ importing xmp files
I'm shooting exclusively in Sony ARW raw format and look for an solution, now for over a year, to geotag my images inside Aperture - so far with no success. It seems to be an unholy alliance between Sony, not allowing to embed geotagging information