/RPM/ITEM_MODIFY is not taking custom number range for external ID during creation
Hi Experts,
I face an issue in trying to create projects through file using /RPM/ITEM_MODIFY.
I have been successfully able to create both item and project but it somehow is not taking the external number range for project ID that we had defined for the item type. It takes the SAP standard number for Project ID (external ID). I want the FM to create using the external number range that we use.
Can someone help me with this?
Regards,
Amit
It is not through PS project. No linkage as we have not integrated this with PS. It is through item.. check the code. This is just to check how to create from backend. This is where we don't get our custom project id. it takes sap project id.
DATA : ls_item_context type /RPM/TS_ITEM_CONTEXT.
DATA : ls_attributes type /rpm/ts_item_d_api.
data : ls_GUID Type /RPM/TT_GUID .
data : ls_detail_guid type /RPM/TT_GUID.
data : l_rc type i.
data : lT_ATTRIBUTES TYPE /RPM/TT_ITEM_D_API.
data : LV_NRLEVEL type NRLEVEL.
data : Lv_NRLEV type char20.
ls_item_context-CREATE_CPROJECT = 'X'.
ls_item_context-CPRO_TEMPLATE = '45A24B95FB43010200000000837FF54C'.
ls_attributes-portfolio_GUID = '456C418E3AED018800000000837FF54C'.
*ls_attributes-EXTERNAL_ID = '102680'.
*ls_attributes-parent_GUID = '4576F8DCF90B01F800000000837FF54C'.
ls_attributes-parent_GUID = '4717C6437A8D010A00000000837FF54C'.
ls_attributes-Proj_description = 'NEW TEST'.
ls_attributes-item_type = 'ZPEP_PT_31'.
*Select single NRLEVEL into lv_nrlevel from NRIV where OBJECT = 'ZPEP_NPO'.
*lv_NRLEVEL = Lv_NRLEVEL + 1.
*lv_NRLEV = lv_NRLEVEL.
*ls_attributes-EXTERNAL_ID = lv_NRLEV.
APPEND ls_attributes to lt_attributes.
CALL FUNCTION '/RPM/ITEM_MODIFY'
EXPORTING
IV_LANGUAGE = 'EN'
IV_CHANGE_MODE = 'C'
* IV_COMMENTS =
* IV_SHORT_TEXTS =
IS_MODIFY_CONTEXT = ls_item_context
IMPORTING
EV_RC = l_rc
TABLES
IT_ATTRIBUTES = lt_attributes
* IT_ACLS =
* ET_MSG =
ET_GUID = ls_GUID
ET_DETAIL_GUID = ls_detail_guid
If sy-subrc = 0.
CALL FUNCTION '/RPM/SAVE_CHANGES'
* EXPORTING
* IV_CHECK_ONLY = /RPM/CL_CO=>SC_FALSE
* IV_REMOVE_OBJECTS =
* IMPORTING
* EV_RC =
* ET_MSG =
if sy-subrc = 0.
endif.
endif.
Similar Messages
-
Number range for external id for inbound delivery in SAP MM
Hi All,
I have an issue wherein user is not able to see the inbound delivery if external id is exceeding 10 digits..
Example :- supplier has maintained EXTid- 1237464123-1. For this we cant see inbound delivery.
but in SAP when we enter 1237464123 we can see the inbound delivery.
can anyone tell me how to resolve this issue... ? it is getting CRITICAL
Thanks ,
forum shahHi,
Thnx for the info.. but the issue here is that the IDOC is not created bcz GR is done manually ie thru' VL32N.
So i dont understand if the system allows the usage of special character for external id.
When i tried to create the External id using special char in TEST system , i could create it. I dont know abt production...
wht is the next step to be taken...
Thanks,
Forum Shah -
Customer Master data creation with customized number range
Dear all,
Can somebody know how to create the customized number range for customers like first 2 digits represents Sales organization and next 2 digit should represent circle,next 2 distribution chaneel and last 4 digits shold be the running number.
Looking for solution..
Thanks & Regards,
Murali.Hi,
In your case you need to define as following
Step No: 01.
01.Sales Orgination with 0001 to 0099.
02.Regions with 00 to 99.
03.Distribustion Channel with 00 to 99
Step No:02.
Define PDP with the diffrent account groups defined for diffrent Sales Org, Regions & DC's.
Step : No: 03.
As per the above configs go to TCode for Number range for accounts groups in XDN1. Say Example as
XX--- From:1010100000 to: 1010109999. Note the possiable numbers are 0000 to 9999 only.
10 is sales Org, 10 is Region & 10 is DC's.
This is one of the way to do. The other way is to develo Z table and to use the user exit / new progarme to identify the requried number range with reference to Sales Org, Regions & DC's
Hope this is fine with your requrment.
Bye & enjoy SAP.
Koganti. -
Not able to created Number Ranges for Asset Classes in AS08
Dear Friends,
I am not able create Number Ranges for Asset Classes in AS08.
It is giving me an error message as company code does not exist.
When I Check Consistency under path SPRO -> Financial Accounting -> Asset Accounting -> Preparing for Production Startup -> Check Consistency -> Overview Report: Company Codes. I am getting the following
RSOL Reliance Sealink One PLtd
CoCode no. alloc. NKTR
Fiscal Year Variant V3 Apr.- March, 4 special periods
Start 2nd half month 00
Transfer date 31.03.2006
Chart of dep. TOLL Chart of Depreciation - For Highway Projects
Net worth tax 01 Book depreciation as per Compinies Act 1956
Enter net book value
Status company code 2
Current fiscal year 2007
Doc. type dep. pstng AF Dep. postings
> Number range &1 in co.code &2 for doc.type &3 must be defined as internal
Calc.insur.value
Input tax exempt
If you see the above first two line you will find the difference is that Company code RSOL in the first line and NKTR company code in the second line.
Actually CoCode no. alloc. has been wrongly copied as NKTR while copying CoCode it should be RSOL and not NKTR.
I think because of this wrong allocation it is giving me an error in AS08. Also it is not showing me CoCode in drop down list in AS08.
Please help me to resolve the problem.
Thanks
Rahul JainLook in TC OAOB if the company code is assigned to a chart of depreciation
-
Multipe number range for indonesia tax invoice no.
Hi All,
I have one question to confirm with you all:
Our indonesia office need to print out tax invoice when billing document is created.
The format is TTS.BBB-YY.NNNNNNNN , and only TTS is fixed, the other 13 digits changes.
And we can only get one number range from tax office for almost one month's usage, which means we can not maintain the number range for one whole year in one time.
Question 1: How to maintain mulitple of number ranges for one year:
I'm thinking if we can maintain different number in table "V_OFF_NUM_ID"
2014/01/01 – 2014/12/31 900 ID0114 01
2014/01/01 – 2014/12/31 901 ID0114 03
2014/01/01 – 2014/12/31 902 ID0114 04
2014/01/01 – 2014/12/31 903 ID0114 05
2014/01/01 – 2014/12/31 904 ID0114 06
But the "code 2" is same sometimes, so I have to do so
2014/01/01 – 2014/12/31 900 ID0114 01
2014/01/01 – 2014/12/31 901 ID0114 03
2014/03/28 – 2014/12/31 901 ID0114 04
2014/01/01 – 2014/12/31 903 ID0114 05
2014/01/01 – 2014/12/31 904 ID0114 06
But if so, I don't know when the billing date is after 2014/03/28, and the number "03" is not used up, system will pick number range of 04 or 03?
Question 2:
The revision billing document after reversal must have the same tax invoice no. with the "original billing" & reversal billing"
The SAP standard use new tax invoice no.
How to realize it?
Question 3:
YY is year and defaulted from billing date?
Thanks and best regards
CathyYou are correct that this is statutory requirement, and SAP deliver the solution, you can refer to note
1033737 - Indonesia: Tax Invoice & VAT Reporting 1107 .
However, from 04/2014, the requirement changes
TTS.BBB-YY.NNNNNNNN
Before: Only NNNNNNNN changes and SAP suggest using one number range
Now: BBB-YY.NNNNNNNN changes, and there are quite a few number range per each year.
Can not get one number range for one whole year.
Therefore, I raised my question as above. However, I think I have answer to my question, just I'm looking for one more perfect solution if there is:
1> The answer for 1st question
When the "code 2" is same sometimes, I will maintain as below
2014/01/01 – 2014/12/31 900 ID0114 01
2014/01/01 – 2014/12/31 901 ID0114 03
2014/03/28 – 2014/12/31 901 ID0114 04
2014/01/01 – 2014/12/31 903 ID0114 05
2014/01/01 – 2014/12/31 904 ID0114 06
By testing, only if the number of 03 is used up even though the billing date is 2014/04/01, the number 04 will be used, so should be okay.
2> The answer for 2nd question
The revision billing document after reversal must have the same tax invoice no. with the "original billing" & reversal billing"
The SAP standard use new tax invoice no
Since there are only 3-4 reversal per year, so user can realize it by changing the "current number" in J1AB
You mentioned it in
http://scn.sap.com/thread/3519329
but I did not try until I'm sure it will work
3> YY
I think it's should be from billing date. -
Incorrect number range for good receipt (WE)
Hi,
We have a number range defined for goods receipt document WE for the year 2010.
Now wehn i posted a good receipt on 06th January,2010 material document was generated with other number range (defined for year 9999) instead of tat defined for year 2010.
Can any one plese help us understand why it is not picking up number range for year 2010 ?
Thanks.Go to OBA7, select the document type WE and execute. There check what number range object is assigned. Next go to FBN1, key in company code and execute. There ensure that for the same object, number range is maintained for the year 2010 also.
thanks
G. Lakshmipathi -
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 -
Hi SAP Gurus
We have been reviewing our customer master data and noticed that a series of GAP in our customer number range.
Please could anyone advise on what is reponsible for this and how it can be fixed.
Thanks, FelixHello Felix,
There are a number of reasons why gaps in invoice numbers may occur:
1. Object RV_BELEG is buffered. In this case the performace is improved
but this gaps are produced.
2. Update terminate/shortdump occures while billing document update.
- the number is set in to the invoice at the beggining of the program
If an interruption of the process happens after the assignation of
this number, the number has run in the range and cannot be recovered.
Update terminations in transaction VF01 and VF04. The billing
document number is reserved prior to the update. After a possible
update termination, it cannot be used again. Update terminations are
displayed in transaction SM13. At present, there is no possible
solution.
3. Incorrect userexit, eg.in Program RV60AFZZ, USEREXIT_NUMBER_RANGE.
Please check the following notes in order to solve this incidence:
175047 Causes for FI document number gaps (RF_BELEG)
19050 Gaps in document number sequence for billing docmt
23835 Buffering RV_BELEG / Number assignment in SD
As you might need to answer to the auditor on the gap of the invoices,
report RFBNUM00 from note 175047 will help you to display
document number gaps to the auditor if in your country the FI document
numbers must be assigned continuously. You use this report to document
the number gaps and the auditor will accept it.
We know that in different countries you have to explain document gaps
to Legal Authorities. For this reason there is report RFVBER00 to
document gaps occured due to an update termination.
As I already stated above report RFVBER00 does only list update
terminations that are not older than 50 days (or according to what time
is maintained in your system). So it could be that this log has already
been cleaned up. It is necessary that these update terminations are
documented before the 50 days expire.
Or a second possibility is that the gaps occured NOT due to an update
termination. Gaps without update terminations be (easily) explained.
They can be (only) detected via report RFBNUM00. Report RFBNUM00 display
these document number gaps for the number range object RF_BELEG.
Thanks,
Alex -
Hi
I have following requirment in customer number range,
While doing conversion from legacy to SAP, Sold to number is 1234 and bill to number is B1234, how can we do this, are there any user exit for this. let me know the solution please
regards
SatishHi,
suggestion -1
I guess in standard SAP its not Possible,
Actually the internal number are assigned through Number Range Objects defined through tcodes SNRO and SNUM.
You have to change the number range assignments SNUM, but remember these number ranges defined are not transportable. They have to manually defined in each client/system.
Check transaction VN01
suggestion -2
Even if I would not recommend that you implement such process, you can still have a look to BAdI CUSTOMER_ADD_DATA.
There is a method to implement your own numbering.
Regards,
Raj -
External Number Range for Customer Master
Hi,
If we give External Number Range for a Customer Account Group in SPRO, Can we let the System to generate the Customer Number(Internal)? Or always we should provide a Number for the customer?
Thanks,
Sekhar.JHi,
System will not consider two Number Range Assignment, simultaneously.
Here are few links:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/01/a9b191455711d182b40000e829fbfe/frameset.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/53/c9864aca3711d2b494006094b9114a/frameset.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/ea/cffb3aebc63b61e10000000a11402f/frameset.htm
Best Regards,
Amit -
Number range for object BANF does not exist
Hi Guru's
I have been trying to convert the Planned orders to Purchase requisition and unfortunately the system consistantly giving me the error as reflected below despite changing the numbering range on the affectred documents. Please help.
Number range for object BANF 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 the 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 planning)
MDTB MRP listHello,
You can define number range for Purchase requistions in OMH7 transaction agaist each number range number and you assign can assign these number range number to your purchase requistion document types in SPRP >> Materials management >> Purchasing >> Purchase requistion >>Define doucment type.
E.g for NB doc type number range number is 20
and in OMH7 number range number 20 has interval from- 2000000000 to 2099999999
same way
for RV doc type number range number is 21
and in OMH7 number range number 21 has interval from- 2100000000 to 2199999999
Regards,
Shailesh -
Custom number range to sales orders
HI Gurus
I have a requirement to keep a custom number range to sales orders. The number range should start with X.The next two characters should be based on the user name. The remaning part is the sequence number. Please advice the best way to do it.HI Seshu
If we need to use that user exit we should assign the number range as internal. From here you can select a number range but not the number. If we assign any number in the user exit then the vbeln is refreshed. I am thinking of creating externel number range and write some code in the field exit of vbak-vbelen. Will it have any side effects. And is there any number range object in SAP. I know in oracle we can create a number (counter). Please advice -
Dear Friends,
How sud I maintain number range for the customer?....Hi
No ranges are defined customers account groups in t code XN01 and
assigned to the respective account group in t code OBAR
Img-financial accounting (old/new both you can use)-accounts receivable and accounts payable--customer accounts-master data----preparations for creating customer master data
(The whole controls you can see here under this)
Here first you will define your account group (for field selection)
1. T code OBD2 define account groups with screen layout (customer accounts) activity
then you will define no ranges for your account group
2. T code XN01 define no ranges for customer account groups
then you will assign no ranges for your respective account group
3. T code OBAR assign no ranges for account group
You have to go to change intervals and define your pwn available intervals and then assign them to the respective account group
So while you create a customer in XD01 in the respective account group that no range will be automatically assigned if it is internal or we can give our no if it is external
Note if you define a new account group then you have to define partner functions also in img-sd-basic functions-setup partner determination---setup partner determination for CMR apart from the three major activities listed above
Regards
Raja -
Number range for object MDTB does not exist - Message no. 61501
Hi All ,
I have done the necessary configurations in PP say
Order Type
Order Type Dependent Parameters
Scheduling parameters for planned & production order
Confirmation parameters
Availabilty check etc
and iam able to create planned & production order and confirma the production order.
I want to configure for MRP: -
Settings done are
Have activeted planning file entry for all plants.
When i run MRP system throws a error <b>Number range for object MDTB does not exist - Message no.61501 </b>
Is there anything to do with plant parameters OPPQ and Mrp Group OPPR.
I just tried plant parameters,standard 0001 is not available for copying.
Suggest me how to proceed to set MRP.
ShankarHi shankar
it is a good practice while creating the plant copying the plant from the standard plant so that all the standard table enteries will be copied for the plant as the standard plant is not there youcan think of copying from any other plant similar to your plant which has the required entry. else
in SE16N check the NRIV table for the Object MDTB. if enteris found then make the table entry with the help of abaper.
hope this helps
regards
SK -
SRM's WDJ application is not taking custom theme
Hi All,
I'm working on the Portal branding. We have SRM BP deployed in our portal. I've created custom theme and desktop for the user.
I'm able to see the portal's different section as per custom theme. WDA/WDJ application's UI which is opening in the content area of portal is also showing as per theme.
When I'm trying to access the SRM BP portal content which is the collection WDA/WDJ application, inside portal content area showing as per theme. But one WDJ Iview related to MDM catlog data is opening in new window, in that WDJ UI is not taking custom theme color. UI is showing default theme "tradeshow".
I tried few SAP note(Note 1446099 - Web Dynpro application not displayed in customer theme) to synch the patch of portal and WDJ stylsheet but no luck.
Pl share your input to solve the issue.
Thanks!!!
DeepakHi Shishil,
Thanks for reply. Yes MDM component is in the same server.
I've tried below option to fix the issue but no luck:-
>Note 1446099 - Web Dynpro application not displayed in customer theme
>Note 1012065 - Technical Web Dynpro configuration in SAP NetWeaver 7.1
>Note 1000889 - CSS Style Sheet Integration of Web Dynpro and the Portal
>http://help.sap.com/saphelp_nw70/helpdata/en/1e/535d420447e054e10000000a155106/frameset.htm
When i tried to set the default Web Dynpro theme by modifying the sap.theme.default property, which is also located in the Propertysheet default folder with the below URL, no success:-
http://<host>:<port>//irj/portalapps/com.sap.portal.themes.lafservice /themes/portal/sap_chrome.
Deepak!!!
Maybe you are looking for
-
How can three iphones have seperate icloud accounts, but share itunes?
Hello guys, I hope someone can help me with this question; ok here goes... I have an iphone 4s, one of my daughters have an ipad (we both share itunes ID), recently my two daughters were given iphone 5s'. Ok the problem is that one of them connected
-
I have just transferred my entire application file from an Imac to an identical Imac, both running OS 10.9.5. Everything works fine, excepting that when I attempt to open Photoshop 6, I am prompted for the serial number. I enter the serial number pro
-
How to terminate a java thread from c++ code?
Hi, I made a screensaver which loads a jvm, forks a thread running a java class, wait until user's action(i.e. mouse move/click keyboard input), then terminate the java thread. However, I met a problem, How to terminate a running java thread from c++
-
Hi, I am creating a movie that contains a gallery of thumbnail images. Hi-res versions of the images are in a folder on the CD. My client wants to be able to click on a given image & be able to save the hi-res version to a location on the harddrive.
-
ias904 - winclient - unix servert (AS/DB) Trying built-in - read image file I'm getting a 0 byte file created on the server. Is the built-in write_image_file windows only or is there something else missing ? Thanks for any hints Pete 2004-Jun-25 12:5