Quantity fields + Datasource creation
Why can´t i create a new datasource based on a structure/ table whichs contains currency / quantities fields? Is about the value reference tables?
What are the best choice to replace these fields? Create another Z domain based on a DEC(13,3) DDIC object? is that right?
Sorry if my question is quite simple, but i´m new in BW!
tks!
André
Hi
I have created a Data source using Function Module. Attached link explain steps of doing it.
Hopefully this should help.
However I am facing error for Currency fields...
"Units field WAERS for field STPRS of DataSource ZSTANDARD_COST_PRICE is hidden".
Please let me know if anyone has idea what hidden means in this case... : )
Structure definition is as below :
MATNR MATNR CHAR 18 0 Material Number
BWKEY BWKEY CHAR 4 0 Valuation area
LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
STPRS STPRS CURR 11 2 Standard Price
PEINH PEINH DEC 5 0 Price Unit
VJSTP VJSTP CURR 11 2 Standard price in previous year
VJPEI VJPEI DEC 5 0 Price unit of previous year.
I have checked reference table as T001 and field as WAERS.
Cheers,
Neha.
Similar Messages
-
Error with quantity field:Datasource Creation Using Function Module method
Problem with DATASOURCE Creation using Function Module method :
I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
Let me know if my explanation is not clear enough.
Thanks in advance,
Neha.
Z table definition is as below :
MATNR MATNR CHAR 18 0 Material Number
BWKEY BWKEY CHAR 4 0 Valuation area
LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
STPRS STPRS CURR 11 2 Standard Price " Here the currency field is WAERS and table T001
PEINH PEINH DEC 5 0 Price Unit
VJSTP VJSTP CURR 11 2 Standard price in previous year
VJPEI VJPEI DEC 5 0 Price unit of previous year.
Edited by: Neha Rathi on Jan 30, 2009 3:03 PMHi,
You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
also if you want to populate it then you will have to write the code for this fields as well.
Thanks
Ajeet -
I am trying to create a generic datasource - quantity field is hidden?
Hi all,
I am trying to create a new generic data source using the function module, when i am trying to save the dataosource. I am getting an error message :
Unit field waers.for field dmbtr of data source abc is hidden?
Can anyone let me know how to solve this?
I can see there is one amount field called dmbtr used in the extract structure and it contains the unit field waers.
ThanksHi pooja
here u has to maintain reference field to dataelement dmbrs in order to get this field in to datasource.
for this 1.go to extract structure
2.then go to currency/quantity fields tab
3.give the unit type waers for field dmbrs
4.thensave the extract structure and
5.go to data source and make sure the field is selected
i hope this solves ur problem
satty -
Fields in Creation of free goods VBN1
hi everybody,
Can somebody expalin in detail the fields in creation of free goods(T-vbn1) like free goods quantity,additional quantity,documnet quantity and calculation rule....
<b>Please dont copy paste anything form SAP help....I read that one......</b>
I would appreciate if u explain with your sentence..
Will reward point if it helps.
GhassanHi Gafoor,
Material
Material, for which free goods is to be
granted
Minimum quantity
Minimum quantity for which free
goods can be granted
From
Quantity of sales material
FGQ--- Quantity unit of free goods material
Free goods -- Quantity of free goods with reference to the quantity and quantity unit of the sales material.
AQU - Quantity unit of the free goods additional quantity
Rule - Calculation rule
Prorata
whole units
unit related
D -- Delivery controlling - it tells how you can manage the delivery of free goods with respect to the main item ordered.
Additional material - Additional material (only available for entry in exclusive free goods)
Hope it helps. Please reward if helpful.
Thanks & Regards
Sadhu Kishore -
Hi !
I have created a View and it is consistent without any warning.
Now i want to create a transaction datasource with this view . But it is giving an error .
Invalid Extract structure template <viewname> of <DS name >.
In the long text of the error it is giving that template structure quantity fields or currecy fields refere to different table .
In the suggestion , it is told to create a view with inadmissible fields . But these fields are taken from tables and these are necessary in the DS .
Please tell me what should I do ?Hi,
Please search the forum. This problem has been discussed before.
Just as a pointer, you need to include the original currency and quantity tables as well alongwith the original table you've created the view on.
If you search, you'll get the complete solution for your problem.
Cheers,
Kedar -
Best practice for "Quantity" field in Asset Master
Hi
I want to know what is the best practice for "Quantity field" in asset master. It should be made displayed only or required field in Asset Master creation.
Initially I made this field as required entry. So user entered 1 quantity. At the time of posting F-90, he again entered quantity. So my quantity in asset master got increased. Hence i decided to make that field display only in asset master creation.
Now i made that field as display only in asset master creation. At the time of posting F-90, that quantity field is not coming only. I check my field status group for posting key as well as GL account. Its optional field. Inspite of that user is able to make entry in F-90. Now quantity field is '0' only in asset master even though there is some value in asset.
Please help what is the best practice wrt quantity field. Should be open in asset master or it should be display only.Hi:
SAP Standard does not recommend you to update quantity field in asset master data. Just leave the Qty Field Blank , just mention the Unit of Measure as EA. While you post acquisition through F-90 or MIGO this field will get updated in Asset master data automatically. Hope this will help you.
Regards -
Sales Order is getting created without quantity field getting populated?
Hi All,
I am creating sales order with the help of IDocs. Here I am using the standard function module IDOC_INPUT_ORDERS.
But, when I execute this function module idocs are getting generated successfully but the quantity field is not getting updated. It is getting populates as Zero.
With in this function module there is a perform to check_idoc_orders, when the data flow comes to this point quantity field MENGE is getting cleared.
So just want to know what could be the reason why quantity field is getting cleared.
RaghuHello
Q1 )
If I change option 1 or 2 :
1 User decides on creation if material is missing
Answer:If Material is not Created the system wont allow to add you that material until unless you create the material master created.I am considering here that you don't have material master
2 Creation even though no material is available
Answer:It will allow you to create the work order.i am considering here that you don't have sufficient stock.
Q2) what should be the expected Status for Option 1 or 2.
Before Config it was showing
Status is showing Mat.availability not checked ( MANC ).
After Option 1 or 2, Expected Status ?
Answer: You need to enter value 02 on the Availability Check field on the MRP3 tab of Material Master via TC MM02.
you will be get Material committed MACM after Saving the Order.
Br
Rakesh -
Controlling Quantity Field for PR
Hi Guys,
Here is the situation that i have:
Creation of PR > Creation of PO
After the situation above, i would like to lock the quantity field in the PR section after a PO has been created. Currently i can't change the values if its below the original quantity but I can change the value if its above the quantity.
What can i do to lock the quantity field so that i am not able to change it even though its above the original amount?
So far here are the changes that i have made.
In SPRO > Materials Management > Purchasing > Environment Data > Define Attribute of System Messages
Changed messages:
Message Number - Description - Message Category
076 - Materials of requisition & item & alr. ordered in full - E
648 - Requisition quantity already ordered in full (see follow-on docs.) - E
400 - Materials/services for requisition & & already ordered with & & - E
Thanks in advanceHey,
Is there anyway that we can do it without using the release strategy? As in configure from the purchase requisition only?
After i keyed in OLME > Purchase requisition. I couldn't find the last part field selection key. i did a search and nothing came out.
Thanks. -
Greying out of Material Quantity field in sales order
Hi,
At the time of sales order creation the system proposes the free quantity in the sub line item according to the Free goods determination records (VBN1). The requirement is to make the sub line item quantity field grey, so that the system determined free goods qty should not be changed at the time of order creation (VA01).
Is there any standard settings available or need to use the user exits.
Thanks in advance.
Regards,
GuruDear Experts,
Could you help me on this issue.
Regards
Guru -
Quantity field is not getting as an mandatory field.
Hi all,
when I try to add a material without quantity field it is allowing me to add in the order.
I have Item categeory TAN for which I have assigned incompletion procedure 20 which has KWMENG field for screen PKAU and warning indicator is set.
Despite of this I am able to enter material without quantity.
Is there any other setting I am missing please guide.......
Regards,
RathanHi Mr.Rathan Kumar
As far as I know for Item Incomplete procedure I have added field "KWMENG" with
Warning Indicator set but even then iam not getting error when entering material
with out quantity.
Pls be informed that SAP is giving the option of warning only for Incompletion procedure not error
This is because SAP allows you that there will be some fields which will be incomplete during creation say PO number or order reason in return order That information may not be available during creation but can be filled later in change mode in VA02 transaction on a later date
It is not logically correct to stop with error if any data is incomplete during creation itself
Coming to your issue how we will be doing a sales order
We will give order type then sales area and sold to party and PO number ( if reqd )
Then the materail and qty
Say you are entering material A then not entering the qty pressing enter
System will give warning message (even without the incompletion log set as per your confiuration)
Check that message no if V4 message type in t code OVAH you can convert the message from warning to error
Try this (remove your incomplete config and try)
Otherwise you need to use userexit to throw error when the qty is not entered and if anyone is trying to save the order
My suggestion in earlier post actually does this only, in another way
For your exact requirement you have to use userexit
Regards
Raja -
Problem in Datasource creation in R/3 - Urgent.
Hi experts,
I ahve created a data Source in the R/3 system for a custom table with one key figure and one unit characteristics.
I have a view which does not have these fields and I have a extract structure which in turn has an append structure to hold the above mentioned fields.
I have a generic delta on the date field (upper limit one day).
I have included the code for extracting the unit and quantity in the exit.
Now My problem is when i test the extraction in RSA3 I am not able to view the key figure and the unit characteristics.
In transaction RSA6 I selected the datasource and opened in change mode where i can see the fields for selection, hide, invert and fields known only for exits.
There I unchecked the unit and quantity fields which were marked as hidden and save it. While saving it gave a error message "Data Source Still contains Error".
Can Anyone address this problem.
It's urgent.
Arul jothi.Hi Shiva and AHP,
Your suggestions have actually solved my problem. Now i can see the key figure and the unit in the extraction fields. but now the problem is ....See the following
Component Componenttype Datatype Reftable reffield
ZZBDMNG BDMNG QUAN ZAZOXPRD0020 ZZMSEHI
ZZMEINS MEINS UNIT
ZZMSEHI MSEHI UNIT
The above is my append structure.
ZZMSEHI is the field i have declared which i am not using in my program.
now if i do a test extraction this field is also displyed.
how to avoid this?.
even if i hide that field (ZZMSEHI) it is giving the error "the oltp source still has errors"
arul jothi. -
Problem on menge field i.e. quantity field
hi folks,
In CS01 i.e BOM creation if you put the quantity field at item level it gets stored with commas i.e. if you put 1000 then it gets save as 1,000 .
When i am fetching these from database in program and doing some calculation the program is giving me dump on that value .
Can any body suggest me what i should do .Hi Sandipan
1st answer - replace ',' commas with space.
2nd answer - Go to System -> userprofile -> own data then go to defaults over there and change the settings .
Reward points pls.
Regards
Deepanker -
What are the mandatory fields while creation of material master in differen
what are the mandatory fields while creation of material master in different views?
Hi Gopi,
This is purely depends on the function configuration, which would be done MM consultants. Kindly check with them.
thanks & regards
Kishore Kumar Maram -
Quantity fields not getting displayed in the second total row
Hi,
As per the requirement I have to display 2 total rows for an ALV report using CL_GUI_ALV_GRID. I am able to get the first total row properly using method get_subtotal(). However for the next total row only the character fields are getting displayed and the quantity fields are coming blank.
The second total row will have different values based on a formula.
Please help me out in resolving the issue.
Thanks,
AbhishekYou can provide first row as the SUBTOTAL and next row as the TOTAL.
Get one extra column on which you can do the SUBTOTAL.
Regards,
Naimesh Patel -
How can we remove the following zeros from quantity field ?
Hi All.
how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
eg:getting output zqty = 2.000
but i need zqty = 2.
help me to reslove this issue.
Regards.
jayHi,
While populating the field catlog do the following thing to avoid zeros.
wa_fieldcat-tabname = 'I_OUTPUT'. " Curr
wa_fieldcat-fieldname = 'FWAER'.
wa_fieldcat-seltext_l = text-023.
wa_fieldcat-no_zero = 'X'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
Thanks,
Khushbu.
Maybe you are looking for
-
Problem in sales order Item availability
User created sales order with 5 materials, out of this 5 material first one material X not appear in MD04 transaction. I try to re activate the item availability in sales order,but system not showing the availability control screen. but in schedule l
-
How to insert the partner link (xml)response to data base adapter in BPEL:
Hi to every one, I have little bit knowledge in oracle SOA suit and having knowledge in java technologies, I am developing one central reporting server for this I have the following requirement. I need to call ‘N’ departmental servers (partner links)
-
Best way to do a clean install ?
After having some major issues with OSX 10.8.5 I decided to reinstall OS X. But I'm not sure what I did wrong as I can't seem to boot into the apple hardware test that should have been on my mid 2011 iMac, the recovery partition seems to be gone also
-
When I perform a Google search, loner windows also go to the google search term site.
Sometimes when I am browsing, I click on a link that opens a new window. So far, so good. Then I may go back to the main browser window and perform a Google search. The little extra window changes to the address for the search term, right along with
-
Appl_physical_path in PHP
I purchased an extension from the exchange and it does not work like it should. I contacted the author and they told me I need to have appl_physical_path enabled on my server. We are running IIS and PHP5. The admin told me that appl_physical_path