PO Naming Convention for specific company code
Hi experts!
Is there any way to know this PO naming convention is belongs to which company code?
For eg: PO naming convention starts with 600*******.
How will i know which company code is using the naming convention for their purchase order?
Please help.
Thanks.
Crystal
Hi Crystal,
Naming convention is based on document type not company code :
Refer the below customsing path:
SPROMaterials ManagementPurchasingPurchase Order--Define Document Types
SPROMaterials ManagementPurchasingPurchase Order--Define Number Ranges
Regards
Ramesh Ch
Similar Messages
-
Delete authorization for specific Company Code
All,
For a specific transactions, our users may only run the transaction for a specific company code. Transaction is TPM55A
What authorization object do I need to add to my role, so the users have only authorization for let's say Company code range 1000 - 1050.
Many thanx for help
kr,
StefHi Stef,
Please try to add this authorisation object manually F_BKPF_BUK- Authorisation object for company code.
In the filed BUKRS you can maintain the company code as you required for the users.
I hope this may help you in resolving the issue.
Thanks
Karthick -
Tax Code Mandatory in Purchase Order for specific Company Code / Country
We are doing Roll Outs of SAP into different countries.
In a particular Country / Company Code we want Tax Code to be mandatory in Purchase Order without disturbing the settings for other Country / Company Code.
Can anyone provide some idea to resolve this?
Thanks in advanceHi,
You can create a seperate document type for that country and make it mandatory in the document specific screen varient
SPRO>MM>PUR>PO>DEFINE SCEEN LAYOUT AT DOCUMENT LEVEL>COPY NBF
Make tax code field mandatory and assign it to new document type for that country
Or user user exit or BADI ME_PROCESS_PO_CUST
Thanks
Diwakar -
How to calculate no.of records for a specific company Code and Transaction
Hi All,
Could you please help me how to calculate or count no.of records, in a table which are having a specific Company Code and Transaction Code and populate in an output table displaying that these many records are present for this company code and Transaction code.
The table is having the data like this:
LOB TRAN CODE COUNT
X1 1
X1 2
X1 3
X1 4
F1 NB 5
F1 NB 6
F1 NB 7
F1 NB 8
F1 NB 9
F1 NB 10
F1 NB 11
F1 NB 12
F1 NB 13
F1 NB 14
F1 NB 15
F1 NB 16
F1 NB 17
F1 NB 18
F1 NB 19
F1 NB 20
F1 NB 21
F1 NB 22
F1 NB 23
F1 24
F1 25
F1 26
F1 27
In the above table there are totally 27 records,where as the no.of records with F1 as company code and NB as transaction code are 18..so i have to display like F1 NB and 18 as one record as output.
Thanks and Regards,
JohnyYou can go for Control Breaks for your requirement.
First sort the internal table by company code and transaction. Declare a counter variable.
Now loop the internal table and increment the counter variable. within the loop use AT END OF tcode.......ENDAT. Within the control break append the counter variable as well as the company code and tcode to some other ITAB and clear the counter.
This will give you the total number of records for a combination of co code and tcodes.
This will be a good reference for your requirement. What I am doing here is, for each Vendor i am calculating total number of deliveries and amounts for that vendor. For every new vendor i am writing the ouput on to a list and clearing the counter variables.
LOOP AT t_vend_prod_grp INTO fs_vend_prod_grp.
w_total_delv = w_total_delv + 1.
w_total_amt = w_total_amt + fs_vend_prod_grp-dmbtr.
AT NEW matkl.
w_mat_grp = fs_vend_prod_grp-matkl.
* To display the material group and the header texts for the data
* grouped by material group and vendor.
SKIP 1.
WRITE: text-mtk COLOR COL_HEADING
INTENSIFIED,
/ w_mat_grp COLOR COL_NORMAL
INTENSIFIED OFF.
SKIP 1.
FORMAT COLOR COL_HEADING ON INTENSIFIED.
ULINE 1(54).
WRITE:/ sy-vline,
2 text-ven,
12 sy-vline,
text-dlv,
26 sy-vline,
38 text-amt,
sy-vline,
46 text-cur,
54 sy-vline.
ULINE /1(54).
FORMAT COLOR COL_HEADING OFF INTENSIFIED.
ENDAT. " AT NEW MATKL
AT END OF lifnr.
* To display the actual data for the grouping based on Material group
* and Vendor.
FORMAT COLOR COL_NORMAL ON INTENSIFIED OFF.
WRITE: / sy-vline,
2 fs_vend_prod_grp-lifnr COLOR COL_KEY,
12 sy-vline,
w_total_delv,
26 sy-vline,
w_total_amt CURRENCY text-usd,
sy-vline,
46 text-usd,
54 sy-vline.
FORMAT COLOR COL_NORMAL OFF INTENSIFIED OFF.
CLEAR: w_total_amt,
w_total_delv.
ENDAT. " AT END OF LIFNR
ENDLOOP. " LOOP AT T_VEND_PROD_GRP -
Code Inspector - Naming conventions &mExtended Naming conventions for Progs
Hi experts,
I had a look into the naming conventions enforced by 'DEFAULT' variant of code inspector (SCI).
the relevant categories are: "Naming Conventions", and "Extended Naming conventions for Programs" under "Programing conventions".
in the "Extended Naming conventions for Programs" category, for functions, (applicable while calling the functions) it says,
importing parameter : I[:type:]_
exporting parameter : E[:type:]_
changing parameter : C[:type:]_
tables parameter : T[:type:]_
but in the "naming conventions" category, for functions (applicable while defining the functions), it says,
importing parameter : P_*
exporting parameter : P_*
changing parameter : P_*
tables parameter : P_*
I felt, while defining the function too, its better to have beginning with I_, E_, C_ or T_ instead of P_
is the 'DEFAULT' variant of code inspector is provided and recommended by SAP?
for easier maintenance and clearer understanding, which naming convention is more suitable, or is there any official guidelines released by SAP for ABAP developers.
appreciate the opinions from experienced abap developers.
thanks,
Madhu_1980Frank,
Thanks for your answer.
But what about Entity Objects, View Objects, View Links, and Application Modules.
I would like my developers to have an easy way to name them and also find them via intellisense.
So I was thinking in naming them the following way :
Entity Objects :
EO_Employee
EO_Department
View Objects :
VO_Employees
VO_Departments
View Links :
VL_EmployeesToDepartments
Application Module :
AM_HRService
However the use of "_" is not so "Java naming oriented".
So other alternatives would be:
1. take the "_" :
1.1 EOEmployee (I don't like the fact of having 3 capital letters together).
1.2 EoEmployee (I don't like the fact of having Entity Object with a lowercase "o").
2. Use the prefix at the end, but this way I loose the intellisense feature I want:
ex: EmployeeEO
Which naming approach are you using for big projects ?
Thanks,
Claudio. -
TAX code is not working for a specific company code
Hi Friends,
One tax code is giving error messa ge that it is not maintained in tax procedure, when iam using the same code for another company code it is working fine.
Please help me, points are assured.
Thanks.
SriniHi Srini,
The tax codes are defined at the country level. Please check whether the company codes belong to the same country. If not ensure that the tax code is maintained in the tax procedures of the respective countries.
You can check the assignment of the tax procedure to a country in the TCode OBBG.
please reward points if helpful.
Regards,
Sreekanth.... -
Naming Conventions for Workflow
Hello,
does anybody have a document for Naming Conventions for Workflow.
I found nothing the last hour.
Thanks in advance for any help ...
StefanieHi,
I am sending you naming convention which we followed in our project.
Workflow Template & Standard Task:
SAP/R3 Limitations:
Workflow Template & Standard Task names are limited to 12 bytes.
Standard:
Bytes 1-3 of the Workflow Template & Standard Task (see following table) are intended to give an overview of general information regarding the Workflow Template & Standard Task.
Characters 4-12 of the name should be chosen to impart some idea of the Workflow Template & Standard Tasku2019s use and/or contents. (The portion of the Workflow Template & Standard Task name that forms the unique identifier may, or may not, contain underscores characters to enhance Workflow Template & Standard Task name readability.)
Position Description Sample Values Sample Meanings
1 Table system life Z/Y Permanent/Temporary
2 Application Type * See Application Designators (Appendix B)
3 OPCO/Region * See OpCo Initial Chart (Appendix A)
4-12 Unique identifier text Unique identifier; may include underscores
Example: ZS7_IDEL9 (I:-Inbound, DEL: - OILDEL 9:- Original)
Business Object:
SAP/R3 Limitations:
Business Object names are limited to 10 bytes.
Standard:
Bytes 1-3 of the Business Object (see following table) are intended to give an overview of general information regarding the Business Object.
Characters 4-12 of the name should be chosen to impart some idea of the Business Objectu2019s use and/or contents. (The portion of the Business Object name that forms the unique identifier may, or may not, contain underscores characters to enhance Business Object name readability.)
Position Description Sample Values Sample Meanings
1 Table system life Z
Y Permanent
Temporary
2 Application Type * See Application Designators (Appendix B)
3 OPCO/Region * See OpCo Initial Chart (Appendix A)
4-12 Unique identifier text Unique identifier; may include underscores
Example: ZS7_OILDEL (Business Object for OILDEL Message Type)
Methods
Method names should begin with a verb:
Examples: GET_STATUS, CREATE_ORDER, DETERMINE_PRICE
For Parameters:
IMPORTING parameters IM_<parameter name>
EXPORTING parameters EX_<parameter name>
CHANGING parameters CH_<parameter name>
RESULT RE_<result>
Events
Event names should have the form
<noun>_<participle>:
Examples: BUTTON_PUSHED, COMPANY_CODE_CHANGED, BUSINESS_PARTNER_PRINTED
Note: There is no specific naming convention for Container Variables in workflow & for Key Fields & Attributes in Business Object. These variables name should be chosen to impart some idea of the variablesu2019 use and/or contents.
Appendix A
ABAP Programming Standards: OpCo/Region Initial Chart
Old # Company Name Proposed # Accounting Location
98 Common A San Ramon
95 FSC B San Ramon
80 Chevron Chemical Company C San Ramon
89 Chevron USA-Downstream & General D Walnut Creek
75 Chevron Real Estate Management E San Francisco
76 Chevron Information Technology Company F San Ramon
77 Gulf Oil Great Britain G London
85 Corporation (Acct. by Corp.) H San Francisco
83 Chevron International Oil company J San Ramon
87 Chevron U. K. Limited K England
86 Corporation (Acct. - Local Office) L Various
96 P&M Coal & Mining Company M Denver
94 Corporation (New York) N New York
90 Chevron Pipeline Company P San Ramon
79 Chevron Canada Resources, Ltd. R Calgary
92 Chevron Shipping Company S San Francisco
81 Chevron Petroleum & Tech Co. T Houston
91 Chevron USA Upstream U Concord
78 Chevron Canada, Ltd. V Vancouver
93 CUSA Warren Petroleum W Tulsa
84 Chevron Overseas Petroleum, Inc. X San Ramon
88 Chevron Research & Tech. Company Y Richmond
- Corp. GLX Common validations Z San Ramon
- PCA 3 San Ramon
- Tax 4 San Ramon
- Audit 5 San Ramon
- Asia-Pacific 6 Global
- Africa 7 Global
- Latin America 8 Global
Appendix B
ABAP Programming Standards: Application Designators
A Assets Accounting
C PPC
D DASS (control station)
E RIVA/IS-Oil
F Financial Accounting (incl. Joint Venture)
G General Ledger
H Human Resources Planning
I Plant Maintenance
J Publishing
K Cost Accounting
L Inventory Management
M Materials Management
N Hospital
O unassigned
P Human Resources
Q QSS (Quality assurance)
R PRA (Prod & Revenue Acctg)
S Basis
T Projects
U Enterprise Data Model
V Sales
W MMS (Merchandise mgt. System)
X unassigned
Y Customer head office
Z Customer branch
<inappropriate content removed by moderator>
Thanks
Yogesh Sharma
Edited by: Mike Pokraka on Jul 2, 2008 10:34 AM -
Forcing naming convention for queries and views
Hello Friends,
Can anyone tell me how to Force user to save queries with starting letter 'Q' and all views with 'V'.
I know how to restrict queries ..
Please tell me how to Froce Views to save with first letter 'V'.
Thanks,
Ramyou need these values in your role to restrict them save queries with starting letter 'Q' and all views with 'V'.
S_RS_COMP
RSZCOMPID-Q*
RSZCOMPTP - REP
S_RS_COMP
RSZCOMPID-V*
RSZCOMPTP - QVW
S_RS_COMP1
RSZCOMPID-Q, V
RSZCOMPTP - REP,QVW
and as you know activity will be 01 for giving create ability, don't forget to restrict on infocube and infoarea. one thing you have to rethink is why you want to use Q, V as a starting letter, I would prefer Y,Z.
and lot of companies do restrict for different naming conventions on different infoarea/infoprovider. just a casual suggestion, it will be better for your company in future, if you restrict the reporting component's naming conventions more specific. something like Zinfoprovider name_reporting component_*.
regards
Message was edited by:
Keerti Vemulapalli -
One vendor for two company codes
Hi Frds,
I have two company codes and i create a vendor which is applicable to both the company code.Is it required for me to create separate Payable reconciliation GL account for each company codes or creation of one common recco account is enuf.
Please elaborate on this as am new to this..
Thanks,
Rashmi RaviDear all,
SAP allows You to create a customer / vendor master data that contains information that is valid for all the Company code --> into General data.
Then there is a part, Company Code data, where You can define specific details for each Company Code.
The transaction is the same FD01 or FK01.
I hope this helps You.
Mauri -
Digital Signatures for mutliple company code
Hi,
Our client have multiple company codes & they want to use digital signature for all the company code and there be individual authorised digital signatory for each comp code.
Now the question is , whether we have procure different digital signature for individual company codes & if so how system will identifies which authorised ditigatl signature should be assigned to respective company code...?
=> We are not able to download Adobe Form local & aslo is it mandatory to have digital signature to download Form 16 on a local system.
System details : ECC 6
SP Level : 38
Thanks & Regrads,Digital Signature is person specific
You have to take the Digital signature ( A number assigned for each signatory with the tool),from an authorized services provided by NSDL
In a single company code if you have 2/3 signatories , first you need to make groups based on the signing authorities, in combination of PA/PSA/EG/ESG/BA etc
The form 16 is to be generated on the above criteria applicable.
3 file of form16 will be generated and send accross to 3 signing authorities
The signing authority can open the form using the tool ,digitial signatory software install and can authenticate the form16.
As per NSDL form16 is now not an statuory doucment. Its just an Tax Information of an Employee.
which is not required to be attached with your ITR's also
So why do you require the Digital signature to be printed on the form16 . Pls check this up with your finance team
Thansk & Regards
Hemant V. Mahale -
Delete G/L Accounts for one company code when transaction data exists
SAP transaction OBR1 can be used to reset transaction data.
If you execute this transaction for a specific company code, the FI transaction data of that company is deleted. Because of the procedure to keep FI and CO in line, also the CO data has te be deleted.
But you can not reset CO transaction data for one company code. You have to reset CO transaction data for a whole controlling area.
If you can not delete the FI and CO transaction data for a specific G/L account in one company code, you can not delete that G/L account.
There exists another solution for the deletion of FI and CO transaction data for one company code, and thus for the deletion of G/L accounts?
Thank you very much for your feedback.
Edited by: E. Deleu on Mar 3, 2008 3:42 PMHelllo,
I believe the account group information is what you get when loading hierarchies. Please look into the hierarchy extractor 0GL_ACCOUNT_T011_HIER.
Regards,
Christoffer -
Can we assign 1 credit control for multiple company codes
hi,
sap gurus,
good afternoon to all
can we assign 1 credit control area for multiple company codes.
if yes can any body explain the pro's and cons of the assignment.
if no can any body explain the why?
its urgent plz.......
regards,
balaji.t
09990019711Yes Balaji,
We can assign.
Here the risk categiry and terms of one credit control area will be applicable to all company code.
Credit Control Area
Definition
An organizational unit that represents the area where customer credit is awarded and monitored.
This organizational unit can either be a single or several company codes, if credit control is
performed across several company codes. One credit control area contains credit control
information for each customer.
Use
Credit and risk management takes place in the credit control area. According to your corporate
requirements, you can implement credit management that is centralized, decentralized, or
somewhere in between.
For example, if your credit management is centralized, you can define one credit control
area for all of your company codes.
If, on the other hand, your credit policy requires decentralized credit management, you
can define credit control areas for each company code or each group of company codes.
Credit limits and credit exposure are managed at both credit control area and customer level.
You set up credit control areas and other data related to credit management in Customizing for
Financial Accounting. For more information, see the Implementation Guide under Enterprise
Structure Definition or Assignment Financial Accounting and then Maintain credit control
area. You assign customers to specific credit control areas and specify the appropriate credit
limits in the customer master record.
Thanks,
Raja -
How to restrict the user id to a specific company code?
Hi,
I want to restrict a user id to access a specific company code only for both customizing and application data creation. This means that the user id can do customizing and create application data for that company code only and not for any other company codes.
how can i do this?Hello Raja,
You requirement of restricting users for application data can solved by adding the company code in the organization level button and the user will be restricted to mainatin application (transaction) data for the org element for which he is authorized for, if the transaction has objects which check company code.
Customizing data authorization can be very tricky, as most of the customizing transactions are for maintaining customizing tables will not necessarily have an authorization check for org elements. In this case you may to manually insert a object called S_TABU_LIN alongwith S_TABU_DIS it will perform the job of restricting authorizations.
In cases where the end user is accessing tables directly with SE16 S_TABU_DIS is the object that is check and maintained in PFCG.But,Such a restriction cannot be made with S_TABU_DIS alone. Fortunately SAP provides us with another authorization object S_TABU_LIN (Authorization for Organizational Unit), which can be used in conjunction with S_TABU_DIS to enforce such a restriction.
This authorization object works only with Maintenance Views and Customizing tables. Also note that an Organization Criterion is a prerequisite for implementing the same
A detailed step by step procedure to be followed is given below:
1. The first step in implementation of line authorization is defining an Organization Criterion. For this we need to access the u201CSAP Reference IMGu201D customization page from SPRO transaction.
2. From the IMG display screen select SAP Web Application Server -> System Administration -> Users and Authorizations -> Line Oriented Authorizations. Select the execute ( ) button for the u201CDefine Organization Criteriau201D.
3. The resulting table display show all available Org Criteria values existing in the system. For our purposes we will create a new Org Criteria to suit our needs. Select the tab u201CNew Entriesu201D as shown below.
4. Give an appropriate name starting with Y or Z for the new value. Note that a name starting with another letter will not be accepted by the SAP system. Click on u2018Saveu2019 button to save the newly created Org Criteria. This opens a new window asking for a Workbench Transport Request. This would be required so as to transport the new Line authorization restrictions further to the test and production systems.
5. Now select the new Org Criterion u201CY_TESTu201D and double-click the u201CAttributesu201D tab as below to define the various Org Attributes.
6. Provide the new Attribute name and Description for the same. Also fill the Authorization field value from the provided dropdown (1st Org Criterion Attribute u2026. 8th Org Criterion Attribute). The search help field is an optional field which can be filled if a search criterion exists or has been created earlier for the specific purpose. This field enables the u201CF4u201D when filling entries in the authorization object
7. We already have a search help (C_T001) available, which provides as an F4 help the list of all available Company Codes in the system.
Note that we can create up to 8 Org Attributes as per our requirements (by selecting u201CNew Entriesu201D tab), each corresponding to a column in the target table.
8. Selecting the attributes link again will show us a list of all defined attributes and the authorization Field it will appear in. Now that we have defined the Attribute Field that we require, we need to associate each attribute to the corresponding Table Field in the target table.
Select one of the attributes as below and double-click on the u201CTable Fieldsu201D button to define the field associations.
9. Select the u201CNew Entriesu201D tab to create a new table field association.
10. The View/table field must be filled with the target table which we need to control.
11. The u201CField Nameu201D will require the field name of the target table which be linked with the specific Org Attribute. Performing an F4 on this field will display the list of all possible fields available in the View/table provided earlier. Here we will select the field name BUKRS (Company Code). Save the entries in the same workbench request created earlier.
12. The next step would be to activate this new Org Criterion so that SAP now checks the authorization for S_TABU_LIN for every user
13. In the u2018IMG displayu2019 go to SAP Web Application Server -> System Administration -> Users and Authorizations -> Line Oriented Authorizations. Select execute ( ) button for the u201CActivate Organization Criteriau201D.
14. From the resulting customization screen tick the check-box for the Org Criterion that we have created. On saving the settings the system then asks for a Customizing Transport Request for further transport into test and development systems.
15. Any user without this authorization will not be allowed in to the SM30 display/change screen for this table.
16. In the role for which the S_TABU_DIS provides maintenance access for the table , we will now also need to maintain the object S_TABU_LIN.
17. On selecting change button besides any authorization field you will need to select the Organization criterion which needs to be maintained here. Note that only one Org Criterion can be maintained in one instance of S_TABU_LIN object. -
GL code for common company code
Hi
Please suggest the solution in following situation:-
Situation:- we have 10 company code with common chart of account. first we have created one company code (say 1000) and rest we have created with reference to first company code (say 1000). thru this process, all relevant data get copied in all company codes.
Problem:- Some of the GL code is company specific like bank and tax GL. The movement we are creating GL code for first company code (say 1000), it is automatically available in all company code created with reference to first company code.
Expected solution:- how can we avoid the same. one solution we have which is mark for deletion for unwanted GL. But mark for deletion GL also appear in F4 selection list which is creating confusion for user.
Please suggest the possible changes.
Regards
DDhi,
after coping GLs from company code 1 to Com cod 2,please delete the unwanted GLs from CC 2 with transaction code OBR2.
at company code level only you have to delete those GLs
thanks in advance...
Srinu -
All plants Under specific company code
Hi,
What is the Tcode for All plants under Specific company Code.
I Know about EC01 Navigation..
But is there any other tcode available or not?
Is there any table for all plants under company code?Go to SE11.. Give table name T001K..Execute... Give the company code in the field BURKS.. the result will give u all the plants under it....(WERKS is the field name for Plant)..
Karthick
Maybe you are looking for
-
Hi, I have a table with named as cust_pkg_tbl and data contains as below.scrcdall column contain comma separated strings. id name memstatus mobileno srccdall 1001 kaushik 8 9876549032 cde1,cde2,cde3 1002 ram 4 8845670982 cde1,cde2 1003 raj 2 88235784
-
Exfat support in airport extreme
Anyone has figured out how to connect and access EXFAT formatted external HDD to Airport extreme?
-
I just upgraded my PB with a new HD and I've been trying to get the system to boot from my external CDROM (Apple 600e). I have a very bare bones OS installed on the new HD (from the tools disk). No matter what I've tried I can't get the system to boo
-
Mac/FF 4. Title says it all: When I go to the Add-ons Manager in FF4, no add-ons are listed, but I'm using the browser and all of my add-ons are available everywhere they're supposed to be. I have 3.6.16 installed in another directory which uses the
-
Adobe Acrobat as a component of the application in Windows 8 in Metro Style
Hello I am making an application under Windows 8 in Metro Style. I try to include in my application PDF-reader. How can I use Adobe Reader for this purpose. If I have to buy a license, I'm ready to do it.