ABAP program to neutralize 0Unit value and 0quantity value
Hi all,
I'm not expert in ABAP, and i would like implement a small abap program (routine)in my cube.
I would like neutralize the 0UNIT value and 0QUANTITY value only when 0VTYPE = 1 or 2 :
<b>in other words, if 0vtype = 1 or 4 then 0unit = space and 0quantity = 0
b]
Can you tell me please <b>how and where</b> write the ABAP program please ?
Message was edited by:
Pontoise Pontoise
Message was edited by:
Pontoise Pontoise
Hi,
I amnt able to understand your requirement. But the code for which you asked is simple.
If 0vtype = 1 or 0vtype = ' '.
0unit = space.
0quantity = 0.
endif.
Regards
Aneesh.
Similar Messages
-
Can anybody tell me how to extract sales value and cost value for an materi
dear all,
Can anybody tell me how to extract sales value and cost value for an material sold .
All the values of cost value and sale values are getting stored in bseg-wrbtr field .
How to identify them uniquely.
Or there is another way to find the sale and cost values.
Regards
MaveHi Mave!
Normally there is no condition change, when something is sold.
But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
Regards,
Christian -
APC Value and Plan Value for an Asset.
HI Gurus,
I am developing a report where I have to display the APC value and Plan value of an Asset.Can anyone pls give an insight how to find this for the Asset.Hi,
why don´t you use the logical database ADA which most of the FI-AA standard reports do? The logical database is a service to get this information without developing all the READ information and translation by yourself, especially when talking about mid-year-reporting, consistence checks, etc..
If you decide to use ADA, then the events GET ANLA0, GET ANLAV and GET ANLCV are from interest for you for information about APC and planned/posted depreciation value.
Regards,
Markus -
Excise Value and Freight value should be add to material cost in the depot
Hi,
Can any one help me on my scenario?
We have depot concept my client requirement is excise Value and Freight value should be add to material cost (inventories at depot) in the depot
Thanks & Regards
KMRHi All,
In Depot Sale. This are the Excise Duty Passed on to the Customer BED, AED ECS, SHECS, Other then that its added to the material cost. Define a Pricing procedure for value added to the material cost in both Procurement & Sales base your problem will be solved.
Regards,
Pherasath -
Report on OA target value and net value
Hi all,
Is there any standard report that can list out the target value and net value of a number of OA? The values are similar to ME33K -> Header -> Statistics -> General. Thanks.Thanks all. I had found the answer. It should be transaction ME3L, change layout to select "Released value" and mark the column to show total value.
-
Dear Experts,
In Import pricing procedure we different pricing condition like
1.PACKING AND FORWARDING
2. SUPPLIER INSURANCE
3. OCCAN/ AIR FRIGHT CHARGES
4.IMPORT INSURANCE
5. LANDING CHARGES
to obtain NET VALUE which are pricing condiion value has to added
Please tell me what is difference between Net VALUE and ASSESABLE VALUE,
THISHi,
Net value is basic material price with includes all delivery cost & fright.
Asseable value is
Basic price (% of material value) depent on product & chapter ID. (Custom will provide abetment for product)
Fright (Import)
Insurence cost
Landing cost 1%
SAM
Edited by: Saminathan Gopalan on Jun 9, 2010 4:19 PM -
Urgent! Display lookup value and return value at the same time.
We are using pop up lov.
How can we display lookup value and return value at the same time. let me claer..
Our lov query is like fallowing
select dname, deptno from dept
we want to return deptno column into a database bind text item and dname column into a display item (look up)
can we do it (we need to do)
thanks for your help.We did it .
But pop up key lov (display description return value ) property doesn't appear for tabular forms item.
(Report Attributes pages Tabular Form Element section display As property list)
can we set or not.
Thank you. -
Integer values and decimal values in weblient UI - Display mode
Hello,
i have developed an custom assignmentblock with some custom fields.
Some of this fields are integer values and text values.
Some other fields are decimal values.
I face the issue that this decimal values are in display mode right-aligned all other fields are left-aligned.
In edit mode all values are right-alligned.
How can i change this behaviour? All values left-alligned in display mode!
Otherwise this looks strange.
Thank you
Kind regards
ManfredHi,
Decimal values will be displayed right-aligned. To change that you need to modify the GET_M method.
In get_m method, you have to change the attr datatype to string.
Data: attr type string.
Data: dref type ref to data.
Get reference of attr into dref.
Regards,
Arun
Edited by: Arun Kumar on May 14, 2010 3:03 PM -
Posted values and unposted values
Hi,
Could anybody please tell me whats posted values and unposted values?
Thanks.Hi Komalapriya,
I can imaging two scenarios where the word "posted/unposted value" makes sense.
1. If you have a master data value which is not being used in your transaction data, then this master data value in an unposted value.
2. If you have transaction data with empty characteristic values (which are shown as "#" in your reports), then these values could be named unposted values as well.
Kind regards,
Stefan -
Standard report which can show the details of Invoice value and PO value
Hi all,
Is there any standard report which can show the details of Invoice value is more than 5% of PO value. MIRO value and PO value.
If any report which caters the maximum requirement is also fine
Regards
Sanjith
Edited by: Sanjith Sethu Lekha on Dec 6, 2011 2:42 PMHi
Please refer the below mentioned link
/thread/1789934 [original link is broken]
Regards
Praveen P C -
Issue with the ABAP program to find BI lookups and code Patterns
Hello dears,
I'm trying to use the ABAP program LOOKUP_FINDER:
http://wiki.sdn.sap.com/wiki/display/BI/ABAPprogramtofindBIlookupsandcodePatterns
But I have the following issue:
Runtime Errors
RAISE_EXCEPTION
Short text
Exception condition "NO_FIELDCATALOG_AVAILABLE" raised.
Error analysis
A RAISE statement in the program "CL_GUI_ALV_GRID===============CP" raised the
exception
condition "NO_FIELDCATALOG_AVAILABLE".
Since the exception was not intercepted by a superior
program, processing was terminated.
Source Code Extract
Line SourceCde
1 method set_sort_criteria.
2
3 *... (1) Trace?
4 if not mr_trace is initial.
5 call method mr_trace->add_trace_item
6 exporting
7 i_trace_item = 'SET_SORT_CRITERIA'
8 ir_variant = m_cl_variant
9 it_data = mt_data
10 it_info = mt_info.
11 endif.
12
13 if m_cl_variant->mt_fieldcatalog is initial.
>>>>> raise no_fieldcatalog_available.
15 endif.
16
17 m_cl_variant->mt_sort = it_sort.
18
19 call function 'LVC_SORT_COMPLETE'
20 exporting
21 it_fieldcat = m_cl_variant->mt_fieldcatalog
22 changing
23 ct_sort = m_cl_variant->mt_sort.
24
25 endmethod.
This issue is located in the FM 'REUSE_ALV_GRID_DISPLAY' called at the end of the program.... maybe because the catalog is empty?
For your information, I called the program 'ZLOOKUP_FINDER'.
Can you help me to fix this issue?
Regards,
Vince.Hi Vince,
If a table is empty field catalog usually return no error it just display your field catalog with headers .
I think the issue is with building of field catalog .
May be some settings are missing there .
Please check FM REUSE_ALV_FIELDCATALOG_MERGE where field catalog is getting generated.
Regards,
Jaya Tiwari -
Modeling Question: Last Item value and First Value
Dear all,
I have the data coming in the following format:
Data Source:
HEAD1 1 21.01.2005
2 21.01.2005
3 21.01.2005
4 21.01.2005
5 23.01.2005
6 21.01.2005
7 21.01.2005
8 21.01.2005
9 21.01.2005
10 25.01.2005 * ( I need this last Value)
HEAD2 1 26.01.2005 * ( I need 1st Value)
2 28.01.2005
3 28.01.2005
4 28.01.2005
5 28.01.2005 * (I need this last value)
HEAD2 1 29.01.2005 * (I need this 1st Value in the report)
2 30.01.2005
3 30.01.2005 * ( I need this last value in the report)
And I want in reporting as:
Reporting:
0) 00.00.0000 21.01.2005
1) 25.01.2005 26.01.2005
2) 28.01.2005 29.01.2005
3) 30.01.2005 00.00.0000
What can be my options?
I am not interested to use ABAP logic..
Is any last and first value aggregations can be helpfull??
Thanks for your time..
Regards,
HariHi Aborgeld,
you can remove headers after writing the csv by using Get-Content $file | Select -skip 1 | Set-Content $file.
If null values are a problem for your SQL, this may work for you in your Select-Object call:
# Service Pack Filter-hash
$spf = @{
n = "osServicePack"
e = {
if ($_.osServicePack) { $_.osServicePack }
else { " " }
# Using it later in Select
Select-Object Name, lastLogonTimestamp, OSName, ParentContainerDN, osversion, $spf
Cheers,
Fred
There's no place like 127.0.0.1 -
BUDGET PLAN VALUE AND DISTRIBUTABLE VALUE ERROR
Hey Experts,
We have user Investment management for Budgeting process. We have been using this for last 5 years. After creating the AR and assigning them to the Budget program, we use IM34 to do the rollup of the plan values. After that to allocate the Planned values as budget value, we run the transcation code IMCCP1. For past all years this has been smooth, We found today that the program for 2011 has error as follows
When we did the distribution in jan 2011
Budget distributed Current Budget Distributable Plan Values Cumulative
10000 10000 10000 10000 10000
When we checked it this Feb 2011
Budget distributed Current Budget Distributable Plan Values Cumulative
10000 20000 20000 20000 20000
It is very surprising that the values have exactly doubled. There was no changes done for any AR of no one changed the IM34 run nor IMCCP1. Please help in resolving this issue.
Regards
VikatHey Experts,
We have user Investment management for Budgeting process. We have been using this for last 5 years. After creating the AR and assigning them to the Budget program, we use IM34 to do the rollup of the plan values. After that to allocate the Planned values as budget value, we run the transcation code IMCCP1. For past all years this has been smooth, We found today that the program for 2011 has error as follows
When we did the distribution in jan 2011
Budget distributed /Current Budget /Distributable/ Plan Values /Cumulative
10000 /10000 /10000/ 10000 /10000
When we checked it this Feb 2011
Budget distributed/ Current Budget /Distributable /Plan Values /Cumulative
10000 /20000 /20000 /20000 /20000
It is very surprising that the values have exactly doubled. There was no changes done for any AR of no one changed the IM34 run nor IMCCP1. Please help in resolving this issue.
Regards
Vikat -
Cant able to see new value and old value for change in purchase order text
Hi all ,
I am not able to see changes done in material's purchase order text in material master. When i use tcode MM04 to see changes done material master it does not report new and old value for change if it is done in purchase order text of that material .
Thanks in advance ,
ShikhaHi Shikha,
I'm not sure it works or not. But you can try SCU3 t.code and table DBTABLOG. May it can help you out.
I also faced this type of issue in Plant data and it get resolved.
Try and let me know...
Regards
Sunil Sisodia -
How to create a PDF with substituted key-value and table-values using a template language
I have about 50 key-values and 10 table-values that I want to substitute into a formatted report template (language can be anything standard, would create a small number of these templates) and then use an Adobe tool to substitute the values into the template and produce a PDF. Preferably the template language would permit some basic conditional logic (if <key #> has value <value> then <show key label here> and <key value here> in close spatial proximity on the form) and permit embedding of a static graphic logo, text with fonts/styles, etc. to produce a polished report but also handle pagination (e.g. enable page breaks or numbering) to be handled automatically.
What is a recommended template language and product to accomplish this?Are you thinking of something like a blank form that you can enter information into, save, and send to another user? If so, what you want is possible. If you want more information, post again and include more details about how you want to use it and how the recipient will use it.
Maybe you are looking for
-
I can't do it! I am willing to add questions but I can't because it just shows me a blank screen. I even tried rebooting my entire iPad2 and that didn't work. I know it is not a certain app because I tried multiple ones.... HELP!
-
Hi everybody. when i try to enter to A/R Reserve Invoice, i got this error "Linking Primary sales accounts has not been completes" but if i change "Postion Periods " to 1 dic 2006 to 31 dic 2006 then it's works. but if i change to 2007 January gives
-
JTable: Setting tab order
Lets say that I have a table with ten rows and five columns. The default tab order tabs through each cell, left to right, top to bottom. How do I EXCLUDE the cells of the two leftmost columns from the tab order? Many thanks in advance, especially for
-
Need Help in JNDI Datasource using tomcat and spring
Hi, I am trying to connect my local database using JNDI datasource in tomcat and spring I have done the below configuration in Tomcat 7 server: In tomcat server.xml (Path: E:\apache-tomcat-7.0.35\conf) I added the below configuration <Resource name="
-
Entry in table TAORA missing! Please help with this error!
I am moving a Z table from QAS to PRD and in PRD the table gets moved in inactive state. When I try to activate it I get an error "Entry in table TAORA missing". Could someone please give me any information how to fix this? Thanks. Mithun