Number Range for PO based on company code and document type
Dear All,
I've a requirement to assign a separate purchase order Number Range for a company code for the following document types.
ZNB Standard PO
ZRB Return PO
ZUB Stock transport ord.
ZLPA Scheduling agreement
ZLU Transp. sched. agmt.
(Number Ranges are different for each of the doc types mentioned above)
Is it something like I've to create 5 different Number Range objects and then provide the condition in the corresponding user exit , so that the appropriate document could pick its corresponding Number range.
Does anyone have any specific advice / experience on this , I am new to SAP and please advise me as how to go about this requirement. Thanks !!
Srinivas G.
Create the five different number ranges via configuration the configuration for PO. Usually a user exit is not needed. You've really posted in the wrong forum.
There is a lot of work involved in creating a different PO types. It is usually done in materials management.
If everything is done:
In spro go to materials management -> purchase order -> define number ranges.
Once they are defined they should work automatically or be entered manually depending on how your number range is set up.
Edited by: Michelle Crapo on Aug 3, 2009 3:07 PM
Similar Messages
-
Need to download the data from BSEG based on company code and fiscal year
Hi All,
Please suggest me the solution to download the data from BSEG based on company code and fiscal year. As data in BSEG for the fiscal year2009 is 27 lakhs (= 2.7 million) for the specified company code.
<removed>
Thanks & Regards,
Koti
Edited by: Thomas Zloch on Mar 26, 2010 4:28 PM - please use English metrics only!May I ask what you mean by solution? You can download from SE11, but where are you going to store 2.7 million rows and what tool are you going to use to store it?
You probably need a (small) program that extracts what you want, then opens a dataset in an appropiate server-system folder, and transfers the data rows to the dataset as fixed-length or tab-delimited file. It's been done many times, so suggest that you search. -
Access restriction in IM52 based on company code and investment reason
Hi,
How can we have access restriction in IM52 based on company code and investment reason?
thanks
Randeephi
please check the authorization object for the transaction
company code you can -
TDMS copy based on Company Code and time based reduction.
I'm struggling to understand the process of this scenario.
I created a new client in the target system (using local client copy with SAP_UCSV).
I configured a time based and company code based reduction.
After the TDMS copy is complete, I check the target system and still find plenty of data that isn't related to the company codes I selected. It appears that it still copies part of the excluded data. For example: I can still find work orders and sales orders for company codes that I specifically didn't select for the copy process.
Any idea why this is? It appears that the copy doesn't bring across ALL of the excluded data. Just some.
I double checked and triple checked my TDMS selection for company code based reduction and I can't find any error in there.
To be more specific: I selected company code A01 A02 A03 and left B01 B02 B03 out. After the copy there are still orders visible in the target system with company code B01 B02 B03.
This is after I created an empty target client first so it's not copying into an already existing client.
Thanks for any guidance guys.Hm, not sure what's going on. There is no clear link between those existing orders and the company codes I initially selected. Then again it only seems to have a "high level" record of the data. As soon as one starts to drill down, the data is missing as expected. Same goes for other areas as well.
Looks like we can live with that for now so I won't lose any sleep over it anymore. -
Assign default company code to document type
Hi,
When I am trying to excute the t.code FB60 first time, a popup is coming for entering company code.
The popup for entering the compnay is coming for every user when he log into the system first time.
I want to assign company code default for t.code FB60.
Thanks and regards,
LokeshThe parameter ID of the field Company Code is BUK. In mass change enter this parameter ID in the parameter tab of all users (T.Code SU10). Your Basis colleague may help you in this regard.
I think Screen variant may also help in this regard. (SHD0)
Another option may to enter a substitution from OBBH (Activation and in environment define Substitution) -
Number Range for Purchasing Groups
Dear All,
I need to assign different number range for purchase order for different purchasing groups of same dosument type. In fact we want to distinguish purchase document depending on number range for different purchasing groups.
Regards,
VikasHi,
Document type concept is used when your procurement process is differ from standard procurement processes , that time you can go for u201CNew document typeu201D. For example: Standard procurement document type is u201CNBu201D when you have procurement processes like sub-contracting and formal order, that time you used different document type other then u201CStandard document typeu201D with new respective number ranges.
Also you have a way to keep different document type with number ranges if two company code there & your business required to have PO document type with number range W.R.T. Company Code then can use User Exit M06B0003 ,MM06E003 & M06B0004 where you have option to have PO number range based on Company Code.
But as you required different number range for purchase order for different purchasing groups, You can use centralized & decentralized purchasing groups & can have centralized & decentralized PO document types and can control all authorization in basis side.
Regards,
Biju K -
Default document type for F-28 per company code wise.
Hi SAP Experts
My client wants to default document types per company code wise for F-28.
As per my knowledge in OBU1 is cross client and OBZO is accepting only customer invoice and credit memo but not customer payment.
Please help with possible ideas to solve this issue, including any idea relates to substitution also. Your help is appreciated.
Thanks in advance
PrathimaHi Prathima,
As mouri said it can be done only by Substitutions
Since OBZO is only for enjoy transactions
I have verified the notes aslo but there is no possibility for F-28 by company codes
Better you can use
Prerequisite
SYST-TCODE = F-28
Substitution
use Exit
Inside exit you need fetch the document type as per the companycode
to achieve this you need define one ztable with company code and document type columns
Thanks
Vishnu -
Different material document number range for Services
Hi,
I want to make different material document number range for services.
I have created ZE document type from WE .
But if I see group in OMBT , i am not able to assign ZE there. How to do this?
Regards
KedarHello,
No ! I am not able to see ZE there.
Kedar -
Get pernr based on company code in logical databse
Hi,
When using the get pernr event, all the pernrs that I get are in the ascending order I want them first grouped based on the company code and then on pernr.
Any suggestions would be appreciated abd suitably rewarded.
for ex: get pernr.
write:/ pernr, bukrs.
end-of-selection.
result: 00000099 1001
00000002 1003
Regards
Vick
Message was edited by:
vick vennavfor ex: get pernr.
write:/ pernr, bukrs.
end-of-selection.
result: 00000099 1001
00000002 1003
We are sending the payroll information to the 3rd party for pay check purposes, at my client side they have inserted a custom include in the standard program and populating the information in a flat file which needs to be sorted first based on company code and then on pernr. If I try to do it later,the code is becoming a mess, so I want to know is there a way to get pernr using logical database whose order is based on company code.
Regards -
Same number range for two different series groups?
Dear all,
There are two scenarios
1.Normal export under bond case, series group is 20 and number range maintained,running number is 300016
2.Another scenario,where ARE1 document generation for Deemed exp customer(already customised) , series group is 30.
But, client requirement is , for this second scenario also, system should pickup running number range of series group 20(under bond case) as per excise legal requirement
Ie running number is for series group 20 is 300016
For the above deemed exp case (second scenario)it should pickup 300017
And again when they do under bond case(first scenario), it should pick up 300018 like that
Is it possible to maintain the same number range for two different series groups(20 and 30)?
Even if you maintain the same number range for 30, as per running number range of 20
Will the system update simultaneously the same number range for 20 and 30 series groups?
Please suggest the way.With two different series groups, it is not possible to have the same number range. Even if you maintain it, they will be treated independently.
Normally, you should not use different series groups if the same number range has to be used. In fact, the concept of series group has been developed to ensure that number ranges can be maintained separately.
Regards,
Aroop -
Different Number range for different objects
HI Gurus
Could you please explain how can we make different Number range for different objects(O,S,P).Can we do with standards or we can go for UserExit??.
Your early Advise will be appreciated.
Thanks
ChandraHi Chandra,
SM31 -> T77IV : 01S -> Number Range Maintenance.
(or SPRO -> Pers Man -> Org Man -> Basic Settings -> Maintain Number Ranges)
For the subgroups
01C (plan variant 01, Object type C) Job
01O (plan variant 01, Object type O) Org unit
01S (plan variant 01, Object type S) Position
Define the following number ranges respectively.
(EX 60000000 69999999)
(EX 70000000 79999999)
(EX 80000000 89999999)
Regards,
Dilek -
Restrict access in report based on compnay codes and cost centers
Hi,
We are using a standard report, which is assigend to a Z transaction and assigend to the role.
The report need to be restricted based on the company code and cost center ?
but i could not find any AUTHORITY- CHECK statements in the code ( there is only authority check statement for object G_803J_GJB which has authorization groups and aCTVT field.)
Please let me know what steps need to be followed to restrict the report based on company codes and cost centers.
Thanks for your help in advance.Thanks all for the quick response.
Steps to be followed:
1) incorporatomg AUTHORITY-CHECK statements for K_KOSTL and F_BKPF_BUK objects in the program.
2) adding the objects as check yes in SU24 for the Z transaction.
and restricting in the role.
The program name is "GP3O4ZGOOF3HA68QMGHF8S7I9ER250".
Please let me know if any more steps need to be followed.
Based on this i have to send a estimate to my client.
Thanks,
Sanketh. -
STO-Within same company code and same sales organisation
hi freinds
i need steps for STO Within same company code and same sales organisation "xyz" with different plant "X " and " Y"
with regards
dineshHi,
Sales organization is linked to sending plant. It does not matter if receiving plant is using the same or different sales organization. The setup from sending plant is independent from that.
As for the STO standard setup, I suggest you search SDN first. Below example link.
STO setup article link:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c05e2251-91f0-2c10-4e91-e919468e4687
Regards,
Dominik Modrzejewski -
How to determine number range for billing document based on company code ..
Hi Friends!!
can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
Amit...plz help me!!Hi Amit,
1. Define different Billing Document number ranges in SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
e.g.
NO. From number To Number Current number Ext
A1 0930000000 0930999999
A2 0940000000 0940999999
A3 0950000000 0950999999
2. Define a Ztable ZNUMB_RANGE as follows
Comp. Code | Tax departure country | Billing Doc Type | Number Range
100 IN F2 A1
200 IN F2 A2
200 US F2 A3
3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
If found pass this number range value to us_range_intern.
us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
Let me know if you are clear.
Thanks,
Mandar -
Number Range for Logistic Documents For Different Company Codes
Hi all..
I need to numbered the logistic documents for diferent company codes (#60) but the number ranges for al those documents should be generated separately according to each CC.
I've read in other thread that I could use the user exit MM06E003, but it seems that only works for PO. There is also a tweak for GR/GI, but.. any idea for all the other documents?
Thanks in advance.
Guillermo (Willy)Hi
using the User exit you can change the Numbers Rnage for the LIV Documents based on the Compnay Code
LMR1M003 Number assignment in Logistics Invoice Verification
Thanks & Regards
Kishore
Maybe you are looking for
-
I have tried everything and cannot get it to turn on, it comes up with the red battery icon saying its charging. But still nothing! Help!!
-
Migrating from JSF 1.1 to 1.2
Hi folks, My curent app uses JSF 1.1. I want to move to JSF1.2 which is the latest release. But when I try to deploy my app in Oracle App server after replacing new libs, I am getting error as Exception: NoClassDefFoundError: javax/el/ExpressionFacto
-
Energy Saver won't open in System Preferences
I finally upgraded to Tiger (10.4.11). I want to change my energy saving preferences...specifically to keep my HD from going to sleep (because Tiger decided to override my original settings during install). The problem is that when I choose Energy Sa
-
64 gb Ipad 2 now only has 13 gb available. Help Me.
I have a 64 gb ipad 2 on 5.0.1 firmware. When i plug it into itunes it only recognizes 13 gbs. My computer only recognizes 13gb. I restored it multipole times but still it only has that much space. I have no idea whats going on. Please help me before
-
Oralce 10g 10.1.2 Infrastructure database is unavailable- urgent !!
Hi All could anyone let me know the reason for above error is there is log file simlar to alertl.log file for tracing down the errors thanks kb