SUBMIT and return the value of that report into internal table
Dear all,
I have a requirement. I want to submit a report and return the value of that report into my internal table.
How to do this.
Pl. guide.
Hi Vidhya,
Below links from SAP help will resolve your issue.
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3bde358411d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/content.htm
Edited by: Harsh Bhalla on Jan 2, 2010 11:54 AM
Similar Messages
-
Mutator to compute set and return the value
Hi
I am having trouble working out how to do a mutator that does all three
compute a value set the value and then return it this is what i have so far
this example calculates and returns the value but does it set the value of totalSlices ???? this is the best option so far
public int totalSlices (){
int total = meatSlices + vegSlices;
return (int) total;
this one seems more likely to me but unsure is this a set method as well
public insert (int fiveC)
fiveCentCoin += fiveC;
returne fiveCentCoin;
this is the final example i have come up with but dont know if it sets the value as well
public int calculateCost () {
double cost;
if (age==0) {
age = 0.1;
if (neutered) {
cost = (100/age) + (stay * 3) + SHOTS + TAGS;
} else {
cost = (100/age) + (stay * 3) + SHOTS + TAGS + NEUTER;
return (int) Math.round (cost);
the problem i face i am not sure of how to combine a mutator calculation, set method and return it all in one i havnt done that before and cannot find an example
thanksI think you're trying to take a hollistic approach to programming. That won't work.
You need to go back and get a good understanding of exactly what each element of Java does.
Sylvia. -
How crm visit the external website and return the value to crm
how crm visit the external website and return the value to crm?
AwenCan you elaborate the question? I assume that you are looking for some sort of mechanism to validate a customer's web site?
Regardless of the scenario, the way to validate or retrieve a value from an external web site is to write a plugin that executes a WebRequest to the external site and reads the response. -
How does "Unflatten From String" take a type and return a value of that type?
http://zone.ni.com/reference/en-XX/help/371361E-01/glang/unflatten_from_string/
How exactly does the "type" argument for "Unflatten From String" work? I need to create a VI that takes a type, passes it as an argument to several calls of the "Unflatten From String" function, and returns an array containing elements of the type originally passed. The "Unflatten From String" function seems to do some magic though, because the type of the "value" that it outputs changes depending on the type it is passed as input. How do I do the same magic in my VI?
Ultimately, what I need to accomplish is an unflatten-list operation. Given a type T and a byte string of length L (which contains a concatenation of T elements that are flattened to their bytes), create a VI that unflattens all the types in the string and return an array of length (L / sizeof(T)) that contains each type.
Note: performing the unflatten-list operation is trivial, but I cannot for the life of me figure out how to do it in a VI that takes a type and returns an array of the appropriate type. By the way, my data is being given to me from another source, so please don't bother suggesting that I should be flattening an array using LabVIEW's "Flatten To String" function in the first place. My data is not given in LabVIEW's array format: http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/flattened_data/
Thanks a ton!
-WakkaTake a look at this example: You can see that the flattened string contains several bytes. The first four bytes contain the length of array (number of elements). Since the data type is U32, the next 32 bits (4 bytes) contains the value of the first element, and so on. Could you possibly use this scheme to do what you want to do? Other data types present different outputs. You would have to experiment with them.
- tbob
Inventor of the WORM Global -
Linking two DCs using interface views and return the value
Hi,
I have two webdynpro DCs. DC1 & DC2, each contains one view.
Point 1: From the DC1-->DC1View1 ,when I click a button , It should call DC2(This is happening).
Point2: When the DC2 is executed it should return to DC1-->DC1View1, value from DC2 need to be passed to DC1 also.
How to acheive point2. How anyone help on this .
Regards,
Muhammed Nishad J.Hi,
You would have created a inbound and outbound plug between DC1-->DC1View1 and DC2 ->View.
Now you will have to create the same for DC2 ->View and DC1-->DC1View1
1) create an inbound plug on DC1-->DC1View1 and outbound plug on DC2->view.
2) Now create a link as you would have in the first case.
3) create a parameter in DC2->view for outbound plug, and also the same in inbound plug of the DC1->view
4) Now in the method that was created for the outbound(public void onPlug<name of plug> )pass the value into the parameter created
5) in the inbound method(public void onPlug<name of inbound> get the value of the parameter in a variable.
I hope this solves your problem.
Thanks and Regards,
Narayani -
How to get all values in the range of select option into internal table?
Hi,
I need to capture all entries coming in the range of select option into one internal table.
How to do get that?
For E.g
select-options: matnr for mara-matnr.(select option)
IF I enter G0100013507892 as lower value of matnr and G0100014873947 as higher value
and if there are 10,000 materials in the above range, then I want to capture all theses 10000 materails in one internal table. How to do that?
Regards,
MrunalHello Mrunal Mhaskar ,
What i understand you can do one thing go in debug mode
Try this code : -
LOOP AT s_matnr_ex.
IF s_matnr_ex-low IS NOT INITIAL.
i_matnr-matnr = s_matnr_ex-low.
i_matnr-option = s_matnr_ex-option.
APPEND i_matnr.
CLEAR : i_matnr.
ENDIF.
ENDLOOP.
LOOP AT s_matnr_ex.
IF s_matnr_ex-high IS NOT INITIAL.
i_matnr-matnr = s_matnr_ex-high.
i_matnr-option = s_matnr_ex-option.
APPEND i_matnr.
CLEAR : i_matnr.
ENDIF.
ENDLOOP.
In the i_matnr table high and low values are there.
Regards,
Vandana. -
How to send the edited output fields of an ABAP report into internal table
Hi,
I had edited the output fields of an ALV GRID report now how can i again update the fields of the internal table with this edited new data .
Please suggest me if any method or FM exists for this.
Thanks in advance
With Regards
Ajayhi,
you have to use the following code in the user command
*& Form command
* TO HANDLE USER ACTIONS AGAINST PF-STATUS
* -->UCOMM text
* -->SELFIELD text
FORM COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
DATA : LV_OKCODE TYPE SY-UCOMM.
LV_OKCODE = UCOMM.
CASE LV_OKCODE.
WHEN 'PROCESS'. "button
selfield-refresh = 'X'.
ENDCASE.
ENDFORM. "command
hope this helps
Regards
Ritesh -
How do I extract the data of Variant configuration into internal tables
Hi Experts,
How can I extract the data of variant configuration into an internal tables while preparing the report.
Thanks,
bsv.Hi i´m not a "Expert.." but may I can help you:
CUCB_GET_VALUES_FROM_INSTANCE
Example:
Instance = MARA-CUOBF or
Instance = lips-cuobj
Result is the data of the Variant tables.
I need that for a simple report to evaluate customer & and his Variants......
Robert -
It would be great if anyone could answer this, I don't feel like having to go through all my songs again and redo them.
Copy the ENTIRE iTunes folder from the old computer to the new computer.
-
How to search two columns and return a value in the same row to a cell?
Identification
Diameter
Soak
3" Tank (inches/kft)
AWG
mils
Code
Strands
Shield
Conductor
Insulation
Semi-Con
Days
SD
Injection
Soak
Total
2
175
00
7
External
0.288
0.692
0.752
60
0.4
3.6
20.0
23.6
2
220
00
7
External
0.284
0.764
0.864
75
0.4
3.6
20.0
23.6
2
260
00
7
External
0.284
0.844
0.944
90
0.4
3.6
21.8
25.4
2
320
00
7
External
0.288
0.964
1.064
110
0.4
3.6
24.3
27.0
2
345
00
7
External
0.288
1.014
1.114
115
0.4
3.6
25.6
29.2
Length
3"
4"
AWG
mils
Soak
SD
Injection (3")
Injection (4")
650
2
320
I want to input two values, AWG and mils and return the value in the Days column.
In the instance of what I am showing .... AWG=2 AND mils=320 so Soak=110 ....
I want to search the columns (AWG) AND (mils) to return a value in the column (Days) for that row into cell H10 (Soak) ...
So far I have toyed with LOOKUP, INDEX and MATCH ....SCW,
I'm sure there is a clever way to cascade functions to avoid adding an auxiliary column in your practice table, but to me it wouldn't be worth the aggravation. I would add a column that concatenates Columns A & B, AWG & mils. This column can be anywhere and would be Hidden. Let's say your new column is Column N.
In Column N, fill the body rows with:
=A&"-"&B
As good Numbers programming form would indicate, let's name the Practice Table Practices and only put the practices in that table. In another table where you do the lookup, let's call it Program, we will have the calculation/lookup.
Based on your example, I'd guess that AWG may be in Column D and mils in Column E of your Program table, and the Soak lookup in Column F. If I'm wrong, adjust the column id.
In Column F, write:
=OFFSET(Practices::I$1,MATCH(D&"-"&E, Practices::N,0)−1, 0)
The hyphen in the concatenated representation of the combination of AWG and mils is just tp make it more readable.
As I'm sure you know, you could use other approaches, but since I had you put your aux column at the end of your Practices table, OFFSET with MATCH is a clean approach. INDEX could be used too.
Here's an illustration:
Regards,
Jerry -
Exchange Mail Store Lookup Reconciliation no longer returns the values
Hi guys,
I executed the schedule "Exchange Mail Store Lookup Reconciliation" and returned the value of mail store with sucess. Now I run again but not return the values. The values existed on the Lookup.ExchangeReconciliation.MailStore was cleaned.
I need this values for provision a user to Exchange. Is it ok?
ThanksI execute the task, is finished with success. But not bringer any values to Lookup.ExchangeReconciliation.MailStore
[2012-01-11T11:08:39.250-02:00] [oim_server1] [NOTIFICATION] [] [OIMCP.MEXC] [tid: OIMQuartzScheduler_Worker-9] [userId: oiminternal] [ecid: 0000JJCoOzaE^MWFLzyGOA1F3OLz000002,0] [APP: oim#11.1.1.3.0] com.thortech.xl.schedule.tasks.tcExchangeMailStoreLookupReconTask : execute : Starting Exchange Mail Store Lookup Reconciliation Task
[2012-01-11T11:08:39.255-02:00] [oim_server1] [NOTIFICATION] [] [OIMCP.MEXC] [tid: OIMQuartzScheduler_Worker-9] [userId: oiminternal] [ecid: 0000JJCoOzaE^MWFLzyGOA1F3OLz000002,0] [APP: oim#11.1.1.3.0] com.thortech.xl.schedule.tasks.tcExchangeMailStoreLookupReconTask : isReconStopped : Stopping Reconciliation.....................
[2012-01-11T11:08:41.924-02:00] [oim_server1] [NOTIFICATION] [] [OIMCP.MEXC] [tid: OIMQuartzScheduler_Worker-9] [userId: oiminternal] [ecid: 0000JJCoOzaE^MWFLzyGOA1F3OLz000002,0] [APP: oim#11.1.1.3.0] com.thortech.xl.schedule.tasks.tcExchangeMailStoreLookupReconTask : execute : Exchange Mail Store Lookup Reconciliation Ends
For provision a user to Exchange, I need select a "Mail Store" on the form. But if task "Exchange Mail Store Lookup Reconciliation" not bring the values to Lookup, I can not provision a user. I'm correct?
Because when I try provision a user to Exchange, in the log, show me:
[2012-01-11T11:05:00.508-02:00] [oim_server1] [ERROR] [] [OIMCP.MEXC] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: bfccc7416174d6cc:6f5adea4:134ccd17bf0:-8000-000000000000025a,0] [APP: oim#11.1.1.3.0] com.thortech.xl.integration.Exchange.tcExchangeTasks : createMailboxForADUser : Insufficient data, may be all mandatory field are not present : :Index: 0, Size: 0
[2012-01-11T11:05:00.509-02:00] [oim_server1] [ERROR] [] [OIMCP.MEXC] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: bfccc7416174d6cc:6f5adea4:134ccd17bf0:-8000-000000000000025a,0] [APP: oim#11.1.1.3.0]
Thanks a lot -
Extract the classification data into internal table
Hi all,
I having requirement to extract classification data for material number.
1) Provide the selection option for material number (MATNR).
2) Based on the material number, then extract all that data into internal table as below layout. My problem is how to retrieve the following data from different table based on the MATNR (material number).
Please provide the sample code for select the following data. Thanks.
Classification table
OBJEK (from AUSP table)
MAFID (from AUSP table)
KLART (from AUSP table)
CLASS (from KLAH table)
ATWRT (from AUSP table)
MSEHI (from CABN table)
OBTAB (check if class type=002, set it as MARA)
STDCL (from KSSK table)Hi,
if I understand, you´re trying to get information from the classification system for the material. You can use the following code:
DATA: clases LIKE TABLE OF sclass WITH HEADER LINE,
datos LIKE TABLE OF clobjdat WITH HEADER LINE.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
class = 'DESK' "clase a buscar
classtype = '001' "tipo de la clase
features = 'X'
language = sy-langu
object = 'PM00A000C055' "Material
objecttable = 'MARA'
key_date = sy-datum
initial_charact = 'X'
change_service_clf = 'X'
TABLES
t_class = clases
t_objectdata = datos
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
loop at datos.
endloop. -
Submit and return and after that what?
Hi all,
Iam successfully submitting a standard program.My problem is what I want is the final internal table values,how can i get that?
Here is my code :
tables : mseg,ioheader,IOITEM.
DATA : IT TYPE STANDARD TABLE OF ABAPLIST WITH HEADER LINE.
*DATA : IT TYPE STANDARD TABLE OF IOMAMO WITH HEADER LINE.
select-options : s_aufnr for mseg-aufnr,
S_PAUFNR FOR ioheader-aufnr,
S_PLNUM FOR ioitem-plnum.
PARAMETER : P_PROFID LIKE tcoad-profid.
initialization.
s_aufnr-low = '1000560'.
append s_aufnr.
S_PAUFNR-LOW = '1000'.
APPEND S_PAUFNR.
S_PLNUM-LOW = '40070110803312'.
APPEND S_PLNUM.
P_PROFID = '000001'.
*SUBMIT PPIO_ENTRY WITH S_AUFNR = s_aufnr
*WITH PPIO_ENTRY_SC1100-PPIO_LISTTYP = 'PPIOD000'
*EXPORTING LIST TO MEMORY AND RETURN.
SUBMIT PPIOD000 WITH S_AUFNR = s_aufnr
WITH S_PLNUM = S_PLNUM
WITH S_PAUFNR = S_PAUFNR
WITH P_PROFID = P_PROFID
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = IT
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
LISTOBJECT = IT.
ENDIF.
Hope Iam clear in my questian.
Thanks & Regards,
Rock.Thanks all of u for the reply,
but when I use FM LIST_FROM_MEMORY it is getting short dump.
See the code :
tables : mseg,ioheader,IOITEM.
DATA: INT_S000 LIKE IOMAMO OCCURS 100 WITH HEADER LINE.
DATA : IT TYPE STANDARD TABLE OF ABAPLIST WITH HEADER LINE.
*DATA : IT TYPE STANDARD TABLE OF IOMAMO WITH HEADER LINE.
select-options : s_aufnr for mseg-aufnr,
S_PAUFNR FOR ioheader-aufnr,
S_PLNUM FOR ioitem-plnum.
PARAMETER : P_PROFID LIKE tcoad-profid.
initialization.
s_aufnr-low = '1000560'.
append s_aufnr.
S_PAUFNR-LOW = '1000'.
APPEND S_PAUFNR.
S_PLNUM-LOW = '40070110803312'.
APPEND S_PLNUM.
P_PROFID = '000001'.
*SUBMIT PPIO_ENTRY WITH S_AUFNR = s_aufnr
*WITH PPIO_ENTRY_SC1100-PPIO_LISTTYP = 'PPIOD000'
*EXPORTING LIST TO MEMORY AND RETURN.
SUBMIT PPIOD000 WITH S_AUFNR = s_aufnr
WITH S_PLNUM = S_PLNUM
WITH S_PAUFNR = S_PAUFNR
WITH P_PROFID = P_PROFID
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = IT
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
LISTOBJECT = IT.
ENDIF.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
LIST_INDEX = -1
* WITH_LINE_BREAK = ' '
* IMPORTING
* LIST_STRING_ASCII =
* LIST_DYN_ASCII =
TABLES
LISTASCI = it
LISTOBJECT = INT_S000
EXCEPTIONS
EMPTY_LIST = 1
LIST_INDEX_INVALID = 2
OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The internal table INT_S000 is of same type of that programs final internal table.
What might be the problem? -
BAPI OR RFC THAT RETURNS THE VALUE TABLE CONTENTS THAT IS SPECIFIED IN DOM
HI ALL,
i have requirement of BAPI or RFC that returns the value table contants(text table) in CRM..
for ex:
if i pass the dataelement or domain or checktable as input parameter,could i get the contents of its text table associated with it....
please if there is way help me on this..
thanks and regards,
goutham,Check these FM
RFC_READ_TABLE
RFC_GET_TABLE_ENTRIES -
I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.
I don't want it to be an EEM Event, I just want to run it from the (tcl)# prompt.
So I guess I'm asking if you can use cli_exec and other commands in the "namespace import ::cisco::eem::*" in a normal non-EEM script - can I do that?
This is the error I get:
OTN.159(tcl)#source flash:TCL_SNMP_Remote_Read.tcl
invalid command name "::cisco::eem::event_register_none" ^
% Invalid input detected at '^' marker.
What am I missing?
================= TCL_SNMP_Remote_Read.tcl ==============================
::cisco::eem::event_register_none
namespace import ::cisco::eem::*
namespace import ::cisco::lib::*
if [catch {cli_open} RESULT]
{ error $RESULT $errorInfo }
else { array set cli1 $RESULT }
if [catch {cli_exec $cli1(fd) "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0" } RESULT]
{ error $RESULT $errorInfo }
else { set SnmpSysDesc $RESULT }
if [catch {cli_close $cli1(fd) $cli1(tty_id)} RESULT] {
error $RESULT $errorInfo
puts $SnmpSysDesc
=========================================================================
In the sho-run config I have:
event manager directory user policy "flash:/"
event manager session cli username "cisco"
Any help to get me started would be greatly appreciated!
TimIf you don't want an EEM policy, then don't use any of the EEM constructs. Instead, all you need is this:
set output [exec "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0"]puts $output
Maybe you are looking for
-
Photo Booth Problems/Crashes
Below you will find crash log, and MB data. I am having problems with Photo Booth. First, when using effects, I get pixel-ie / grainy splotches (sp?) in the background. Next, I hear rpm's or disk slowly increasing. Finally, during the session, it eit
-
My iPad air is missing some apps from my phone. It keeps saying, " there is not enough storage available to download...." I purchased additional storage twice, my device now shows 18GB free of a total 25GB, and still I cannot download apps I've had f
-
I've Just Replaced My Macbook Battery And The Turning Screw You Twist With A Penny Has Came Of What Do I Do
-
How do I stop the last persons name from showing up on my screen inside that circle?
WWhen I'm switching between apps, there is a small circle that shows the persons name that I last facetimed with. How do I get rid of that?
-
Can't delete photos and videos from my iphone
i have photos and videos on my iphone 5 that are taking up way too much space and i cannot delete them. no photos appear in itunes, under device/photos tab, and no albums are synched in any way to aperture or iphoto. i cannot see them on my iphone to