Read Modifer Table for Value
Hello Experts,
Currently we set Modifiers at custom rule "ZMOD" for Payroll constants. We set different modifiers for different groupings of employees.
I have a requirement, where we need to read the value that was set for Modifier A and store it in the number field of WT 5000. How I can achieve this? moreover... after getting the value we do some calculations.... and the result should be set back to the Modifier 2.
For Eg: If we have MODIF A=02
For WT 5000 in Number field we need to put the value of 02. After doing some calculations, lets say 02*02 = 04. We need to reset the value of MODIF 2=04, by reading the Number value for WT 5000 and setting it as a MODIFIER A.
Can anyone please through some light on this! All inputs are appreciated and rewerded appropriatly.
Thanks,
Janga K.
Hi Remi,
Thanks for your inputs, i have solved it by reading table MODIF.
TABLEMODIF
NUM=BMOD0A
ADDWT *
This way, i have stored the modifier value of A to the number field of the wage type.
Thanks,
Janga K.
Similar Messages
-
How to read a table/structure value in a container from a Z program
Experts,
I have a WF with one of the container element is a multiline table element of the strucuture BSEG. Now I have a report where given a WID, i need to read the contents of this structure from the workflow container and display in ALV grid.
I'm using the FM SAP_WAPI_READ_CONTAINER or SWW_WI_CONTAINER_READ to read the container. No issues till here now.
I'm able to read the contents of the attributes that are simple without being in a structure/table.
But, how do i read the values from the table/structure in the container from this FM?
I see lots of threads talking about SWC_GET_TABLE or something like that. But I don't know whether and how to use it in my scenario. Any sample programs will be greatly appreciated.
Thanks,
SamHey,
No issues. I sorted out myself. Glory to God in the Heavens!
-Sam -
Usage of formula variable with custom table for values
Hi,
I have the following scenario:
a customer wants a report regarding payments of invoices with a formula in it to calculate interest results. In order to do so they want to be able to define a interest rate wich can be used to calculate te result by multiplying the rate by time and amount (for every line in the query the same rate should be used).
As a solution I thought it would be easiest to give the key user access to a custom table via a custom transaction and then use the entered rate in the query by selecting it from this table using a formula variable (using an exit).
I was wondering if anyone has ever used such a solution, or if one thinks this is possible.Hi Brock,
Its possible, but I haven't tried as requirements didn't imply.
More simpler idea is why don't you use a flat file loading through the IP to Info providers?
Or even more better option is why don't you adapt to Virtual Info providers?
For your suggested custom table using custom transaction, we can surely make it. Its possible in SE93. Try this transaction code. It must definitely help.
Thanks,
Arun Bala G
Edited by: Arun Bala G on Jan 11, 2010 2:16 PM -
Table for value of Inspection lot
Hi All,
In which table i can find the value of inspection lot ?
Please give the information in detail .
Thanks inadvance.
SatishHello
Are you looking got inspection result , then you can refer QAMR or if your require information on inspection lot you can check QALS & QAVE
Regards
Gajesh -
Abap tables for adapter engine errors
Hello,
Which ABAP tables in PI will have the data relating to adapter engine errors (like the communication channel errors). Is there any way I can get the adapter engine errors from abap tables?
Any help is very much appreciated.
Thanks
MLSHello,
What I am trying to do is write a report in ABAP, which will read the table for errors (for messages which are not processed successfully in Integration engine or adapter engine) and email those errors to users. If there is communication channel error in RWB, the message in sxmb_moni is still shown as success and is not being updated in table SXMSPERROR.
We cannot use PI Alerts here since the email list is dynamic for the same PI interface.
Any ideas on how to accomplish this?
Thanks
MLS -
Tables for char and attributes
Hi ,
How to identify that a characteristic for an inspection lot has long term characteristics ?
We want to retrieve the characteristic attributes for qualitative characteristics . What is the table link for the qualitative characteristics and the characteristic attributes ?Check following thread--->
Control Indicator field in Inspection plan characteristics
for tables
Results Recording QAKL Results table for value classes
Results Recording QAMR Characteristic results during inspection processing
check bapi
BAPI_INSPCHAR_GETRESULT
Edited by: Sujit Gujar on Mar 15, 2011 9:35 PM -
We would like to include in the UUT_Results table a value that we read from our data base into a local variable during the execution of our sequence file. We found that by modifying the configure database options we were able to add a column for this variable, but the local variable was not available to be placed into an expression for that column from the local variables or parameters. Is it possible to do this, and if so, how? Station Globals were available to be included in the expression, however the sequence file may be executed on more than one system which makes the Global unavailable on systems other than the one where the sequence file originated.
You can use the TestStand API to programmatically create global variables at runtime, thus ensuring their existence. For example, you could call Engine.Globals.SetValString("GlobalStringVariableName", PropOption_InsertIfMissing, "variable value")
Of course, if you need to test multiple UUTs in parallel, a single global is not sufficient. In that case you might consider adding the field you need to the UUT datatype in the process model. You could then access the field in your sequence via RunState.Root.Locals.UUT.YourNewField = YourNewValue.
If you also want your sequence to run without using a process model, you must check for the existence of the UUT before accessing it. You could use the expression function: PropertyExists("RunState.Root.Locals.UUT.YourNewFi
eld") -
How to get the object class field value in CDHDR table for vendor
hi
how to get the object class field value in CDHDR table for vendorTry KRED/KRED_N as object class in CDHDR for Vendor.
-
Number of entries in the internal table for perticular field value
hi All,
Is this possible to get the count of records from the internal table for a perticular field value.
currently my requirement is to get the entries from the internal table which does not have two records for perticular field value (say a = 123) whose status is active (say b = 'X').
also suggets should use LOOP or DELETE or DESCRIBE for a internal table to ful fill this requirement.
Thanks in advance.
PradeepTry like this..
Create another table itab2 with same structure as itab1 & move the contents of itab1 to itab2
ITAB2[] = ITAB1[].
Then delete entries from itab2
Delete itab2 whete a = '123' and b = 'X'
Then use Describe statement to get the no of entries
Describe table itab2 lines v_lines.
Hope this helps... -
Hi,
I need to develop a purchase order report, so I need the following
gross price : 100
fright : 10
insurance : 10
my net value is : 100 rs
Effective value : 120 rs
Where can I find ( table) for this effective value
fright and insurance I can find from KONV table, But I need effective value or total value
Thanks
SrinivasPO Header: EKKO
field: EKKO-KNUMV (number of condition document)
PO Item: EKPO
field: EKPO-NETWR (net value in PO currency)
Conditions: KONV
field: KONV-KNUMV = EKKO-KNUMV
for PO item conditions, item number of condition document = item number of PO
for PO header conditions, item number of condition document = 0000
Subtotals in the pricing procedure are calculated and not stored in any KONV.
PO header Net Price = sum of all EKPO-NETWR for all the items.
Hope this helps. -
I am not able to read the xslt table column value.
Hi,
I have the scenario like this.
I have two irpt pages first.irpt and second.irpt and saperate xslt tables for each page and common js file for two pages.
when I click on first.irpt page xslt table row that opens the second.irpt as a popup window then I click on the column in second.irpt xslt row after that column value should be inserted in to first.irpt xslt table column.
In above I have done everything except I am not able to update the first.irpt xslt table column as Even I am not able to read that value.
For your reference:
/* This function will be called when we select the row in first.irpt xslt table here SelectBatch_b.irpt means second.irpt
function getBatch(row)
var id=row;
var material=document.getElementById('Material_'+row).value;
var location=document.getElementById('StoreLoc_'+row).value;
var plant=1000;
var strUrl = "SelectBatch_b.irpt";
strUrl = "?plant="plant"&""location="location"&""material="material;
window.open (strUrl,"mywindow");
/*This function will be called when we select the row in second.irpt (SelectBatch_b.irpt)
function getBatchID(row)
var Batch=document.getElementById('Batch_'+row).value; // reading second.irpt xslt table column value
document.getElementById('Batchc1').value=Batch; // reading first.irpt xslt table column value and inserting.
window.close(); // here I am getting error like object expected.
Please help me in this .
Edited by: rajkumar12345 on Feb 29, 2012 1:45 PMHi Rajkumar,
Please find below the method to pass the variable back and forth in .irpt page.
First Page:
var Toaccessinchildpage = "value";
function getBatch(row)
var id=row;
var material=document.getElementById('Material_'+row).value;
var location=document.getElementById('StoreLoc_'+row).value;
var plant=1000;
var strUrl = "SelectBatch_b.irpt";
strUrl += "?plant="plant"&"+"location="location"&"+"material="+material;
window.open (strUrl,"mywindow");
function populate(strBatch)
document.getElementById('Batchc1').value=strBatch;
Second Page:
function getBatchID(row)
var Batch=document.getElementById('Batch_'+row).value;
window.opener.populate(Batch);
window.close();
You have to call parent page function from child page.
No need to use common js.
If you want to access variable from parent page use
window.opener.<variable name>.
Example
window.opener.Toaccessinchildpage
You have to declare that variable as global variable in Parent page js file.
Refer First page code.
Regards,
Selva -
Table for Measuring point Reading.
Dear Experts,
Please guide where can I find the database table for measuring point reading values namely READC which is a part of RIMR0 structure, for using in developemts.
Regards
Jogeswara Raohi
check in IMRG table, you can find the values in SI unit . convert the same using Functional module. consult with your technical team
regards
thyagarajan -
Table for equipement no,measurement position,date and counter reading diffe
hi,
i am looking for tables that could provide me following data :
1) equipement no,
2)measurement position(like working hours,idle hours etc.)
3)date and
4)counter reading difference
I have equipment no.
i have searched table imrg,imptt but not able to find the 2nd and 4th data
plz helpi gt the table IMRG and the field is CDIFF
but its of type F.i want to read it as numeric value that cud be presented to user how cud I -
Database table for Workflow Container values
hi,
I am on SAP ECC 6.0
I am trying to find workflow id number starting from document number
I try to find database table which has containe values of the workflow instances so that I can get workflow/workitem instance numbers for the document
this is custom workflow and it is not based on business object type. so checking container values is the onlyway I can get the workflows
but I am not able to find any table for it
I have checked following
SWW_CONT
SWW_CONTOB
SWWVCONTWI
SWXML_CONT
SWJ_CONT
SWJPCONT
SWJSCONT
SWPCMPCONT
SWU_CONT1
SWUOCONT1
almost all the SWCONT tables
Morever I put St05 trace to see all the tables in database operations while triggering the workflow
but the only tables seen here are
SWWHRINDEX
SWD_CONT
SWWWIHEAD
SWWCNTP0
SWWLOGHIST
SWWWIRET
SWWCNTP0 is Workflow Container: XML Database (P0)
but it is XML structure data. so its of new use to query container fields.
is this reason because of any workflow design or system config ?
how to read container values from database tables in such case?
thanks
bhaktiHi,
>i need to display an ALV list with list of invoices and whether the workflow is awaiting / approved / rejected for review / approval. and who did the approval / rejection action
This you should be able to read from container now, if you have FIPP instance.
>the workflow has two steps - review and approve and so i would query table swwwihead for the parent id of workflow and then based on task number see which is ready status task and find if its awaiting approval or rejection
Don't do any selects to SWWWIHEAD unless you have some really specific reason. Just use SAP_WAPI* functions. You should be able to get each depended work item etc. easily with the standard functions.
>apart from this, several data like amount values, reference document, creation date and whole lot of invoice item and header level data is required which needs to be taken from workflow container
Why would you read this data from container? This data is in the SAP tables VBKPF, etc. There should be even functions to get all data related to an invoice - try to search for example with READPRELIMINARY* (read preliminary invoice).
In general:
1) if you have invoice number, get all related work items with a SAP_WAPI* function
2) if you have only the top WI ID, use SAP_WAPIDEPEND function to get the depended work items
3) with above function you probably will get also the status of the tasks / work items, so you don't need select in SWWWIHEAD
4) Now you have the "status" and the workflow data for the invoice
5) read the invoice data from standard FI tables (unless there is some specific reason to get it from WF container, and if there is, then I think that you might be having some fundamental problems in your design)
Regards,
Karri -
Invalid value in OPTION field of value table for IN itab operator. operato
Hi,
I am working on SELECT-OPTIONS to accept single and multiple values for company code. I am using CREATE_RANGE_TABLE and ADD_SELECTION_FIELD and all is good but I was prompted with error "Invalid value in OPTION field of value table for IN itab operator. operator" when I enter 2 single value.
SIGN OPTION LOW HIGH
| |CN01| |
| |SG02| |
However, below combinations working good for me and I don't get the above error.
SIGN OPTION LOW HIGH
I |BT |CN01|CN02|
| |SG02| |
SIGN OPTION LOW HIGH
| |SG02| |
I am using below coding.
DATA:
ls_cmp_restrictions TYPE if_wd_select_options=>t_complex_restrictions,
ls_rsoptions TYPE rsoptions.
CLEAR ls_rsoptions.
ls_rsoptions-bt = abap_true.
ls_rsoptions-cp = abap_false.
ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_cmp_restrictions-m_exclude = ls_rsoptions.
CLEAR ls_rsoptions .
ls_rsoptions-bt = abap_true.
ls_rsoptions-cp = abap_false.
ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_cmp_restrictions-m_include = ls_rsoptions.
* Create a reference to range table
lr_field = wd_this->m_helper->create_range_table( `BUKRS` ).
* Add the select-option to the group
wd_this->m_helper->add_selection_field(
i_id = `BUKRS`
i_value_help_structure = 'P0001'
i_value_help_structure_field = 'BUKRS'
it_result = lr_field
i_no_intervals = abap_true
i_no_extension = abap_false
i_complex_restrictions = ls_cmp_restrictions
i_use_complex_restriction = abap_true ).
FREE lr_field.
Edited by: Girish Nabar on Jul 22, 2011 12:35 PMHi Girish,
People are answering not for points, just to share the knowledge.
And I think the way of structure is wrong. i think we cannot pass two single values in your way. am not sure about .
low means it will accept single value. for one record in sign structure.
wait for other replys.
Regards
Srinivas
Maybe you are looking for
-
I get this message when I try to start Firefox after first logging on after turning on the computer. Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. H
-
Can I recover lost song?
Okay, I've only had my iPod for a few weeks so I keep making a lot of rookie mistakes. I had about 2,000 songs loaded (some from my computer and some from my friend's computer) and started making playlist. For some reason, the playlist would show the
-
What is 'DATA_PACKAGE' now called in Transformation Routine?
Hi BW ABAP'ers, I am trying to code a start routine in a transformation for a data target. When I did a syntax check on my ABAP codes, I get a syntax error on 'DATA_PACKAGE'. Does anyone know what it is now called in BW 7 ? Please let me know. Many
-
SHELL SCRIPT FOR EXPORT AUTOMATICALLY
Hi all, I need a shell script which will automatically take logical backup(export) in the solaris machine.I have 5 database and 10 schemas for that i want to take logical backup. thanks vicky
-
How to post vendor confirmations
Hello, I am getting vendor confirmations like Change in net price quantity and delivery date through ORDERSP IDoc. These confirmations are able to see in EKES table also. But my client want these vendor confirmation should be directly posted into the