Single Trip number range for multiple personal areas
Hi,
Can any expert suggest me whether can we use single trip number range for multiple personal areas.
Thanks
Srinivas
Dear Srinivas,
This can be done. Please follow the below logic.
Create a new implementation (enhancement) in BADI =TRIP_WEB_NUMBER
Method = USER_EXIT_NUMBER_INTERNAL
with the below codes.
DATA: LV_ZZTRIPTYPE TYPE PTRV_HEAD-ZZTRIPTYPE,
LV_CCLAND TYPE BUKRS,
LV_LAND TYPE T001-LAND1.
Fetch the company code from the data inputed.
SELECT SINGLE LAND1
FROM T001
INTO LV_CCLAND
WHERE BUKRS = ORGANIZATIONAL_ASSIGNMENT-BUKRS.
IMPORT TRIP_HEADER-ZZTRIPTYPE TO LV_ZZTRIPTYPE FROM MEMORY ID 'ABC'.
CASE ORGANIZATIONAL_ASSIGNMENT-BUKRS+0(2).
CONCATENATE ORGANIZATIONAL_ASSIGNMENT-BUKRS+0(2) '01' INTO NUMBER_SUBOBJECT .
ENDCASE.
NUMBER_RANGE = 'Pass the number range'.
This is an example on how this will work. Please modify accordingly for your company.
Edited by: Rajagopalan Kannan on Jun 6, 2011 3:08 PM
Edited by: Rajagopalan Kannan on Jun 6, 2011 3:11 PM
Similar Messages
-
Number range for contact person
Hi all,
I need the configuration settings to be done for creating number range for contact person. any help will be highly appreciated.
Thanks
VikrantHi vikrant vij
no need to maintain number range for contact person,u just add contact person in customer masterdata
Thanks&Regards
Venkat.Dhanemkula -
Number Range for Contact persons in SAP CRM
Hi Experts,
Can anyone brief me about the contact persons concept in CRM and ERP?
How and where the the no. ranges are maintained , config settings, link between ERP and CRM?
Standard Account group for contact persons in ERP and CRM?
I would appreciate and points would be awarded .
Best Regards
SuchhiContact persons can be maintained on both sides. In our case, we mantain contact persons mainly for needs of sales department, so we set master on CRM.
How and where the the no. ranges are maintained , config settings, link between ERP and CRM?
To define number ranges on crm side go to IMG>Cross-Application Components>SAP Business Partner>Business Partner> Basic Settings>Number Ranges and Groupings>Define Number Ranges
For number range created you have to create grouping. This grouping has to be assigned manually or automatically when creating a business partner. The business partner gets a number from the number range that is assigned to the grouping.
This can be defined under IMG>Cross-Application Components>SAP Business Partner >Business Partner>Basic Settings> Number Ranges and Groupings>Define Grouping and Assign Number Ranges
For number range created inCRM system you have to define a corresponding number range in the ERP. This is necessary to ensure that business partners created in CRM system get the same ID when they are replicated to ERP.
Go to IMG>Logistics>General >Business Partner>Customers>Control>Define and Assign Customer Number Ranges
Next define account groups under IMG>Logistics>General>Business Partner>Customers>Control>Define Account Groups and Field Selection for Customer
For each of CRM business partner classifications you have to define a mapping to an ERP account group. Run transaction code PIDE and do the mapping.
And of course your middleware settings must also be in order.
Standard Account group for contact persons in ERP and CRM?
There are no predelivered account groups for contact persons.
Regards. -
Different number range for different sales area but same order type
i have 2 different sales area but i have assigned same sales order type for 2 different sales area,
but i need the number range different for different sales area for that same sales doc type,
is that there is any user exists for number range? if so how can i find the user existsHi,
You can surely have a different number range per Sales Area. For this you will have to make use of a User Exit (which would surpass the standard SAP functionality). Try USEREXIT_NUMBER_RANGE.
Maintain the desired range in VN01 with the respective Range Keys.
Make a custom table comprising of Sales Area and Number Range keys (same keys which you maintained in VN01).
Now everytime, the system will check which sales area is used and accordingly, it will fetch the Number Range Key~Sales Area combination from the custom table, and will pick up the number range from VN01.
Coding should done by a good technical guy to make this work nicely.
Hope this helps you.
Regards,
Vivek -
Internal number ranges for accounting documents are not updating
Dear Experts,
We are existing user of SAP 4.6 C , are facing probelm while posting accounting document , the accounting document number ranges are not getting updated.
When I post first document it got alloted first number from the interval when i post another document the system showing message Document Number XXXXXXX is already assigned to other document.
And we have checked through T.C FBN1 and checked the number ranges where first document didn't showing in the alloted number range status.
Early reply can be highly appreciated.
thanking you.
Regards,
Y.Kiran Babu.hi Rajesh,
check if any document exists with that number in table BKPF. Also check: the number (current number) you see in FBN1 should be the highest existing document number in BKPF (inside the range).
ec -
Multiple Number Ranges for AP Document Type not getting triggered
Hi all,
We are posting receivables in the system using BAPI_CTRACDOCUMENT_CREATE. We have huge data of 3.9 million records for which receivables has to be posted. So multiple number ranges has been configured in the system for AP document type.
The issue is even though multiple number ranges for mass processing are configured in the below location in SPRO, none of them are getting triggered. The number range at the first level on the screen is only getting triggered, due to this it is taking lot of time to post documents. Any help on this?
Financial Accounting(new)
Contracts Accounts Receivable and Payables
BasicFunctions
Postings and Documents
Document
Maintain Document Assignments
Document Types
Maintain Document Types and Assign Number Ranges
Regards,
Karthick.Karthick:
Mass ranges are only used for FICA parallel mass activities. For your situation, you can define and assign multiple ranges for individual processing in the same IMG activity. Those would then be chosen for your mass postings.
regards,
bill. -
Number ranges for material document (migo) and inventory documents
Hi Gurus,
We need a different number ranges for goods receipt documents and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it is the single transaction code used by different companies and how to give different number ranges.
Regards,
Sri........Hi,
I think number ranges of inventory documents are on client level not on company code wise . because even though your creating new document and assigned different number ranges for the documents but these while assigning ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level not at company code level. -
How to change Number range to Contact Person in Customer Master Record
Dear all,
We are maintaining contact person details under contact person tab in customer master record.
Currently contact person is being created using VAP1 transaction.
Can we automate this contact person creation by entering the data in contact person itself?
and where can we change the number range of contact person.
I have searched a lot to find the solution for this. Please help me to resolve this issue. Your suggestions will be highly appreciated.
Best regards
VenkatHi Venkat,
To your first question: "Can we automate this contact person creation by entering the data in contact person itself?"
Yes, you can enter the contact person directly in the customer master in the contact person tab. A number is generated automatically.
To your second question, go to transaction SNUM, and there use object "PARTNER". Here you can configure number range for contact persons.
Hope this helps,
Regards
Nikhilesh -
Error: Number range for object RESB does not exist
Hi
I'm trying to convert a planned order (to purch requisition) partially via trxn code MD04. Upon saving I get the above error msg. The complete text of msg is as follows. I've maitained the number ranges of all the objects specified in this error msg. Can somebody explain on how to overcome this problem?
Many thanks
BE
Error Msg Text:
Number range for object RESB does not exist
Message no. 61501
Diagnosis
The system cannot create a document for an MRP element if no number
range or interval has been maintained in Customizing of MRP or if t
number range you have maintained is not allowed.
Below is a list of MRP elements that are affected:
Number range object MRP element
PLAF planned order (operative oder simulative)
EBAN purchase requisition
RESB dependent requirements
MDSM simulative dependent reqmts (long-term plannin
MDTB MRP list
Procedure
Check the number ranges in Customizing. If you do not have the necessa
authorization, please get in touch with your systems administration.Hi
Thanks for the reply. But I have maintained the number ranges for matl. reservations/dependant requirements at OMI2. Here is the screen shot..Do find anything wrong with it? Pl advice.
NR Object MRES/DREQ
No. From Number To Number Curr Number Ext
01 0000000001 8999999999 380 blank
02 9000000000 9500000000 blank checked
RB 9500000001 9999999999 blank checked
Number ranges for the plants are assigned to 01 (0000000001 to 8999999999).
thanks
BE
Edited by: Brian Elfie on Jan 10, 2008 11:27 AM -
1 Personnal number to multiple personal areas
Hi Gurus
Is it possible to have 1 personnel number assigned to multiple personnel areas.
Can anybody please guide on how it is to be created and by which transaction code.
Thanks a lotHi Aranka
Thanks a lot for the Answer
But with that one more point is coming in my mind that can it be possible to have 1 personal number to many company codes.
I think this might be difficult.
Would appreciate your kind support in this regards
Thanks in advance
Rutvij -
Switching off the buffering of number range for Trips (travel expenses)?
Hi,
In Tcode SNRO object RP_REINR has a buffer of 10.
If this is switched off, it could influence the performance.
Has anyone had any experience in switching off the buffering of number range for Trips (travel expenses)?
Thank you.
Kind regards,
LindaDear Linda,
I recall switching off the buffer in one of my projects. We did not encounter any problems, since it was a rare activity. Therefore, I do not expect any performance issues on this matter. Anyway, I presume, one can always switch it back.
Regards,
Eli -
Multiple number range for planned order
Hi,
I want maintain different number range for MRP related planned order and manual creation planned orders. I have checked OPPQ and OMI2 transaction but i could not get any clue to create different number range for same plant. Let me know is how we can create.
Regards / USHi Uma,
number range is dependent on plant alone and I don't think there is an user exit or badi to change number range at planned order creation.
I guess the alternative is an enhancement or using some other field to determine what planned orders are manual.
regards,
Edgar -
Single Cheque for Multiple Business Area
Hi Experts
How can I print one cheque for multiple business area with the option of printing different cheques still remaining?
Thanks
NadiaHi Nadia.....If Iam not mistaken you DONOT want to make Separate Payments for each Business Area.
In such a case donot select the checkbox Separate Payments for Business Area -FBZP--Paying Company code customisation.
If this indicator is set, line items from different business areas are paid separately.
Hope Iam clear about this.
Please assign points if helpful
Regards
Aravind -
Hi,
In PR10, for Personal Area 'A' we have two trip number ranges : first from 0001 to 0050 which is exhasted fully. And another is from 9000 to 9999.
Now when user is trying to create trip , the error is coming "Number assignment: Last number has been assigned".
I am not able to crack as to why system is not picking second number range.
What should I do ?
Regards
KrunalTransaction SNUM or PR10.. you can do this there and close the first range and then create the new range for personnel area, it is the same transaction.
New personnel area is object RP_PREL and trip is RP_REINR ...for example:
When a new personnel number is entered, the system determines which number range the control data is assigned to.
The number range is maintained using transaction PA04. (obj RP_PREL)
for example, in RP_PREL:
01 00000001 90000000
02 90000001 99990000 X
feature NUMKR:
NUMKR Infotype 0000 (Actions)
BUKRS Company Code
AU01 Country Template AU
01
DE01 Country Template DE
02
so when create a new employee, if the company code is AU01, then it will use internal assignment; while if the company code is DE01, then it will use the external assignment.
You then need to consider accordingly for travel number range RP_REINR when assigning the personnel area to trip number range.
Also, whilst it is possible to change the trip range as I mentioned previously, it would be advisable to perhaps start in a
different trip range eg 1000000 as opposed to changing the existing range as this means there is less potential of trip incurring duplicate number or being assigned to two different personnel.
If you want to change a number range, you must first set the current current number to initial, then delete the numbe range interval and then create a new interval which is not overlapping with thedeleted one and not overlapping with any existing one!
One more point to remember:
You can create this directly in PRD without transporting from QA and in fact note 91212 explains more, You might also want to check the SAP help regarding this
http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa0365493111d182b70000e829fbfe/frameset.htm
o For reasons of data consistency (this is the main reason why number ranges must not be transported automatically!!), you should generally avoid transporting number ranges and recreate these in the target system.
Best of luck with it
Sally -
Hi,
Can anyone help me in how to set trip number ranges without Personnel area assignment. Basically i would like to assign first in first out and not to restrict ranges for particular personnel area.
Regards,
Anil kumar P.
Edited by: Anil Kumar on Nov 13, 2008 8:32 AMHello Anil,
The User Exit Includes MP56TFEX , MP56TFEX_01 and MP56TFEX_02
(responsible for the dialog) contain different user exits (form
routines) that allow you to set-up the entry screens according to your
requirements.
These user exit includes are a special, release-independent,
modification. This means you can re-implement this modification after an
upgrade without having to make any further adjustments.
Please kindly READ first the following IMG Documentation with regards
to this User Exits:
Travel Management
Business Add-Ins and User Exits in Travel Management
-> User-Exit-Include: Additional Action Options for Data Entry
Regards,
Raynard
Edited by: Raynard Coscolluela on Nov 18, 2008 1:26 PM
Maybe you are looking for
-
I have to log onto my companies wifi by first going thru a log on page that equires a username and password. before i updated to ios 6. it worked fine now it just goes to the login page and when i hit enter it doesnt do anything just stays stuck on t
-
How can I edit an Automator action for Word?
I'm running Word 2008 on a Macbook Pro, Mac OS 10.5. Word comes with a selection of Automator actions, including one to find and replace text in Word. I often want to convert standard numerals to old-style numerals, which are part of the extended gly
-
I am trying to use the attached code to insert records into a table. BUT, it gives me the following error: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error (missing
-
System allow to cancel the delivery with cancel the Billilng Doc
Dear Guru's, System allow to cancel delivery Doc & Reverse PGI Before Cancel The Billing Document ,How to Control It P;ease Quide me. Regards. Sundhar.U
-
Hi All, For setting session items on a Oracle session, we are using ConnectInit method of BO system. This method works perfectly with ODBC drivers but is posing some issues when used with Oracle driver. BO has released a fix for this with Patch ID