Account User Control
How do I stop the 'Account User Control' box showing before opening any PDF file with Reader X1 on Windows 8. It did not happen when installed on Windows XP
Its a standard 'User Account Control' box, saying do you want to allow programme to make changes to computer, There is a 'shield' on the desktop Adobe Reader shortcut icon. I have tried completely uninstalling programme twice, but each fresh installation ends up the same. ie whenever I open a PDF, I have to OK the notification first.
Similar Messages
-
I have a VB VS2008 (.Net 2.0) ‘pure’ .NET based user control which used to be hosted in Internet Explorer.
Because that approach is no longer possible in VS2013 (.Net 4.5) I have converted it to an VB ActiveX user control.
This process involves digitally signing the user control DLL.
Creating a setup project resulting in a setup.exe and MyUserControl.msi.
Digitally signing both those components and then producing a cab file (which again is digitally signed).
IE10 should then be able to install this using an object tag as follows
<object id="editor" height="100%" width="100%"
classid="clsid:EA47DB16-9272-4CB3-A800-C369A479396A" codebase="cab\MyUserControl.cab#Version=6,0,11,1" VIEWASTEXT>
If I use the setup.exe and MyUserControl.msi directly on the client windows 8 machine before starting IE10 then the control is already installed (shows up in Programs and Features) and it works.
If I don't do this and let IE install the control then it doesn't work.
What I see is the IE prompt
This website wants to install the following add-on: 'MyUserControl.cab'
Clicking on install produces the User Account Control MsgBox
Do you want to allow the following program to make changes to this computer
Clicking yes doesn't install the control as expected
The inf file that I'm using is currently
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
setup.exe=setup.exe
MyUserControlSetup.inf=MyUserControlSetup.inf
MyUserControlSetup.msi=MyUserControlSetup.msi
[setup.exe]
file=thiscab
[MyUserControlSetup.inf]
file=thiscab
[MyUserControlSetup.msi]
file=thiscab
[Setup Hooks]
RunSetup=RunSetup
[Deployment]
InstallScope=user
[RunSetup]
run="%EXTRACT_DIR%\setup.exe"
I have defined the registry setting ForceCodeDownloadLog
Examining the temporary internet files location after trying to install using IE10 I can see the following
*** Code Download Log entry (15 Jan 2015 @ 11:49:18) ***
Code Download Error: (hr = 80070005) Access is denied.
ERR: Run Setup Hook: Failed Error Code:(hr) = 80070005, processing: %EXTRACT_DIR%\setup.exe
LOG: Reporting Code Download Completion: (hr:80070005 (FAILED), CLASSID: ea47db16...,The problem here was the cab file.
Using ProcessMonitor I found that the following entry was generated at the time of failure
16:48:00.9222751 2920 IEInstal.exe CreateFile
C:\Users\Jim\AppData\Local\Temp\IDC2.tmp\setup.exe NAME NOT FOUND Desired Access: Read Attributes, Read
Control, Synchronize, Dis, Options: Synchronous IO Non-Alert, Non-Directory File, Disallow Exclusive, Attributes: n/a, ShareMode: None, AllocationSize: n/a
Analysis of the contents of the cab file using PeaZip indicated that it didn't contain setup.exe which confused me for a while as the makecab /f MyUserControlSetup.ddf produced no errors.
The MyUserControlSetup.ddf contained
.Set DiskDirectoryTemplate=cab
.Set CabinetNameTemplate=DocEditor.cab
MyUserControlSetup.inf
MyUserControlSetup.msi
setup.exe
Using makecab /f MyUserControlSetup.ddf /v3 I saw that the output was being written to 3 'disk' files but only one was present in explorer after it finished.
So I guessed that the output was for floppy disks and changed MyUserControlSetup.ddf to contain
.Set MaxDiskSize=CDROM
.Set DiskDirectoryTemplate=cab
.Set CabinetNameTemplate=DocEditor.cab
MyUserControlSetup.inf
MyUserControlSetup.msi
setup.exe
PeaZip now indicated that the cab file contained the 3 files I expected and using that cab in the codebase attribute installed my ActiveX control -
User Control Settings in Windows 7
I want to change the user control settings in Windows 7. I can move the control setting, but when I click OK, the change isn't implemented. It doesn't matter what user account I'm in.
Is this a simple fix?
Thank you.
DanSatellite L505D-S5983
Not a simple fix known to me, Dan.
Something like this occurs when you install Office 97 (KB978591). Maybe that fits? If not, try the "Fix it" anyway. It won't hurt anything.
-Jerry -
I want a SAP Financial Accounting and Controlling question,
hi
Hi
Can u send me your personal Email ID, I will forward it again.
Enterprise Structure
What is a Company Code and what are the basic organizational
assignments to a company code?
Company Code is a legal entity for which financial statements like Profit
and Loss and Balance Sheets are generated. Plants are assigned to the
company code, Purchasing organization is assigned to the company code,
and Sales organization is assigned to the company code.
What is the relation between a Controlling Area and a Company
code?
A Controlling area can have the following 2 type of relationship with a
Company code
a. Single Company code relation
b. Cross Company code relation
This means that one single controlling area can be assigned to several
different company codes. Controlling can have a one is to one
relationship or a one is to many relationship with different company
codes.
Controlling Area is the umbrella under which all controlling activities of
Cost Center Accounting, Product Costing, Profit Center and Profitability
Analysis are stored.
In a similar way Company Codes is the umbrella for Finance activities.
How many Chart of Accounts can a Company code have?
A single Company code can have only one Chart of Account assigned to
it. The Chart of Accounts is nothing but the list of General Ledger
Accounts.
What are the options in SAP when it comes to Fiscal years?
Fiscal year is nothing but the way financial data is stored in the system.
SAP provides you with the combination of 12 normal periods and also
four special periods. These periods are stored in what is called the fiscal
year variant.
There are two types of Fiscal Year Variant
· Calendar Year e.g. Jan-Dec
· Year Dependent Fiscal Year .
What is a year dependent fiscal year variant ?
In a year dependent fiscal year variant the number of days in a month
are not as per the calendar month. Let us take an example:- For the year
2005 the period January ends on 29th, Feb ends on 27th, March ends on
29. For the year 2006 January ends on 30th, Feb ends on 26th, March
ends on 30th. This is applicable to many countries especially USA. Ever
year this fiscal year variant needs to be configured in such a case
How does posting happen in MM (Materials Management) during
special periods?
There is no posting which happens from MM in special periods. Special
periods are only applicable for the FI module. They are required for
making any additional posting such as closing entries, provisions. which
happen during quarter end or year end.
How many currencies can be configured for a company code?
A company code can have 3 currencies in total. They are local currency
ie company code currency) and 2 parallel currencies. This gives the
company the flexibility to report in the different currencies.
Do you require to configure additional ledger for parallel currencies?
Where only 2 currencies are configured (Company code currency and a
parallel currency) there is no need for an additional ledger. In case the
third parallel currency is also configured and if it is different than the
second currency type, you would then need to configure additional
ledger.
If there are two company codes with different chart of accounts how
can you consolidate their activities?
In this case you either need to write an ABAP program or you need to
implement the Special Consolidation Module of SAP. If both the company
codes use the same chart of accounts then standard SAP reports give
you the consolidated figure.
FI-GL
Give some examples of GL accounts that should be posted
automatically through the system and how is this defined in the
system.
Stock and Consumption accounts are instances of GL accounts that
should be automatically posted . In the GL account master record, a
check box exists wherein the automatic posting option is selected called
Post Automatically Only
What is a Account group and where is it used?
An Account group controls the data that needs to be entered at the time
of creation of a master record. Account groups exist for the definition of a
GL account, Vendor and Customer master. It basically controls the fields
which pop up during master data creation in SAP.
What is a field status group?
Field status groups control the fields which come up when the user does
the transactions. There are three options for field selection. They are:
Display only
Suppressed
Mandatory
So basically you can have any field either for display only or you can
totally suppress it or make it mandatory.
The field status group is stored in the FI GL Master Record.
What is the purpose of a Document type in SAP?
A Document type is specified at the Header level during transaction entry
and serves the following purposes:
· It defines the Number range for documents
· It controls the type of accounts that can be posted to eg
Assets, Vendor, Customer, Normal GL account
· Document type to be used for reversal of entries
· Whether it can be used only for Batch input sessions
Document Type is created for differentiating business transactions. Eg
Vendor Invoice, Credit Memo, Accrual Entries,Customer Invoice. It is a
two digit character.
What is a Financial Statement Version?
A FSV (Financial Statement Version) is a reporting tool and can be used
to depict the manner in which the financial accounts like Profit and Loss
Account and Balance Sheet needs to be extracted from SAP. It is freely
definable and multiple FSV's can be defined for generating the output for
various external agencies like Banks and other Statutory authorities.
How are input and output taxes taken care of in SAP?
A tax procedure is defined for each country and tax codes are defined
within this. There is flexibility to either expense out the Tax amounts or
Capitalize the same to Stocks.
What are Validations and Substitutions?
Validations/Substitutions in SAP are defined for each functional area
e.g. FI-GL, Assets, Controlling etc at the following levels
1. Document level
2. Line item level
These need to be specifically activated and setting them up are complex
and done only when it is really needed. Often help of the technical team
is taken to do that.
Is it possible to maintain plant wise different GL codes?
Yes. To be able to do so the valuation group code should be activated.
The valuation grouping code is maintained per plant and is configured in
the MM module. Account codes should be maintained per valuation
grouping code after doing this configuration.
Is Business area at company code Level?
No. Business area is at client level. What this means is that other
company codes can also post to the same business area.
What are the different scenarios under which a Business Area or a
Profit Center may be defined?
This question is usually very disputable. But both Business Areas and
Profit centers are created for internal reporting. Each has its own pros
and cons but many companies nowadays go for Profit center as there is a
feeling that business area enhancements would not be supported by SAP
in future versions.
There are typical month end procedures which need to be executed for
both of them and many times reconciliation might become a big issue. A
typical challenge in both of them is in cases where you do not know the
Business Area or Profit Center of the transaction at the time of posting.
What are the problems faced when a Business area is configured?
The problem of splitting of account balance is more pertinent in case of
tax accounts.
Is it possible to default certain values for particular fields? For e.g.
company code.
Yes it is possible to default values for certain fields where a parameter id
is present.
Step 1 Go to the input field to which you want to make defaults.
Step 2 Press F1, then click technical info push button. This would open
a window that displays the corresponding parameter id (if one has been
allocated to the field) in the field data section.
Step 3 Enter this parameter id using the following path on SAP Easy
access screen System à User profile à Own data.
Step 4 Click on parameter tab. Enter the parameter id code and enter the
value you want as default. Save the usersettings.
Which is the default exchange rate type which is picked up for all
SAP transactions?
The default exchange rate type picked up for all SAP transactions is M
(average rate)
Is it possible to configure the system to pick up a different exchange
rate type for a particular transaction?
Yes it is possible. In the document type definition of GL, you need to
attach a different exchange rate type.
What are the master data pre-requisites for document clearing?
The Gl Account must be managed as an open item management . This
checkbox is there in the General Ledger Master Record called Open Item
Management. It helps you to manage your accounts in terms of cleared
and uncleared items. A typical example would be GR/IR Account in SAP
(Goods Received/Invoice Received Account)
Explain the importance of the GR/IR clearing account.
GR/IR is an interim account. In the legacy system of a client if the goods
are received and the invoice is not received the provision is made for the
same.
In SAP at the Goods receipt stage the system passes an accounting entry
debiting the Inventory and crediting the GR/IR Account .Subsequently
when an invoice is recd this GR/IR account is debited and the Vendor
account is credited. That way till the time that the invoice is not received
the GR/IR is shown as uncleared items.
How many numbers of line items in one single entry you can have?
The number of line items in one document you can accommodate is 999
lines.
A Finance Document usually has an assignment field. This field
automatically gets populated during data entry. Where does it get
its value?
This value comes from the Sort key entered in the Gl master record.
How do you maintain the number range in Production environment?
Do you directly create it in the Production box or do you do it by
means of transport?
Number range is to be created in the production client. You can
transport it also by way of request but creating in the production client is
more advisable.
In customizing company code productive means what? What does
it denote?
Once the company code is live(real time transactions have started) this
check box helps prevents deletion of many programs accidentally. This
check box is activated just before go live.
What is done by GR/IR regrouping program?
The balance in a GR/IR account is basically because of 2 main types of
transactions:-
Goods delivered but invoice not received Here the Goods receipt is
made but no invoice has yet been received from the vendor. In such a
scenario GR/IR account will have a credit balance.
Invoiced received but goods not delivered Here the Invoice is
received from the vendor and accounted for, but goods have not been
received. In such a scenario GR/IR account will have a debit balance.
The GR/IR account would contain the net value of the above two types of
transactions. The GR/IR regrouping program analyses the above
transactions and regroups them to the correct adjustment account. The
balance on account of first transactions will be regrouped to another
liability account and the balance on account of second transactions will
be regrouped to an asset account.
What are the functionalities available in the financial statement
version?
In the financial statement version the most important functionality
available is the debit credit shift. This is more important in case of
Bank overdraft accounts which can have a debit balance or a credit
balance. Thus in case of a debit balance you would require the overdraft
account to be shown on the Asset side. In case of credit balance you
would require the account to be shown on the Liability side.
Is it possible to print the financial statement version on a SAPscript
form?
Yes. It is possible to print the financial statement version on a SAPscript
form.
How do you configure the SAPscript form financial statement
version?
It is possible to generate a form from the financial statement version and
print the financial statements on a SAPscript form. In the customizing for
financial statement version select the FSV you created and choose Goto
à Generate form à One column or Two column form.
You can also copy form from the standard system.
Is it possible to generate a financial statement form automatically?
Yes. It is possible to generate a form automatically.
Is it possible to keep the FI posting period open only for certain GL
codes?
Yes. It is possible to keep open the FI posting period only for certain GL
codes.
How do you keep the FI posting period open only for certain GL
codes?
In transaction code OB52 click on new entries and maintain an interval
or a single GL code for the account type S with the posting period
variant. If the GL codes are not in sequence then you need to maintain
further entries for the posting period variant and account type S.
Can posting period variant be assigned to more than 1 company
code?
Yes. Posting period variant can be assigned to more than one company
code.
Accounts Receivable and Accounts
Payable
At what level are the customer and vendor codes stored in SAP?
The customer and vendor code are at the client level. That means any
company code can use the customer and vendor code by extending the
company code view.
How are Vendor Invoice payments made?
Vendor payments can be made in the following manner:
Manual payments without the use of any output medium like cheques
etc.
Automatic Payment program through cheques, Wire transfers, DME etc.
How do you configure the automatic payment program?
The following are the steps for configuring the automatic payment
program:-
Step 1 Set up the following:
Co. code for Payment transaction
Define sending and paying company code.
Tolerance days for payable
Minimum % for cash discount
Maximum cash discount
Special GL transactions to be paid
Step 2 Set up the following:
Paying company code for payment transaction
Minimum amount for outgoing payment
No exchange rate diff
Separate payment for each ref
Bill/exch payment
Form for payment advice
Step 3 Set up the following:
Payment method per country
Whether Outgoing payment
Check or bank transfer or B/E
Whether allowed for personnel payment
Required master data
Doc types
Payment medium programs
Currencies allowed
Step 4 Set up the following:
Payment method per company code for payment transactions
Set up per payment method and co. code
The minimum and maximum amount.
Whether payment per due day
Bank optimization by bank group or by postal code or no
optimization
Whether Foreign currency allowed
Customer/Vendor bank abroad allowed
Attach the payment form check
Whether payment advice required
Step 5 Set up the following:
Bank Determination for Payment Transactions
Rank the house banks as per the following
Payment method, currency and give them ranking nos
Set up house bank sub account (GL code)
Available amounts for each bank
House bank, account id, currency, available amount
Value date specification
Where do you attach the check payment form?
It is attached to the payment method per company code.
Where are Payment terms for customer master maintained?
Payment terms for customer master can be maintained at two places i.e.
in the accounting view and the sales view of the vendor master record.
Which is the payment term which actually gets defaulted when the
transaction is posted for the customer (accounting view or the sales
view)?
The payment term in the accounting view of the customer master comes
into picture if the transaction originates from the FI module. If an FI
invoice is posted (FB70) to the customer, then the payment terms is
defaulted from the accounting view of the customer master.
The payment term in the sales view of the customer master comes into
picture if the transaction originates from the SD module. A sales order is
created in the SD module. The payment terms are defaulted in the sales
order from the sales view of the customer master.
Where are Payment terms for vendor master maintained?
Payment terms for Vendor master can be maintained at two places i.e. in
the accounting view and the purchasing view.
Which is the payment term which actually gets defaulted in
transaction (accounting view or purchasing view)?
The payment term in the accounting view of the vendor master comes
into picture if the transaction originates from the FI module. If an FI
invoice is posted (FB60) to the Vendor, then the payment terms is
defaulted from the accounting view of the vendor master.
The payment term in the purchasing view of the vendor master comes
into picture if the transaction originates from the MM module. A
purchase order is created in the MM module. The payment terms are
defaulted in the purchase order from the purchasing view of the vendor
master.
Explain the entire process of Invoice verification from GR to Invoice
verification in SAP with accounting entries?
These are the following steps:
A goods receipt in SAP for a purchased material is prepared referring a
purchase order.
When the goods receipt is posted in SAP the accounting entry passed is:-
Inventory account Debit
GR/IR account credit
A GR/IR (which is Goods receipt/Invoice receipt) is a provision account
which provides for the liability for the purchase. The rates for the
valuation of the material are picked up from the purchase order.
When the invoice is booked in the system through Logistics invoice
verification the entry passed is as follows:-
GR/IR account debit
Vendor credit
How are Tolerances for Invoice verification defined?
The following are instances of tolerances that can be defined for Logistic
Invoice Verification.
c. Small Differences
d. Moving Average Price variances
e. Quantity variances
f. Price variances
Based on the client requirement, the transaction can be Blocked or
Posted with a Warning in the event of the Tolerances being exceeded.
Tolerances are nothing but the differences between invoice amount and
payment amount or differences between goods receipt amount and
invoice amount which is acceptable to the client.
Can we change the reconciliation account in the vendor master?
Yes. Reconciliation account can be changed in the vendor master
provided that the authority to change has been configured. Normally we
should not change the reconciliation account.
What is the impact on the old balance when the reconciliation
account in the vendor master is changed?
Any change you make to the reconciliation account is prospective and
not retrospective. The old items and balances do not reflect the new
account only the new transactions reflect the account.
There is an advance given by the customer which lies in a special GL
account indicator A. Will this advance amount be considered for
credit check?
It depends on the configuration setting in the special GL indicator A. If
the Relevant to credit limit indicator is switched on in the Special GL
indicator A the advances will be relevant for credit check, otherwise it will
not be relevant.
In payment term configuration what are the options available for
setting a default baseline date?
There are 4 options available:-
1) No default
2) Posting date
3) Document date
4) Entry date
What is generally configured in the payment term as a default for
baseline date?
Generally document date is configured in the payment term as a default
for base line date.
How do you configure a special GL indicator for Customer?
You can use an existing special GL indicator ID or create a new one.
After creating a special GL indicator id, update the chart of accounts and
the Reconciliation account. Also as a last step you need to update the
special GL code.
The special GL code should also be marked as a Reconciliation account.
Switch on the relevant for credit limit and commitment warning
indicators in the master record.
Bank Accounting:
How is Bank Reconciliation handled in SAP?
The bank reco typically follows the below procedure:
First, the payment made to a Vendor is posted to an interim bank
clearing account. Subsequently, while performing reconciliation, an entry
is posted to the Main Bank account. You can do bank reconciliation
either manually or electronically.
How do you configure check deposit?
The following are the steps for configuring check deposit:-
Step1: Create account symbols for the main bank and incoming check
account.
Step2: Assign accounts to account symbols
Step3: Create keys for posting rules
Step4: Define posting rules
Step5: Create business transactions and assign posting rule
Step6: Define variant for check deposit
What is the clearing basis for check deposit?
In the variant for check deposit we need to set up the following
a) fields document number ( which is the invoice number),
b) amount
c) Short description of the customer.
The document number and the invoice amount acts as the clearing
basis.
How do you configure manual bank statement?
The following are the steps for configuring manual bank statement:-
Step1: Create account symbols for the main bank and the sub accounts
Step2: Assign accounts to account symbols
Step3: Create keys for posting rules
Step4: Define posting rules
Step5: Create business transaction and assign posting rule
Step6: Define variant for Manual Bank statement
How do you configure Electronic bank statement?
The steps for Electronic Bank Statement are the same except for couple
of more additional steps which you will see down below
Step1: Create account symbols for the main bank and the sub accounts
Step2: Assign accounts to account symbols
Step3: Create keys for posting rules
Step4: Define posting rules
Step5: Create transaction type
Step6: Assign external transaction type to posting rules
Step7: Assign Bank accounts to Transaction types
Fixed Assets
What are the organizational assignments in asset accounting?
Chart of depreciation is the highest node in Asset Accounting and this is
assigned to the company code.
Under the Chart of depreciation all the depreciation calculations are
stored.
How do you go about configuring Asset accounting?
The configuration steps in brief are as follows:-
a) Copy a reference chart of depreciation areas
b) Assign Input Tax indicator for non taxable acquisitions
c) Assign chart of depreciation area to company code
d) Specify account determination
e) Define number range interval
f) Define asset classes
g) Define depreciation areas posting to general ledger
h) Define depreciation key
Explain the importance of asset classes. Give examples?
The asset class is the main criterion for classifying assets. Every asset
must be assigned to only one asset class. Examples of asset class are
Plant& Machinery, Furniture & Fixtures, Computers etc. The asset class
also contains the Gl accounts which are debited when any asset is
procured. It also contains the gl accounts for depreciation calculation,
scrapping etc
Whenever you create an asset master you need to mention the asset
class for which you are creating the required asset. In this manner
whenever any asset transaction happens the gl accounts attached to the
asset class is automatically picked up and the entry passed.
You can also specify certain control parameters and default values for
depreciation calculation and other master data in each asset class.
How are depreciation keys defined?
The specifications and parameters that the system requires to calculate
depreciation amounts are entered in Calculation methods. Calculation
methods replace the internal calculation key of the depreciation key.
Depreciation keys are defaulted in Asset Master from the asset class.
Refer to the configuration for more details of how depreciation is
calculated.
A company has its books prepared based on Jan Dec calendar year
for reporting to its parent company. It is also required to report
accounts to tax authorities based on April- March. Can assets be
managed in another depreciation area based on a different fiscal
year variant?
No. Assets accounting module cannot manage differing fiscal year variant
which has a different start date (January for book depreciation and April
for tax depreciation) and different end date (December for book
depreciation and March for tax depreciation). In this case you need to
implement the special purpose ledger.
What are the special steps and care to be taken in Fixed asset data
migration into SAP system especially when Profit center accounting
is active?
Data migration is slightly different from a normal transaction which
happens in Asset accounting module.
Normally, in asset accounting the day to day transactions is posted with
values through FI bookings and at the same time the asset reconciliation
is updated online realtime. Whereas In data Migration the asset master
is updated with values through a transaction code called as AS91. The
values updated on the master are Opening Gross value and the
accumulated depreciation. The reconciliation GL account is not
automatically updated at this point of time.
The reconciliation accounts (GL codes) are updated manually through
another transaction code called as OASV.
If profit center is active, then after uploading assets through AS91 you
should transfer the asset balances to profit center accounting through a
program.
Thereafter you remove the Asset GL code (reconciliation accounts) from
the 3KEH table for PCA and update the Asset reconciliation account (GL
code) through OASV.
After this step you again update the Asset reconciliation account in the
3KEH table.
The reason you remove the Asset reconciliation code from 3KEH table is
that double posting will happen to PCA when you update the Asset
reconciliation manually.
Is it possible to calculate multiple shift depreciation? Is any special
configuration required?
Yes it is possible to calculate multiple shift depreciation in SAP for all
types of depreciation except unit of production. No special configuration
is required.
How do you maintain multiple shift depreciation in asset master?
The following steps are needed to maintain multiple shift depreciation:
1. The variable depreciation portion as a percentage rate is to be
maintained in the detail screen of the depreciation area.
2. The multiple shift factor is to be maintained in the time dependent
data in the asset master record. This shift factor is multiplied by
the variable portion of ordinary depreciation.
Once you have done the above the SAP system calculates the total
depreciation amount as follows:-
Depreciation amount = Fixed depreciation + (variable depreciation * shift
factor)
Lets say you have changed the depreciation rates in one of the
depreciation keys due to changes in legal requirements. Does
system automatically calculate the planned depreciation as per the
new rate?
No. System does not automatically calculate the planned depreciation
after the change is made. You need to run a program for recalculation of
planned depreciation.
What are evaluation groups?
The evaluation groups are an option for classifying assets for reports or
user defined match code (search code). You can configure 5 different
evaluation groups. You can update these evaluation groups on to the
asset master record.
What are group assets?
The tax requirements in some countries require calculation of
depreciation at a higher group or level of assets. For this purpose you
can group assets together into so-called group assets.
What are the steps to be taken into account during a depreciation
run to ensure that the integration with the general ledger works
smoothly?
For each depreciation area and company code, specify the following:
1 The frequency of posting depreciation(monthly,quarterly etc)
2 CO account assignment (cost center)
3 For each company code you must define a document type for
automatic depreciation posting: This document type requires its
own external number range.
4 You also need to specify the accounts for posting. (Account
determination)
Finally to ensure consistency between Asset Accounting and Financial
Accounting, you must process the batch input session created by the
posting report. If you fail to process the batch input session, an error
message will appear at the next posting run.
The depreciation calculation is a month end process which is run in
batches and then once the batch input is run the system posts the
accounting entries into Finance.
How do you change fiscal year in Asset Accounting?
n Run The fiscal year change program which would open new annual
value fields for each asset. i e next year
Ÿ The earliest you can start this program is in the last posting period of
the current year.
Ÿ You have to run the fiscal year change program for your whole
company code.
Ÿ You can only process a fiscal year change in a subsequent year if the
previous year has already been closed for business.
Take care not to confuse the fiscal year change program with year-end
closing for accounting purposes. This fiscal year change is needed only in
Asset Accounting for various technical reasons.
Is it possible to have depreciation calculated to the day?
Yes it is possible. You need to switch on the indicator Dep to the day in
the depreciation key configuration.
Is it possible to ensure that no capitalization be posted in the
subsequent years?
Yes it is possible. You need to set it in the depreciation key
configuration.
How are Capital Work in Progress and Assets accounted for in SAP?
Capital WIP is referred to as Assets under Construction in SAP and are
represented by a specific Asset class. Usually depreciation is not charged
on Capital WIP.
All costs incurred on building a capital asset can be booked to an
Internal Order and through the settlement procedure can be posted onto
an Asset Under Construction. Subsequently on the actual readiness of
the asset for commercial production, the Asset Under Construction gets
capitalized to an actual asset.
The company has procured 10 cars. You want to create asset
masters for each of this car. How do you create 10 asset masters at
the same time?
While creating asset master there is a field on the initial create screen
called as number of similar assets. Update this field with 10. When you
finally save this asset master you will get a pop up asking whether you
want to maintain different texts for these assets. You can update
different details for all the 10 cars.
FI-MM-SD Integration
How do you go about setting the FI MM account determination ?
FI MM settings are maintained in transaction code OBYC. Within these
there are various transaction keys to be maintained like BSX, WRX,
GBB, PRD etc. In each of these transaction keys you specify the GL
accounts which gets automatically passed at the time of entry.
Few examples could be: BSX- Stands for Inventory Posting Debit
GBB-Standsfor Goods Issue/Scrapping/delivery
of goods etc
PRD- Stands for Price Differences.
At what level is the FI-MM, FI-SD account determination settings?
They are at the chart of accounts level.
What are the additional settings required while maintaining or
creating the GL codes for Inventory accounts?
In the Inventory GL accounts (Balance sheet) you should switch on the
Post automatically only tick. It is also advisable to maintain the
aforesaid setting for all FI-MM accounts and FI-SD accounts. This helps
in preserving the sanctity of those accounts and prevents from having
any difference between FI and MM, FI and SD.
What is Valuation and Account assignment in SAP?
This is actually the link between Materials Management and Finance.
The valuation in SAP can be at the plant level or the company code level.
If you define valuation at the plant level then you can have different
prices for the same material in the various plants. If you keep it at the
company code level you can have only price across all plants.
Valuation also involves the Price Control .Each material is assigned to a
material type in Materials Management and every material is valuated
either in Moving Average Price or Standard Price in SAP. These are the
two types of price control available.
What is Valuation Class?
The Valuation Class in the Accounting 1 View in Material Master is the
main link between Material Master and Finance. This Valuation Class
along with the combination of the transaction keys (BSX,WRX,GBB,PRD )
defined above determine the GL account during posting.
We can group together different materials with similar properties by
valuation class. Eg Raw material,Finsihed Goods, Semi Finished
We can define the following assignments in customizing :
All materials with same material type are assigned to just one valuation
class.
Different materials with the same material type can be assigned to
different valuation classes.
Materials with different material types are assigned to a single valuation
class.
Can we change the valuation class in the material master once it is
assigned?
Once a material is assigned to a valuation class in the material master
record, we can change it only if the stocks for that material are nil. If the
stock exists for that material, then we cannot change the valuation class.
In such a case, if the stock exists, we have to transfer the stocks or issue
the stocks and make the stock nil for the specific valuation class. Then
only we will be able to change the valuation class.
Does the moving average price change in the material master during
issue of the stock assuming that the price control for the material is
Moving Average?
The moving average price in the case of goods issue remains unchanged.
Goods issue are always valuated at the current moving average price. It
is only in goods receipt that the moving average price might change. A
goods issue only reduces the total quantity and the total value in relation
to the price and the moving price remains unchanged. Also read the
next question to learn more about this topic.
If the answer to the above question is Yes, then list the scenario in
which the moving average price of the material in the material
master changes when the goods are issued.
The moving average price in the material master changes in the scenario
of Split Valuation which is sometimes used by many organizations. If the
material is subject to split valuation, the material is managed as Several
partial stocks and each partial stock is valuated separately.
In split valuation, the material with valuation header record will have v
moving average price. This is where the individual stocks of a material
are managed cumulatively. Here two valuation types are created, one
valuation type can have v (MAP) and the other valuation type can have
s(standard price).
In this case, whenever the goods are issued from the respective valuation
types, always the MAP for the valuation header changes.
What is the accounting entry in the Financial books of accounts
when the goods are received in unrestricted use stock? Also
mention the settings to be done in the Automatic postings in SAP
for the specific G/L accounts.
On receipt of the goods in unrestricted-use stock, the Inventory account
is debited and the GR/IR account gets credited. In customization, in the
automatic postings, the Inventory G/L account is assigned to the
Transaction event key BSX and the GR/IR account is assigned to the
Transaction event key WRX.
If a material has no material code in SAP, can you default the G/L
account in Purchase order or it has to be manually entered?.
If a material has no material code in SAP, we can still, default the G/L
account with the help of material groups. We can assign the valuation
class to a material group and then in FI-automatic posting, we can
assign the relevant G/L account in the Transaction event key. The
assignment of a valuation class to a material group enables the system to
determine different G/L accounts for the individual material groups.
What is the procedure in SAP for Initial stock uploading? Mention
the accounting entries also.
Initial stock uploading in SAP from the legacy system is done with
inventory movement type 561( a MM transaction which is performed).
Material valuated at standard price: For a material valuated at
standard price, the initial entry of inventory data is valuated on the basis
of standard price in the material master. If you enter an alternative value
at the time of the movement type 561, then the system posts the
difference to the price difference account.
Material valuated at moving average price: The initial entry of
inventory data is valuated as follows : If you enter a value when
uploading the initial data, the quantity entered is valuated at this price.
If you do not enter a value when entering initial data, then the quantity
entered is valuated at the MAP present in the material master.
The accounting entries are: Inventory account is debited and Inventory
Historical upload account is credited.
How do you configure FI-SD account determination?
The FI-SD account determination happens through an access sequence.
The system goes about finding accounts from more specific criteria to
less specific criteria.
This is the sequence it would follow:
1) It will first access and look for the combination of Customer
accounts assignment grp/ Material account assignment grp/
Account key.
2) If it does not find the accounts for the first combination it will look
for Customer account assignment grp and account key
combination.
3) Furthermore, if it does not find accounts for the first 2 criterias
then it will look for Material account assignment grp/Account key.
4) If it does not find accounts for the all earlier criterias then finally it
will look for Account key and assign the GL code.
Thus posting of Sales Invoices into FI are effected on the basis of a
combination of Sales organization, Account type, or Customer and
Material Account assignment groups and following are the options
available.
a. Customer AAG/Material AAG/Account type
b. Material AAG/Account type
c. Customer AAG/Account type
For each of this option you can define a Gl account. Thus the system
uses this gl account to automatically pass the entries.
Logistics Invoice Verification
Can you assign multiple G/L accounts in the Purchase order for the
same line item?
Yes, we can assign multiple G/L accounts in the Purchase order for the
same line item. The costs can be allocated on a percentage or quantity
basis. If the partial goods receipt and partial invoice receipt has already
taken place, then the partial invoice amount can be distributed
proportionally, i.e. evenly among the account assigned items of a
Purchase order. Alternatively the partial invoice amount can be
distributed on a progressive fill-up basis, i.e. the invoiced amount is
allocated to the individual account assignment items one after the other.
What is Credit memo and subsequent debit in Logistics Invoice
verification?
The term credit memo refers to the credit memo from the vendor.
Therefore posting a credit memo always leads to a debit posting on the
vendor account. Credit memos are used if the quantity invoiced is higher
than the quantity received or if part of the quantity was returned.
Accounting entries are : Vendor account is debited and GR/IR account is
credited.
Subsequent debit : If a transaction has already been invoiced and
additional costs are invoiced later, then subsequent debit is necessary. In
this case you can debit the material with additional costs, i.e. GR/IR
account debit and Vendor account credit. When entering the Subsequent
debit, if there is no sufficient stock coverage, only the portion for the
available stock gets posted to the stock account and rest is posted to the
price difference account.
What do you mean by Invoice parking, Invoice saving and Invoice
confirmation?
Invoice parking : Invoice Parking is a functionality which allows you to
create incomplete documents and the system does not check whether the
entries are balanced or not. An accounting documents is also not created
when the invoice is in parked mode.
Thus you can create incomplete documents and then post it later to
accounting when you feel it is complete. You can even rectify the Parked
invoice. This feature is used by many companies as on many occasions
all data relating to the invoice might not be available.
Invoice saving : This is also called Invoice processing or Invoice posting.
The accounting document gets created when the invoice is posted in SAP.
Invoice confirmation : There is no terminology in SAP as Invoice
confirmation.
What are Planned delivery costs and Unplanned delivery costs?
Planned delivery costs: are entered at the time of Purchase order. At
goods receipt, a provision is posted to the freight or customs clearing
account.
e.g. FRE is the account key for freight condition, hence the system can
post the freight charges to the relevant freight revenue account and FR3
is the account key for Customs duty, hence the system can post the
customs duty to the relevant G/L account.
These account keys are assigned to the specific condition types in the
MM Pricing schema.
In terms of Invoice verification : If the freight vendor and the material
vendor is the same : then we can choose the option : Goods service items
+ Planned delivery costs.
If the freight vendor is different from the material vendor: then for
crediting only the delivery costs, we can choose the option: Planned
delivery costs.
Unplanned delivery costs: are the costs which are not specified in the
Purchase order and are only entered when you enter the invoice.
What is the basis on which the apportionment is done of unplanned
delivery costs?
Unplanned delivery costs are either uniformly distributed among the
items or posted to a separate G/L account.
For a material subjected to Moving average price, the unplanned delivery
costs are posted to the stock account, provided sufficient stock coverage
exists.
For a material subjected to Standard price, the unplanned delivery costs
are posted to the Price difference account.
There are cases where Invoice verification is done first before the
Goods receipt is made for the purchase order . In these cases with
what values would the Goods receipt be posted ?
Since the invoice verification has been done first the Goods Receipts will
be valued with the Invoice value.
FI Month End Closing Activities
What are the Month End Closing Activities in Finance?
1. Recurring Documents.
a) Create Recurring documents
b) Create Batch Input for Posting Recurring Documents
c) Run the Batch Input Session
2. Posting Accruals or Provisions entries at month end
3. Managing the GR/IR Account-Run the GR/Ir Automatic Clearing
4. Foreign Currency Open Item Revaluation-Revalue Open Items in
AR.AP
5. Maintain Exchange Rates
6. Run Balance Sheets Run Financial Statement Version
7. Reclassify Payables and Receivables if necessary
8. Run the Depreciation Calculation
9. Fiscal Year Change of Asset Accounting if it is year end
10. Run the Bank Reconciliation
11. Open Next Accounting Period
Controlling Module
Explain the organizational assignment in the controlling module?
Company codes are assigned to the controlling area. A controlling area
is assigned to the operating concern.
Controlling Area is the umbrella under which all controlling activities of
Cost Center Accounting, Product costing, Profitability Analysis and Profit
Center are stored.
Operating Concern is the highest node in Profitability Analysis
What is primary Cost element and secondary cost element?
Every Profit and Loss GL account that needs to be controlled has to be
defined as a cost element in SAP. Just as in FI General Ledger Accounts
exist, in Controlling we have Cost element.
Each FI General Ledger Account that is a Profit and Loss Account is also
created as a Cost element in SAP.
Primary Cost Elements are those which are created from FI general
Ledger Accounts and impact the financial accounts eg. Travelling
expenses, consumption account infact, any Profit and Loss GL account
Secondary Cost Elements are those which are created only in
controlling and does not affect the financials of the company. It is used
for internal reporting only. The postings to these accounts do not affect
the Profit or Loss of the company.
The following categories exist for secondary cost elements:
21 Internal Settlement:
Cost elements of this category is used to settle order costs to objects in
controlling such as cost centers, pa segments etc.
31 Order/Results Analysis:
Used to calculate WIP on the order/project
41 Overhead
Used to calculate indirect costs from cost centers to orders
42. Assessment
Used to calculate costs during assessment
43 Internal Activity Allocation
Used to allocate costs during internal activity allocation such as Machine
Labour etc
What are cost objects?
A cost object means a cost or a revenue collector wherein all the costs or
revenues are collected for a particular cost object. Examples of this could
be cost center, production order, internal order, projects, sales order
So whenever you look at any controlling function the basic thing you
need to ask yourself is What is the cost element(expense) I want to
control and what is the cost object ( i.e. either the production order, sales
order, internal order) I am using to control this cost element. Sounds
confusing read it again it is very simple
Controlling is all about knowing the cost element and the cost
object. Every time pose this question to yourself what is the cost
element what is the cost object.
At the end of the period all costs or revenues in the cost object are settled
to their respective receivers which could be a gl account, a cost center,
profitability analysis or asset.
It is very important that you understand this otherwise you would
struggle to understand Controlling.
Cost Center Accounting:
How is cost center accounting related to profit center?
In the master data of the Cost Center there is a provision to enter the
profit center. This way all costs which flow to the cost center are also
captured in the profit center.
Cost centers are basically created to capture costs e.g. admin cost center,
canteen cost center etc
Profit centers are created to capture cost and revenue for a particular
plant, business unit or product line.
What is a cost element group?
Cost element group is nothing but a group of cost elements which help
one to track and control cost more effectively. You can make as many
number of cost element groups as you feel necessary by combining
various logical cost elements.
What is a cost center group?
In a similar line the cost center group is also a group of cost centers
which help one to track and control the cost of a department more
effectively. You can make as many number of cost centers as you feel
necessary by combining various logical cost centers
Infact you can use various combinations of cost center group with the
cost element group to track and control your costs per department or
across departments
What is the difference between Distribution and Assessment?
Distribution uses the original cost element for allocating cost to the
sender cost center. Thus on the receiving cost center we can see the
original cost element from the sender cost center. Distribution only
allocates primary cost.
Assessment uses assessment cost element No 43 defined above to
allocate cost. Thus various costs are summarized under a single
assessment cost element. In receiver cost center the original cost
breakup from sender is not available. Assessment allocates both primary
as well as secondary cost.
What are the other activities in Cost center?
If you have a manufacturing set up, entering of Activity prices per cost
center/activity type is an important exercise undertaken in Cost center
accounting.
What is an Activity Type?
Activity types classify the activities produced in the cost centers.
Examples of Activity Type could be Machine, Labour, Utilities
You want to calculate the activity price through system? What are
the requirements for that?
In the activity type master you need to select price indicator 1 Plan
price, automatically based on activity.
When activity price is calculated through system whether activity
price is shown as fixed or variable?
Normally when activity price is calculated through system it is shown as
fixed activity price since primary cost are planned as activity independent
costs.
What is required to be done if activity price is to be shown both
fixed and variable?
In this case you need to plan both activity independent cost which are
shown as fixed costs and activity dependent costs which are shown as
variable costs.
Is it possible to calculate the planned activity output through
system?
Yes. It is possible to calculate the planned activity output through
system by using Long term Planning process in PP module.
Explain the process of calculating the planned activity output
through Long term planning?
In Long term planning process the planned production quantities are
entered for the planning year in a particular scenario. The Long term
planning is executed for the scenario. This generates the planned activity
requirements taking the activity quantities from the routing and
multiplying with the planned production.
The activity requirements are then transferred to the controlling module
as scheduled activity quantities. Thereafter you execute a plan activity
reconciliation which will reconcile the schedule activity and the activity
you have planned manually. The reconciliation program updates the
scheduled activity quantity as the planned activity in the controlling
module.
You want to revalue the production orders using actual activity
prices. Is there any configuration setting?
Yes. There is a configuration setting to be done.
Where is the configuration setting to be done for carrying out
revaluation of planned activity prices in various cost objects?
The configuration setting is to be done in the cost center accounting
version maintenance for fiscal year. This has to be maintained for version
0. You need to select revalue option either using own business
transaction or original business transaction.
At month end you calculate actual activity prices in the system.
You want to revalue the production orders with this actual activity
prices. What are the options available in the system for revaluation?
The options available are as follows:-
You can revalue the transactions using periodic price, average price or
cumulative price.
Further you can revalue the various cost objects as follows:-
Own business transaction Differential entries are posted
Original business transaction The original business transaction is
changed.
Internal orders
What is the purpose of defining Internal orders.?
An example would help us understand this much better.
Lets say in an organization there are various events such as trade fairs,
training seminars, which occur during the year. Now lets assume for a
second that these Trade fairs are organized by the Marketing cost center
of the organization. Therefore in this case marketing cost center is
responsible for all the trade fairs costs. All these trade fairs costs are
posted to the marketing cost centers. Now if the management wants an
analysis of the cost incurred for each of the trade fair organized by
the marketing cost center how would the marketing manager get
this piece of information across to them? The cost center report
would not give this piece of info
Now this is where Internal Order steps in .If you go through all cost
center reports this information is not readily available since all the costs
are posted to the cost center.
SAP, therefore provides the facility of using internal orders which comes
in real handy in such situations. In the above scenario the controlling
department would then need to create an internal order for each of the
trade fair organized. The cost incurred for each of the trade fair will be
posted to the internal orders during the month. At the month end, these
costs which are collected in the internal order will be settled from these
orders to the marketing cost center. Thus the controlling person is now
in a position to analyze the cost for each of the trade fair separately.
Thus internal order is used to monitor costs for short term events,
activities. It helps in providing more information than that is provided on
the cost centers. It can be widely used for various purposes .
How can you default certain items while creation of internal order
master data?
You can do so by creating a model order and then update the fields
which you want to default in this model order. Finally attach this model
order in the internal order type in the field reference order.
Once the above is done whenever you create an internal order for this
order type the field entries will get copied from the model order.
What is the configuration setting for the release of the internal
order immediately after creation?
You have to check the release immediately check box in the
internal order type.
Product Costing
What are the important Terminologies in Product Costing?:
Results Analysis Key This key determines how the Work in Progress is
calculated
Cost Components - The break up of the costs which get reflected in
the product costing eg. Material Cost, Labour Cost, Overhead etc
Costing Sheets - This is used to calculate the overhead in
Controlling
Costing Variant - For All manufactured products the price control
recommended is Standard Price. To come up with this standard price for
the finished good material this material has to be costed. This is done
using Costing Variant. Further questions down below will explain this
concept better.
What are the configuration settings maintained in the costing
variant?
Costing variant forms the link between the application and Customizing,
since all cost estimates are carried out and saved with reference to a
costing variant. The costing variant contains all the control parameters
for costing.
The configuration parameters are maintained for costing type, valuation
variants, date control, and quantity structure control.
In costing type we specify which field in the material master should be
updated.
In valuation variant we specify the following
a) the sequence or order the system should go about accessing
prices for the material master (planned price, standard price,
moving average price etc).
b) It also contains which price should be considered for activity price
calculation and .
c) How the system should select BOM and routing.
How does SAP go about costing a Product having multiple Bill of
materials within it?
SAP first costs the lowest level product, arrives at the cost and then goes
and cost the next highest level and finally arrives at the cost of the final
product.
What does the concept of cost roll up mean in product costing
context?
The purpose of the cost roll up is to include the cost of goods
manufactured of all materials in a multilevel production structure at the
topmost level of the BOM(Bill of Material)
The costs are rolled up automatically using the costing levels.
1) The system first calculates the costs for the materials with the
lowest costing level and assigns them to cost components.
2) The materials in the next highest costing level (such as semifinished
materials) are then costed. The costs for the materials
costed first are rolled up and become part of the material costs of
the next highest level.
What is a settlement profile and why is it needed?
All the costs or revenues which are collected in the Production order or
Sales order for example have to be settled to a receiver at the end of the
period. This receiver could be a Gl account, a cost center, profitability
analysis or asset. Also read the question What is a cost object in the
section Controlling.
In order to settle the costs of the production order or sales order a
settlement profile is needed.
In a settlement profile you define a range of control parameters for
settlement. You must define the settlement profile before you can enter a
settlement rule for a sender.
The Settlement Profile is maintained in the Order Type and defaults
during creating of order.
Settlement profile includes:-
1) the retention period for the settlement documents.
2) Valid receivers GL account, cost center, order, WBS element, fixed
asset, material, profitability segment, sales order, cost objects, order
items, business process
3) Document type is also attached here
4) Allocation structure and PA transfer structure is also attached to the
settlement profile e.g. A1
The settlement profile created is then attached to the order type.
What is Transfer or Allocation structure?
The transfer structure is what helps in settling the cost from one cost
object to the receiver. It is maintained in the Settlement profile defined
above.
The Transfer structure has 2 parts:
a) Source of cost elements you want to settle
b) Target receiver whether it is a Profitability segment or fixed asset or
cost center
So basically for settling the costs of a cost object you need
to define the Transfer structure where you mention what
are the costs you want to settle and the target receiver for
that.
This information you fit it in the settlement profile which
contains various other parameters and this settlement
profile is defaulted in the Order type. So every time a
order is executed the relevant settlement rule is stored
and at the month end by running the transaction of the
settlement of orders all the cost is passed on to the
receiver
So to put in simple terms:
a) You define your cost object which could be a
production order a sales order for eg
b) You collect costs or revenues for it
c) You determine where you want to pass these costs or
revenues to for eg if the sales order is the cost object
all the costs or revenues of a sales order could be
passed to Profitability Analysis
What do you mean by primary cost compon -
Windows Phone - Cannot bind custom user controll with listview item source property
It is Windows Phone 8.1 (runtime)
I have some problem of binding custom user controll with list of data. I'll make it simple as I can.
My problem is that somehow if I use DataBind {Binding Something} inside my custom controll it will not work.
I need to transfer binded data (string) to custom controll.
It is strange that if I do not use DataBind, it will work normally. Eg MyCustomControllParameter = "some string" (in my example 'BindingTextValue' property)
Does anyone Know how to bind custom user controll with inside ListView with DataTemplate.
Assume this:
XAML Test-Main page
<Grid Background="Black"> <ListView x:Name="TestList" Background="#FFEAEAEA"> <ListView.ItemTemplate> <DataTemplate> <Grid Background="#FF727272"> <local:TextBoxS BindingTextValue="{Binding Tag, FallbackValue='aSource'}" local:TextBoxS> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid>
XAML Test-Main page c#
public sealed partial class MainPage : Page { List<TTag> tags = new List<TTag>(); public MainPage() { this.InitializeComponent(); this.NavigationCacheMode = NavigationCacheMode.Required; } public class TTag { public string Tag { get; set; } } private void InitializeAppData() { TTag tag = new TTag() { Tag = "hello world" }; tags.Add(tag); tags.Add(tag); tags.Add(tag); TestList.ItemsSource = tags; } protected override void OnNavigatedTo(NavigationEventArgs e) { InitializeAppData(); } }
User Control XAML:
<UserControl x:Class="CustomControllTest.TextBoxS" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:CustomControllTest" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <Grid x:Name="LayoutRoot" Background="#FF4F4F4F" > <RichTextBlock x:Name="MyTestBlock"> </RichTextBlock> </Grid></UserControl>
User Control c#
public TextBoxS() { this.InitializeComponent(); LayoutRoot.DataContext = this; } public static readonly DependencyProperty BindingTextValueProperty = DependencyProperty.Register( "BindingTextValue", typeof(string), typeof(TextBoxS), new PropertyMetadata(default(string))); public string BindingTextValue { get { return GetValue(BindingTextValueProperty) as string; } set { SetValue(BindingTextValueProperty, value); //This method adds some custom logic into RichTextBlock, pointed correctly SetupBox(value); } }
Thanks for helping ;)If you use a built-in control rather than your custom control, does binding work? You should verify that first.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
I'm endlessly frustrated with iTunes Cloud syncing, something that was supposed to make lenjoying my music easier. I routinely find that, though itunes and podcasts have been split, iTunes arbitrairily removes music files or in progress podcast in favor of 'new' podcasts. The settings are just not fine-grained enough to allow true user control and so we are instead subjected to 'Apple knows best' protocols. I understand and appreciate the level of exacting control Apple excercises over their ecosystem, however, more and more often I see them tightening control over things that should be user control while dropping the ball on aesthetic desisions made in producing their own software (see the hideous pull down tab for iTunes to access Podcast, TV shows, Music, etc.
I would like to see features like those in Mail and the Podcasting apps implemented in iTunes afor the management of content on mobile devices, for instance it would be great to swipe to delete files that you know longer want on your device, at both the album and song level. Another issues is the new pushiness of iRadio and iTunes Store, the app now seems to default to the iRadio page (versus the last page Albums, songs, etc. that the user was navigating, or in the instance of the iTunes Store push, if I doon't have all the tracks of an album i own on my mobile device 'complete my album' takes you to iTunes store rather than showing the 'cloud' download icon next to missing tracks. These are the tactics I expect from Google, not Apple (pushing commerce over quality user experience).
Fix these things Apple, please. -
How do I allow two account users to access pSE6 on their own accounts?
how do I set up PSE 6 to allow two account users on one computer to access pSE6 on their own accounts?
They can't share a catalog stored on the main hard drive, if that's what you want to do, but to just use the program separately, log in to the other user account, open PSE, and if PSE wants to register itself again, let it.
-
How do I share my playlists with other accounts/users on my Mac?
How do I share my playlists with other accounts/users on my Mac?
Hello,
I have a similar question, which I posted 8perhaps inappropriately) in the Home Sharing discussion: https://discussions.apple.com/message/17405588#17405588
The problem I have is that it simply doesn't work and the question I have is how you do not move the the iTunes Library file or the iTunes Library.xml file when they are actually in the folder you are told by the article to move in the first place. -
How to show the text in a textBlock in my user control?
in my UC i have a textBlock . the text that i put through the xaml or the text that i put through the C# doesn't show:
<local1:Cell x:Class="UserControls.HintCell"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local1="clr-namespace:UserControls"
mc:Ignorable="d" d:DesignHeight="130" d:DesignWidth="130" Loaded="UserControl_Loaded" >
<Grid x:Name="hintGrid" MouseLeave="hintGrid_MouseLeave">
<Grid x:Name="topTriangle" x:FieldModifier="public">
<Polygon Name="triangle_top" Points="0,0 130,0, 130,130" Stroke="Black" Fill="Red" MouseEnter="triangle_MouseEnter" MouseLeave="triangle_MouseLeave" />
<TextBlock Name="text_top" Margin="82,20,20,76" FontSize="25" Text="55" Foreground="Black" x:FieldModifier="public"/>
</Grid>
<Grid x:Name="bottomTriangle" x:FieldModifier="public">
<Polygon Name="triangle_bottom" Points="0,0 130,130, 0,130" Stroke="Black" Fill="Red" MouseEnter="triangle_MouseEnter" MouseLeave="triangle_MouseLeave"/>
<TextBlock Name="text_bottom" Margin="15,80,77,16" FontSize="25" Text="88" x:FieldModifier="public" />
</Grid>
</Grid>
</local1:Cell>
and the designer:
but, when debugging the text doesn't show:
i was told maybe to define the user control or the text as a dependency property, i don't know how to do it and maybe someone has a better solution?
thanks.thanks. but i didn't really understand, maybe you can give an example with my parameters?
The text dependency property is called LabelFor.
It's this bit.
public string LabelFor
get { return (string)GetValue(LabelForProperty); }
set { SetValue(LabelForProperty, value); }
public static readonly DependencyProperty LabelForProperty = DependencyProperty.RegisterAttached(
"LabelFor",
typeof(string),
typeof(EditRow));
You would substitute the name of your usercontrol for EditRow when you cut and paste that into it.
There is a style which defines what EditRow looks like by giving it a template.
<Style TargetType="{x:Type local:EditRow}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type local:EditRow}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="{Binding RelativeSource={
RelativeSource FindAncestor,
AncestorType=local:EditRow},
Path=LabelWidth, TargetNullValue=2*}"/>
<ColumnDefinition Width="{Binding RelativeSource={
RelativeSource FindAncestor,
AncestorType=local:EditRow},
Path=PropertyWidth, TargetNullValue=3*}"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding RelativeSource={
RelativeSource FindAncestor,
AncestorType=local:EditRow},
Path=LabelFor}"
HorizontalAlignment="Right"
Margin="0,4,0,0"/>
<Border Margin="6,2,6,2" Padding="0,2,0,2" Grid.Column="1" >
<ContentPresenter HorizontalAlignment="Stretch"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
That uses binding to give the textblock text property the value of LabelFor.
You could instead put your markup directly in your usercontrol and bind it like that.
This bit would then pretty much cut and paste in
<TextBlock Text="{Binding RelativeSource={
RelativeSource FindAncestor,
AncestorType=local:EditRow},
Path=LabelFor}"
You would need two of course if you have two textblocks.
ps
People have suggested dependency property to you because this is how properties on wpf controls work.
If you instead chose to use properties then you lose the ability to set value by style, animation, binding etc Your usercontrol will not behave like a wpf control. This might not really concern you if you're just working on your own on an app.
It would if you were working in a team though.
Personally, I would reject code which exposed regular properties from a usercontrol at walk through.
Hope that helps.
Recent Technet articles:
Property List Editing;
Dynamic XAML -
How to Add a User Control to a SharePoint 2013 Visual Web Part ?
Hi,
1.I have created SharePoint 2013 Farm Solution through VS 2012.
2.Added visual Web part
3.Created a User control (Farm Solution ) and added some Control From tool Box.
4.Drag and drop user control from solution explorer to visual web part.
so its Register tag and with prefix tag user controls automatically added on visual web part source. when i try to build solution it throws Exception:
Exception :The name 'InitializeControl' does not exist in the current context.
Please Provide solution after try/or proper workaround.
Thanks,
SiddheshwarSite name=http://sitename:22222/
Visual Web part:
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Src="~/_controltemplates/15/SP2013Controls/SPControls.ascx" TagPrefix="uc1" TagName="SPControls" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SPWebpart.ascx.cs" Inherits="SP2013Controls.SPWebpart.SPWebpart" %>
<uc1:SPControls runat="server" id="SPControls" />
User Control Code:
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SPControls.ascx.cs" Inherits="SP2013Controls.ControlTemplates.SP2013Controls.SPControls" %>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button1" runat="server" Text="Button" />
Deployement Location:{SharePointRoot}\Template\ControlTemplates\SP2013Controls\
After User controls added on webpart .g.cs file getting blank.
After 1st Build:
'InitializeControl' does not exist in the current context
The file '/_controltemplates/15/SP2013Controls/SPControls.ascx' does not exist.
after 2nd Build Try:
'InitializeControl' does not exist in the current context -
Is there any user control on the iphone anymore?
Ok so I hate the new OS 7 but before you write me off as just complaining please read further:
I have a very hard time reading the phone because of the white backgrounds on everything , I understand some like this. Is there any way to change this?
I also can't read my text very well because of the white on green text bubbles ... Any way to change this?
Can someone please tell me what apple really did to enhance the user experience? And what is an important feature they have added to the new OS that really stands out over the 6 aside from the horrible layout change? I read what they said the new features were and I didn't see anything that wasn't just a cheap trick. Maybe someone can show me something that will revive some bit of like into the phone again?
But back to the settings change. I went to accessibility and upped the contrast and bolt text but that only helps slightly . I inverted the colors and thought awesome but then realized it inverts everything so that won't work. I could deal with black back grounds on everything .
Any help please ? I'm not made of money so I'm stuck with the 5 for a few weeks at least. Every time I use the phone it angers me so it's not a very pleasant experience !!!
Some people really have issues with the eyes and I just want to have a little control over the look of the phone. Really not digging the way it's swiped to delete now and the way they have the search and control panel I can't get a good swipe on those to save my life. Hate is a good word right now.Those minimal changes do nothing that I asked. I'm not sure why you linked that. I have read the very simplistic, almost null, options of the ios7 . I appreciate the attempt to help. It seems that the answer is NO, there is no user control over the new layout.
My ultimate answer to gaining user control over their phone is to sell the iPhone and buy a galaxy .
<Edited By Host> -
If I add a new account user,can I sync my iPhone and iPad to that account without effecting the other user? I'm trying to sync my iPhone and iPad to a new account on a computer I am now sharing after my computer died.
Don't create a new iTunes account.
Just update everything with new info/change password/ security questions.
-> https://appleid.apple.com/ -
I have a WPF C# .NET 4.0. solution in VS2010 on Windows 7. It contains a WPF hosting project and a WindowsFormsControl project where I've created a UserControl that should display an Acrobat CAcroAVDoc object from the Interop.Acrobat SDK com object (latest).
The WPF Project contains this code to open a file which actually creates a new WindowsFormsUserControl (PDFViewerControl) that in turns opens the file, the UserControl is then added to a WindowsFormHost object in WPF main form.
private void OpenFile(FileItem file)
if (file.Extension.ToLower() == ".pdf")
System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
WindowsFormsControls.PDFViewerControl viewer = new WindowsFormsControls.PDFViewerControl();
viewer.Show();
Boolean result = viewer.OpenFile(file.Path);
if (!result)
MessageBox.Show("Error opening document");
host.Child = viewer;
this.pdfViewWpf.Children.Add(host);
viewer.Show();
The PDFViewerControl OpenFile method contains this code and returns True when opening a PDF document via OpenInWindowEx.
public Boolean OpenFile(String filename)
CAcroAVDoc doc = Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.AVDoc")) as CAcroAVDoc;
bool res = doc.OpenInWindowEx(filename, this.Handle.ToInt32(), 2, 1, 0, (short)Acrobat.PDViewMode.PDUseBookmarks, (short)Acrobat.AVZoomType.AVZoomFitWidth, 0, 0, 0);
return res;
Unfortunately though the PDF cannot be seen in WPF Host object. If I place a LABEL on the windows forms user control, the label will show in WPF. It seems the OpenInWindowEx is not loading a PDF object onto the user control. Perhaps I need a resize method and event?
I cannot locate any object on the PDFViewerControl user control that resembles a PDF document through debug.
Any help/pointers much appreciated.
this.Handle.ToInt32() does have a seemingly valid value (ie window handle).
this.pdfViewWpf is a XAML <Grid>
DominicOn further testing, I found the above code does actually work, BUT the HOST or the VIEWER or the DOC object disappear after the routine is finished. I placed a label on the UserControl and noticed a flicker on the crseen draw which I capture on camtasia the result can be viewed here. http://www.screencast.com/t/Z49gUTb3Xt
Given the label is still around after the file open routine completes suggests the HOST and VIEWER objects are still exposed, just the DOC object resizes to zero height and width or just plain gone.
Without the Label, same result.
Any thoughts on how to retain the display of the CAcroAVDoc object would be much appreciated. -
Change chart of accounts in Controlling area
Hi all,
How can I change the chart of accounts in controlling area?
I've already changed chart of accouns in FA CoCode Global data, and I have to change chart of accounts in controlling area; In OKKP chart of accounts is in display modeI get the message; where I have to assign Chart of acc to Controling area in OKKP is not possible
Differing charts of accounts: INT - CAXX
Message no. KT299
Diagnosis
The system makes consistency checks during assignment of a company code to a controlling area as part of assignment control.
The same checks take place if assignments already exist and you change the basic data in the controlling area, or if you define the controlling area and company code as a 1:1 structure.
If the check finds an error, the system cannot execute the function ("Assign" or"Change basic data"). If you do not maintain the required data for the consistency check (such as currency, chart of accounts, or fiscal year variant in the company code), this also results in an error message.
Chart of accounts INT, controlling area XX01, does not agree with chart of accounts CAXX, company code XX01.
System Response
Processing is terminated.
Procedure
Ensure that the same chart of accounts is assigned to controlling area and company code. -
User Control screwed up but unable to click on icons with Mouse on OSX 10.8
I dont know what has happened, but today user control with mouse and trackpad on my macbookpro is screwed up.
I rebooted twice, it made no difference.
The trackpad moves the cursor okay, but I cannot get tapping or clicking the trackpad have any effect.
With my mouse I can access menubars, but the left and right buttons are swapped round, or it might be that the right button is acting as both left and right button.
I then went to the System Preferences screen to try and fix the mouse preferences, but clicking on any icon with left or right button has no effect.
I then found no icons of that type seem to work, I thought Id try and just update OSX with any updates available hoping that would fix anything that has got corrupted. But although I can get to the Appstore Update screen and there are two updates available I cannot get the updates installed. Clicking with the left button does nothing, clicking with right button changes the colour of the button slightly so the bottom half is in gray but nothing else happens.
As there is no menu option to install the updates I thought I tried and install the updates using the keyboard but I cannot work out how to do this.
Does this sound like a hardware or software problem
Help Please !Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
Connect Wi Fi to TV with Satellite P305-S8832
I have Satellite P305-S8832 which is still running strong, running Windows 7. I want to connect it wirelessly to an older large screen Samsung TV (not a Smart TV) which has an additional HDMI input that's not being used. My goal is to stream video,
-
when i try to start up iphoto it just keeps loading and never starts up. Apple sent me a message saying that their is a problem with iphoto . What can i do
-
Hello experts, We would like to have sales BOM (single level) in CRM internet sales. What are the limitations in CRM if we use a sales BOM. When we create a order with reference to an existing sales order in ERP, how does the system behave? Also when
-
System password not regognised with install of Tiger update on mac restart
Hi all, I have just installed the latest Tiger update and on the machine restarting after installation to complete the install process, a message comes up asking for the password so that the Tiger update can access the system. When I type in my passw
-
Running software on a Ultra 10 froma Ultra 60
I have a piece of software using C++ and a GUI frontend it will not work correctly on the Ultra 10, remotely it does but if you use the machine it appears to hang i think this may be a graphics incompatibility, the /var/adm/messages shows Nov 18 16:3