Validations in GL Master Records
Hi Gurus,
My client wishes to have checks in creations of GL Master Records e.g. for creation of an account on putting the account group the system will check if the radio button "P and L Account or Balance Sheet Account", is correct or not, etc. The purpose of this is to create the GL accounts correctly without any errors. Can somebody help me in this please?
Hi,
Account groups are created for our convenience. The Account group controls the company code segment of GL account. It has not role in the Chart of Account Segment of GL account. And it controls the no range of GL accounts. The naming convention of an Account Group is freely definable. You can name a particular Account group as "Fixed Assets" and still you can define the GL account while creating under this as P&L account. It is the due deligence of the user who is creating the GL account whether it falls under BS item or P&L item. I do not think any sort of link/validation is possible between account group and BS/P&L checks
Similar Messages
-
Asset master record validation rule
Dear All,
Could you tell me the way, how i can write a validation/substitution rule in the Asset master record. I need to make sure the below steps shoud be the same:
A. Cost center in the Aseet master record.
B. Responsible cost center in the asset master record.
C. Responsible cost center in the WBS element of the same asset.
The above three should be the same. User should not be allowed to change, if tries to change error shoud be thrown.
Regards,
Suresh Patipati.OACV Define Validation
OACS Define Substitution
The Respond cost center is copied from the WBS to Asset. Set this field on display int he asset.
Financial Accounting / Asset Accounting / Master Data / Define Screen Layout for Asset Master Data / Define Screen Layout for Asset Master Data
When this give problems with the copy rule from PS you can set-up authorization groups
Financial Accounting / Asset Accounting / Preparing for Production Startup / Authorization Management / Process Asset Views -
Can validation check can be set for vendor master record .
Hi Experts ,
User wants to remove two existing payment methods,instead of removing i think to set validation for the vendor master record .
can validation can be set for vendor master record ?
PLease suggest me with advice.
Thanks
PardhaHi,
To my knowledge, validation can be set up for accounting document.
Though a work around, create a validation such that
Make the user enter the Payment method to be mandatorily entered by the user.
Also, restrict the unwanted payments as well in the same validation.
In case of APP also, the payment method in the document will take precedence.
Regards,
Sridevi -
FK01: Vendor Master Record Validation Table is not maintained
Hi Experts,
Appreciate your help on this matter: I have created a new Vendor Account Group and tried to used it. However, upon saving I encountered problem: error message Vendor Master Record Validation Table is not maintained. Do I missed some configuration?
Thank you very much!Hi,
STEP 3 : In Financial accounting > A/R A/P > Business Transactions > Outgoing payments > Manual Outgoing payments >
Define Tolerance (Vendors)
STEP 4 : Create a GL A/c Creditors in FS00 as a balance sheet a/c and in control tab give reconciliation type as Vendors
and Field Status Group G067. Assign this account in company code data in FK02.
Regards,
Sadashivan -
Foreign key validation while creating master/detail record in document mode
I am creating master/detail records in the document mode. And I am generating the master primary key in the create() method of the master Entity Object. Now I valdate the foreign key in the detail Entity Object's validateEntity() method by doing a query to the master table through some View Object.
But since the master record has not yet been posted (since it hasn't been committed) to the database, this query does not return any record and the validation fails in detail object.
And thus the create fails.
Please let me know if this is the right approach for doing this. If so where I am going wrong? Else please let me know if there are any better approach to do this.
KunalKunal:
Use a code snippet like the following:
--- Assuming you're in the detail EO's create method ---
oracle.jbo.server.EntityDefImpl eDef = oracle.jbo.server.EntityDefImpl.findDefObject(<package-qualified-name-of-the-master-Entity-Object>);
oracle.jbo.Row masterRow = eDef.findByPrimaryKey(this.getDBTransaction(), <foreign-key>);
If the row does not exist, masterRow will be null.
findByPrimaryKey first checks the entity cache (which will include your new master row(s)) and then go out to database (if it's not in cache).
Thanks.
Sung -
Validation or somethin else (for master records)
Hi everyone, I just want to set some rules in vendorsu2019 master records, and I donu2019t how I can do this with some validation or with something else. I want when sap user creates vendor master records, if the bank country key (field u2013 BANKS) is = u201CMKu201D, then the field Bank account number (field u2013 BANKN), must be 12 characters or the vendor master records canu2019t be saved. So please if is possible, then some one to send me detail (because i am new on this) example how it can be done.
Moderator: Please, search SDNHello,
You can control this using country specific checks in view V_005_B.
Use transaction code SM30 to maintain the settings here.
Also you can access the setting with below patch.
IMG > SAP NetWeaver > General settings > Set countries > Set Country Specific Checks.
Thanks!
Raju -
Close period for material Master record error
my current period is 07 2010.
I want to close period 07 2010, and make new posting to period 08 2010.
but when i do the posting, system show error "Posting only possible in periods 2010/07 and 2010/06 in company code C999"
PS: C999 is the company code that contains the plant P999
And when i try to close the current period of material Master record by MMPV, system show below information :
"L O G
Mode: Check and close period
Client: 000
Period entered (month/year): 07 2010
Incorrect period in control rec. of CoCd C999; no conversion The current period (month/year) of the control record is 07 2010
Period closing complete; log issued.
E N D"
and my current OB52 setting is below:
Please help to supply some suggestion.
P999 + 1 2010 12 2010 13 2010 16 2010
P999 A ZZZZZZZZZZ 1 2010 12 2010 13 2010 16 2010
P999 D ZZZZZZZZZZ 1 2010 12 2010 13 2010 16 2010
P999 K ZZZZZZZZZZ 1 2010 12 2010 13 2010 16 2010
P999 M ZZZZZZZZZZ 1 2000 12 2010 13 2000 16 2010
P999 S ZZZZZZZZZZ 1 2010 12 2010 13 2010 16 2010
V001 + 1 2000 12 2010 13 2000 16 2010Hi,
Check in T.code: MMRV and see which period is open for ur Co.Code and back posting is allowed or not. If you are sure to open new period now of new posting to period 08, then
use t.code: MMPV ,
enter
Company code C999
Period to open 08
Fiscal Year 2010
Execute
( system will close the period last period 07 and automatically system open the new one 08)
Now try ur transaction.
if any problem, then check in FI Side:
Use t.code: OB52 and open the 08,2010 period in Account Types A, K, D,M, S and specially Account Type u201C+u201D which stands for valid for all accounts type and save. Better consult FICO consultant for OB52 step.
Regards,
Biju K -
CostCenter in Asset Master Record
Hello Gurus,
Our client is using Location field in the asset master record for property tax filing.
So it is required field in asset master record.This location field is same as cost center field,means the data is entered in the cost center has to be entered in Location field also for reporting purpose.So everytime when a new cost center is defined there is a need to define new location also from FA side.My question is ,Is there anyway that when a cost center is created that this can get added into location table? Or, can this table be updated without it being configuration?
Please advise me.All your thoughts are greatly appreciated.
Thanks,
Geeta.hi,
is this field TXJCD or STORT from table ANLZ ?
you must put a validation or modification in exit COOMKS02 or
COOMKS03 (tcode SMOD)
-> from here you can create an entry in cu-table T499S resp. TTXJ
regards Andreas
Message was edited by:
Andreas Mann -
Missing Purchasing Organization on Vendor master record
We have a vendor(s) that was created without a purchasing organization.
Is there a way to update the Purchasing Organization on a vendor master record if the purchasing organization field was left blank when the vendor was orignally created?
What are the ramifications of creating some vendors with a purchasing organization and others without?Will,
You will need to extend the vendor to the purchasing org. using MK01 or XK01. The vendor master can be maintained centrally (XK01) or purchasing data (MK01) and accounting data (FK01) can be maintained independently. That is the reason SAP has provided 3 separate transactions.
If you need to use the vendor for purchasing functions (eg. create a PO), then the prerequiste is that you will need to maintain the vendor for all valid purchasing organizations. There are no other ramifications as such.
Hope this helps.
H Narayan -
Infotype to link Personnel Number with Vendor Master Record
Hi All,
pls help me what infotype to link Personnel Number with Vendor Master Record in AP module.
Customer require when Create Employee then system automatic gernerate Vendor Master.
pls help us.
ThanksHi,
PRAA works absolutely fine. I have external number range for vendors.
There is an option so that you can create HR accounts in vendor accounts
Path:Accounting> Financial accounting>Travel
management>Personal-Related Master Data> Create Vendors (tr.code PRAA)
Look at this description:
From the HR master data, this program creates a batch input session for
maintaining person-specific vendor master records.
The report can process vendor master records as follows:
o Initial set up (create/add missing company code segment)
o Uupdate (change completely according to vendor and HR reference)
o Change (only according to HR master data, for example, name
Block
The following infotypes from HR master data are taken into account for
the key date specified:
o Actions (Infotype 0000)
o Organizational Assignment (Infotype 0001)
o Personal Data (Infotype 0002)
o Permanent Residence (Infotype 0006 Subtype 1)
o Bank Details (Infotype 0009 Subtype 0 or 2)
All other required data is taken from a reference vendor that you can
specify as a parameter when you start the program. Note that for the
reference vendor, reference data must exist for all company codes that
are applicable according to HR master data. Since program RPRAPA00 cannot
assign vendor master record numbers externally when creating
vendor master records, you must be sure that the reference vendor is
assigned to an account group that requires internal number assignment.
If no house bank is specified in the reference vendor, this is
determined via feature TRVHB (Implementation guide for 'Travel Expenses'
-> Transfer to Data Medium Exchange -> Set up Feature for Determining
House Bank according to the employee's organizational situation.
The link between the HR employee's master record and the corresponding
vendor master record is set up by entering the personnel number in the
company code segment of the vendor master record.
General program flow
Program RPRAPA00 creates a sequential work file in the specified
directory. Ensure that you use a global directory that can be accessed
by all application servers; a directory is automatically proposed. The
work file is later transformed into a batch input session by the
subsequent program RFBIKR00, which is started automatically.
In test run mode this program delivers information messages which
document the creation of a batch input session. Since each information
message must be confirmed manually, the test run should only be
performed for a small number of personnel numbers.
In productive run mode, however, the program RFBIKR00 is automatically
started as a job; the information mentioned above is stored in the job
log in this case.
Initial setup of vendor master records
Corresponding vendor master records are created from the infotypes
listed above and the non-HR-specific information from the reference
vendor. During the process, the personnel number is stored in the
company code segment of the vendor master record. Persons who already
have a vendor master record with corresponding personnel number are
rejected in this run.
If a vendor master record already exists for a personnel number, but
without a company code segment for the company code in which the
employee exists at the key date entered, the program adds the required
company code segment to the vendor master record. You must however
activate the checkbox "Create new company code segment for existing
vendor master records".
The HR master data used is the info type record valid on the key date
entered.
Update of vendor master records
The corresponding vendor master records are updated from the infotypes
listed above and the non-HR-specific information from the reference
vendor. Persons who already have a vendor master record with
corresponding personnel number are rejected in this run. The system uses
HR master data from the infotype records valid for the key date.
Change vendor master records according to HR master data
All HR-specific data is changed in the vendor master records for
personnel numbers that have changes since the date recorded under '...
with last change since'. The system uses HR master data again from the
infotype records valid for the key date specified.
Block vendor master records
All vendor master records which correspond with the selected personnel
numbers are blocked for posting.
User exits
For the following situations, two empty routines are supplied in the
includes RPRAPAEX and RPRAPAEX&H5F001 which you can adapt to your
requirements.
o The employee's last name is entered in the sort field in the vendor
master record. If you do not want this to happen, you can program
the situation you want in the user exit routine
'set&H5Fmc&H5Ffield&H5Fby&H5Fuser'.
o If the address editing in the vendor master record does not suit
your requirements, it can also be changed. For this purpose you have
the user exit routine 'set&H5Faddress&H5Fby&H5Fuser'.
o If you want to assign numbers to the vendor master records to be
created via external number assignment (for example, vendor master
record number &H3D personnel number), you can adjust the user exit
routing 'SET&H5FVENDOR&H5FNO&H5FBY&H5FUSER' (in include RPRAPAEX&H5F00). Note
that
the account group of the reference vendor must also have external
number assignment.
Note that in each case a thorough knowledge of the programming
language
ABAP/4 is necessary.
Set up vendor master records in a separate system
The distribution of personnel master data from a HR system to an FI
system is a prerequisite for creating, changing, and blocking vendor
master records.
In the section Master Data Distribution (link to separate HR unit) of
the ALE IMG, an explanation is given regarding the way in which the
FI
System is supplied with the relevant employee data from the HR System
In the FI System, report RPRAPA00 described here can be used to
create,
change, and block vendor master records.
Other wise try with VPE1 t.code.
Regards
Devi -
well, i m new in sap..may i know what is customer hirarchy, how does it work...and how to configure it in the system?
Hi,
CUSTOMER HIERARCHY:
Customer hierarchies are available in Sales and Distribution, so that you can create flexible hierarchies to reflect the structure of customer organizations. If your customer base includes multi-level buying groups, cooperatives, or chains of retail outlets, for example, you can create hierarchies to reflect the structure of these groups. Use customer hierarchies during sales order processing and billing for determining pricing and running statistics.
A customer hierarchy consists of nodes.
To create a customer hierarchy:
1. Create master records for each node.
2. Assign the nodes to each other.
3. Assign the customer master records to the relevant nodes.
Hierarchy nodes are only valid for a certain period of time. They may also be moved. If a node is moved, the system automatically reassigns all related nodes and customer master records.
With customer hierarchies, you can assign price or rebate agreements to a higher level node. The agreements are then valid for customers at all subordinate levels to this node. You can create pricing condition records for each node indicated as relevant for pricing. If one or more nodes in the hierarchy path of a sales order contain pricing information, the system takes them into account automatically during pricing.
'How to check'
All the customizing is in SD/Master Data/Business Partner/Customers/Customers hierarchy
All the customizing is in SD/Master Data/Business Partner/Customers/Customers hierarchy
1) Define hierarchy type: just put and ID and a name to the new hierarchy.
2) Set partner determination: if you want to user the hierarchy in price determination, then, in the orders, at the header level, you have to have a Partner Procedure with a partner function for each level. In the partner procedure, in each partner function you must indicate the source partner function. With this information, in the order, you obtain the business partner for each partner function.
3) Assign account groups: you indicate which accounts groups are allowed for being part or your hierarchy.
4) Assign sales areas: simple you indicate which sales areas are allowed in your hierarchy. (Here you can customize common sales areas, just for not having to build de hierarchy in all the different sales areas).
5) Assigning hierarchy type for pricing: you indicate which classes of documents uses hierarchy in pricing determination.
It is possible to maintain so called customer hierarchies. This might be useful when for example you create a condition discount for a customer that is part of such a hierarchy structure. All subnodes in the hierarchy below that customer, will thus receive the same discount.
Customer hierarchy setup, firstly decide the hierarchy type to be used.
The standard is type A.
You can also assign a partner function to the customer so that the higher level customer in the hierarchy is copied into a sales order as a partner function - but you don't need that right?
Next assign your customer account group to the hierarchy type. And enter the combinations that will be allowed for creating the hierarchy.
You want to assign a ship-to to a payer. So enter the ship to account group and enter the payer account group as the higher level.
You must also make an entry for permitted sales area assignments. So if you want to a hierarchy for customers in the same sales area then enter the sales area and enter the same one as the higher level sales area.
All these settings can be found in the IMG. Under SD - master data - business partners - customers - customer hierarchy
You use for example customer hierarchy when you have an company like Unilever and you agree both on a discount. Unilever does have different locations / businesses and you have to maintain the discount for all customers. If you use a customer hierarchy you can maintain the discount for the partner in the top of the hierarchy and in this way it will be valid for all customers in the hierarchy.
Please go through the following links,
http://help.sap.com/saphelp_46c/helpdata/en/dd/55f4d9545a11d1a7020000e829fd11/frameset.htm
http://www.sap-img.com/sap-sd/customizing-customer-hierarchy-in-sd.htm
Thanks,
Sree.Manam -
Comparing User Master Records in SAP ECC 6.0
Hi,
I have 2 questions,
1.We have an issue with user master records comparison. we have assigned a certain role to the user with validity till 15.11.2010. But user had authorizations related to this role till 21.11.2010. The profile got deleted on 21.11.2010 from user record instead of 15.11.2010.Further I noticed that there was fresh assignment for this role as on 18.11.2010 for another new user. whenever fresh assignment happens the user master record should happen automatically but it is not the case here ? what can be reason ?
2.By google I have found one report PFCG_TIME_DEPENDENCY which can be scheduled as a background job periodically for user masster records comparision. I just want to know will there be any adverse impact on system performance if we run such jobs periodically ?
Please help.
Thanks in advance.
Regards,
Syam sundara babu.vHi Nikhil,
1.We have an issue with user master records comparison. we have assigned a certain role to the user with validity till 15.11.2010. But user had authorizations related to this role till 21.11.2010. The profile got deleted on 21.11.2010 from user record instead of 15.11.2010.Further I noticed that there was fresh assignment for this role as on 18.11.2010 for another new user. whenever fresh assignment happens the user master record should happen automatically but it is not the case here ? what can be reason ?
This happens if the role is assigned twice and only 1 instance is removed.
2.By google I have found one report PFCG_TIME_DEPENDENCY which can be scheduled as a background job periodically for user masster records comparision. I just want to know will there be any adverse impact on system performance if we run such jobs periodically ?
The PFCG_TIME_DEPENDENCY job is required to perform the user master record comparison, so that these kind of inconsistencies will not occur. There will not be any system performance issues and it should be scheduled to run Dialy after 00:00 hours, so that the expired profiles will be deleted.
Alternatively, you can use PFUD transaction to create this job or to run the comparison once.
Hope this answers!!
Best Regards,
Raghu
Edited by: Raghu Boddu on Nov 24, 2010 9:06 PM -
Error: A Master Record for 412000/4400PM only exists in 2007
Hi Gurus,
I was using the timesheet (CAT2) and while plugging in the data, i got this message: A Master Record for 412000/4400PM only exists in 2007. When I clicked the log, the diagnosis is: you want to use cost center 412000 together with activity type 4400PM. For this combination, however only one master data record was created in fiscal year 2007. the record is defined in CCA during activity type planning.
Thanks in advance!
Paulextend activity type validity..ask help from FI/CO consultant
-
Update issue in the Master records & detail records
Hi
Good Day !
Senario :
I have Master - Details Form , Master Block - A, Detail Block - B
In Master Block i have 10 records, For Each records in the Master will have related records in Detail ,
Requirement :
I want to reset records (some colums) in Master & then its related detail records in detail Block,
After updating the first master record & its detail record the next Master Master reord & its detail records should be updated respectively...
Can any one help on his, Its very urgent...
Below is my sample code... Pls guide me... Thanks in Advance
DECLARE
num_total_records1 NUMBER;
num_loop_i1 NUMBER;
num_total_records2 NUMBER;
num_loop_i2 NUMBER;
BEGIN
GO_BLOCK ('A');
FIRST_RECORD;
LAST_RECORD;
num_total_records1 := TO_NUMBER (NAME_IN ('SYSTEM.CURSOR_RECORD'));
FIRST_RECORD;
FOR num_loop_i1 IN 1 .. num_total_records1
LOOP
UPDATE table_name_1
SET columnA = NULL
WHERE clause
NEXT_RECORD;
END LOOP;
GO_BLOCK ('B');
FIRST_RECORD;
LAST_RECORD;
num_total_records2 := TO_NUMBER (NAME_IN ('SYSTEM.CURSOR_RECORD'));
FIRST_RECORD;
FOR num_loop_i2 IN 1 .. num_total_records2
LOOP
UUPDATE table_name_2
SET columnA = NULL
WHERE clause
NEXT_RECORD;
END LOOP;
commit_form;
END;declare
ln_rownum number;
begin
go_block('TEST_MASTER1');
first_record;
if :TEST_MASTER1.master_id is null then
message('No records selected');
message('No records selected');
raise form_trigger_failure;
end if;
loop
ln_rownum := to_number(:SYSTEM.CURSOR_RECORD);
update test_master1
set master_name = master_name||'Master '||to_char(ln_rownum)||' Updated'
where master_id = :TEST_MASTER1.master_id;
go_block('TEST_DETAILS1');
first_record;
if :TEST_DETAILS1.detail_id is not null then
loop
update test_details1
set DETAIL_NAME_NAME = detail_name_name||'Master '||to_char(ln_rownum)||' Updated'
where detail_id = :TEST_DETAILS1.DETAIL_id;
if :system.last_record = 'TRUE' then
go_block('TEST_MASTER1');
go_record(ln_rownum);
exit;
end if;
next_record;
end loop;
else
go_block('TEST_MASTER1');
go_record(ln_rownum);
end if;
exit when :system.last_record = 'TRUE';
next_record;
end loop;
commit;
clear_block(no_validate);
execute_query;
end;You hae take care of all validations. This is just a simple sample code.. -
Delete master record if detail records are empty
I have a simple question and response system
the user enters their details (record stored in table called source - pkey as id_src)
the user then goes on to answer questions (in a form)
those responses are kept in a separate table (responses)
with a foreign key in each response row telling me the ID of the source ie fk_id_src
the form has a SUBMIT and CANCEL button
PROBLEM
If a user registers their details (created a source record with an ID)
but fails to answer and questions (the response table does not have any foreign keys to that ID source)
what is the best way to AUTOMATICALLY delete the user record (if there are no detail records in the response table)
(note: the main response form IS NOT an ADDT form)
the checking process needs to be triggered by the CANCEL button
ie if the user presses submit - responses will be made to the questions - ie they will be empy answers - but in this case it is valid to do so
I was wondering about a custom transaction - with delete SQL -
or using check detail records - but cant see how to get that to fire the delete record transaction?
any guidance appreciated
tia
PaulOK
I can create a separate page that checks if a detail record exists
and display an error if it does
on the same page I can add a delete transaction
pass the master record id
Both work, all OK so far
BUT, the check detail throws its error message if detail records DOES EXIST
I need to allow the delete transaction to run, if detail records DO NOT EXIST
AND then
redirect then page - wether the delete occurs or not
any ideas?
Paul
Maybe you are looking for
-
Firefox 3.6 or 4.0 will not install
Greetings, I am unable to install either 3.6 or 4.0 After downloading 4.0, and turning off my virus protection and closing all programs... I then begin installation in Administrator mode and during setup I am presented with this message: '''Your comp
-
SUGGESTION: export with preset - custom subfolder name
i've got various export presets set up in LR; for exporting to flickr, exporting for forums, exporting for print etc. however, one thing that bugs me is that –at least as far as i can see– the export preset requires me to 'hardwire in' the name of t
-
Fetching record from table and displaying in JSP while loading page -struts
Hi all, I have a problem relating to struts . I am fetching records from database and I want to diaplay those records in corresponding fields in the jsp page. I am using Struts MVC Framework. I am giving the sample code below. In my action class i am
-
Bundling different (non-interactive) forms
Hi, I want to bundle different non-interactive form. When I run the report FP_CHECK_BATCH_PDF_RETURN with the settings: Bundle Mode = X All Forms in One PDS = checked i got the error message "Call contained error(s): ASSEMBLE (FP_JOB_OPEN)" When I se
-
RGGD1300_FISL dump in ECC6 upgrade
Hi all, In ecc6 upgraded system(from 4.6c) while running the program RGGD1300_FISL the error Message type " " is unknown has been displayed. It is due the following code. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno