Reg dynamic instance
hi guys,
what ever you guys told is correct but in the create object the instance name of which type.
CREATE OBJECT L_INST_ASY_CALL
TYPE
(LV_CONTROL).
data: L_INST_ASY_CALL type <?>.
reg,
hari
hi guys,
what you told is working fine, after the creation of object when i call the method then its throwing error saying method does not exit in object class.
DATA : LV_CONTROL TYPE SEOCLSNAME,
L_INST_ASY_CALL TYPE REF TO OBJECT,
EXTERNAL_ID type /BOPF/CONF_KEY.
CREATE OBJECT L_INST_ASY_CALL
TYPE
(LV_CONTROL).
CALL METHOD L_INST_ASY_CALL->/A1SSPC/ITP_IF_TASKAUTO~ASYNC_START
EXPORTING
PROCESSID = UUID_PARAMETER
TASKUUID = UUID_TASK
IMPORTING
BAPIRETURN = BAPIRETURN
EXTERNAL_ID = EXTERNAL_ID
CHANGING
PARAM_LIST = ITAB_TEMP
Error: method does not contain any method like ASYNC_START
reg,
hari
Similar Messages
-
Dynamic Instance for a MOVIE CLIP
Hi Please help me!!!!!!!!!!
I am creating dynamic Movie Clip using as3, but I don't have
any idea about dynamic Instance name, please give me some idea that
how I can assign Instance name for a movie clip.
I am waiting your reply.
Thanks
Sushil KumarYou can assign a value to the name property of the MovieClip,
but refering to the variable name of your MovieClip instance is
preferable. This code illustrates the difference: -
Setting dynamically instance id
Hello
Is this possible to set dynamically instance id for bpel process instance?
I would like to implement following scenario: bpel process listen on aq/jms queue. Every message dequeued from this queue creates new bpel process instance. Message payload is XML element containing i.a. unique id which I would like to set as bpel process instance id. Is this possible? Is this possible to set dynamically instance id using Java API to create new BPEL process instances?
Thanks
Jarekyou can't change the instance id but the engine allows you to assign an application id (or many application ids) to an bpel process instance.
In the NormalizedMessage you could do:
nm.setProperty(NormalizedMessage.CONVERSATION_ID, your-application-id) -
Reg Dynamic class instance creation
Hi all,
I want to create a instance for a class inside the program, but i know class name dynamically that reside inside a table.
select Classname from <table name> into <classname>.
create object <classname>->variable that got form select query.
we have any alternative solution for this.
Reg,
HariharanHi Hariharan,
DATA:
L_INST_ASY_CALL TYPE REF TO OBJECT.
As the type of L_INST_ASY_CALL is known in runtime so declare it as of type OBJECT.
Hope this would help you.
Good luck
Narin -
Hello, just a quick levels issue (maybe) or me being out of
me depth as usual - quick summary, Im creating several movieclips
on the fly and adding external images to them. These mcs then
become moveable and I want the user to drag them into a preference
dropbox "Good","Not Sure" etc.. which are other movieclips -
because the user can drag several mcs into any one dropbox I'll
need a routine to scale and position the selected mcs - because of
this my approach thus far has been to remove the mcs from the main
timeline and add them to the dropbox with the same name and image
etc. and give that dropbox a function to scale and postion (have'nt
thought of that one yet...) I am adding and removing the mc with
this function
function isindropbox(mc:MovieClip){ //mc is the name of the
mc to add
for(var z in dropboxArry) {
if ((eval(dropboxArry[z])).hitTest(_xmouse, _ymouse, false))
{ //checks if mouse is released in dropbox
var pic_mcchosen:MovieClipLoader = new MovieClipLoader();
pic_mcchosen.loadClip("images/"+mc._name+".jpg",
(eval(dropboxArry[z])).createEmptyMovieClip(mc._name+"A",
this.getNextHighestDepth()));
deleteThis = eval(mc._name);
removeMovieClip(_root.deleteThis);
all this works fine and I can see the mc in this scenario
"MarsA" being generated in the selected dropbox, but I can't within
the same function reference it i.e.
trace(this.holder_ins1["MarsA"]._width); // or
trace(_root.holder_ins1["MarsA"]._width);// returns 0
yet if I have a button on the stage elsewhere calling this:
tempbutt_mc.onPress = function () {
trace(_root.holder_ins1["MarsA"]._width);
} // returns the correct width
does a dynamically created instance not get registered with a
player until the function that made it finishes??
Thanks in advanceMikeLB,
> I'm creating the mc on a mousedown/event/function and
> then scaling the mc on a mousemove as follows
> mouseListener.onMouseDown = function() {
> var mc:MovieClip = _root.attachMovie("my etc...
> isdrawing = true;
> }
Aha.
> and then:-
> mouseListener.onMouseMove = function() {
> if (isDrawing) {
> mc._xscale = etc
Okay, this is a scope issue. In your onMouseDown event,
you've assigned
a function literal that declares a variable mc. That variable
is scoped to
the function only, as is the case any time you declare a
variable inside a
function. As soon as the function completes execution, the
variable is
gone. That's why the onMouseMove-assigned function isn't able
to see it.
Declare the variable outside the scope of either function
first, then it
will be available to both.
var mc:MovieClip;
var isDrawing:Boolean;
mouseListener.onMouseDown = function() {
mc = _root.attachMovie(//etc.);
isDrawing = true;
mouseListener.onMouseMove = function() {
if (isDrawing) { // etc.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Dynamic instance using subform
Hi all,
My requirement is to have a set of fields that needs to grow dynamically based on the input (at runtime). I wrapped those fields in a subform and in initialise event, i wrote a following logic.
<subformname>.instanceManager.setInstances(variable)
Variable will hold the no. of instance, which i am passing from context node. I have one more requirement, i am having a button in the form, if the user press the button, then the set of fields (wrapped in subform) needs to be add one more time in the form. I wrote a logic in Click event as,
<subformname>.instanceManager.addInstance(1).
My problem is, the form is showing as many instances (initially) and if i press the button, i am not able to get one more set of fields. If i remove the coding in initialise event (in subform), then if i press the button, its adding one more set of fields. Please help where i am going wrong.
P.S.: I am using Formcalc and run at client
Regards
V KumarHi Norbert,
I am using WDY Abap and not calling the form using FM. Whether i need to change the script coding. Please help in this regard.
Regards,
V Kumar -
Reg: Dynamic Field catalog in ALV
Hi ,
Can any one guide me to build a dynamic field catalog in ALV report?
Below is the format which i expect..........
Material | Plant1 | Plant2 | Plant3 | ....................| Plant 20 |
Qty
Val
Qty
Val
Qty
Val
Qty
Val
The plant 1 to 20 has to be brought dynamically as headings from T001W table. (Horizontally populate)
Below each plant i need sub-headings "QTY" and "VAL". (Horizontally populate)
List of Materials should be brought vertically from MARA table. (Vertically populate)
Can anyone suggest how to bring out this format for populating data accordingly into the o/p format?
Ur help will be appreciated.
Thanks,
K.S.Kannanyour part of the code is present in routine
perform dynamic_table.
*& Report ZCS_NAC_MAT_CHARACTERISTICS
2/ Description ...: Business requirement is to get all materials
without any characteristic values maintained in SAP
which are given in the selection screen.
REPORT znac_material_char.
TYPE-POOLS : abap,
slis.
TABLES : kssk,
klah,
mara,
makt,
cabn,
t134,
t023.
DATA : i_fieldcat TYPE slis_t_fieldcat_alv ,
wa_fieldcat TYPE slis_fieldcat_alv.
DATA : w_layout TYPE slis_layout_alv.
DATA : st_layout TYPE slis_layout_alv.
DATA : t_header TYPE slis_t_listheader,
w_header TYPE slis_listheader.
TYPES : BEGIN OF ty_cabn,
atinn TYPE cabn-atinn,
atnam TYPE cabn-atnam,
END OF ty_cabn.
DATA : i_cabn TYPE STANDARD TABLE OF ty_cabn WITH HEADER LINE.
DATA : w_cabn LIKE i_cabn.
TYPES : BEGIN OF ty_ausp,
objek TYPE ausp-objek,
atinn TYPE ausp-atinn,
klart TYPE ausp-klart,
END OF ty_ausp.
DATA : i_ausp TYPE STANDARD TABLE OF ty_ausp WITH HEADER LINE.
DATA : w_ausp LIKE i_ausp.
TYPES : BEGIN OF ty_mara,
matnr TYPE mara-matnr,
mtart TYPE mara-mtart,
matkl TYPE mara-matkl,
prdha TYPE mara-prdha,
mstae TYPE mara-mstae,
mstde TYPE mara-mstde,
END OF ty_mara.
DATA : i_mara TYPE STANDARD TABLE OF ty_mara WITH HEADER LINE.
DATA : w_mara LIKE i_mara.
DATA : i_mara_temp TYPE STANDARD TABLE OF ty_mara WITH HEADER LINE.
DATA : w_mara_temp LIKE i_mara_temp.
TYPES :BEGIN OF ty_data,
atnam TYPE cabn-atnam,
atinn TYPE cabn-atinn,
objek TYPE ausp-objek,
klart TYPE ausp-klart,
matnr TYPE mara-matnr,
maktx TYPE makt-maktx,
mtart TYPE mara-mtart,
matkl TYPE mara-matkl,
prdha TYPE mara-prdha,
mstae TYPE mara-mstae,
mstde TYPE mara-mstde,
END OF ty_data.
DATA : i_data TYPE STANDARD TABLE OF ty_data WITH HEADER LINE.
DATA : w_data LIKE i_data.
DATA : i_class TYPE STANDARD TABLE OF sclass WITH HEADER LINE.
DATA : w_class LIKE i_class.
DATA : i_class_temp TYPE STANDARD TABLE OF sclass WITH HEADER LINE.
DATA : w_class_temp LIKE i_class_temp.
DATA : i_objdata TYPE STANDARD TABLE OF clobjdat WITH HEADER LINE.
DATA : w_objdata LIKE i_objdata.
TYPES : BEGIN OF ty_objdata_temp.
TYPES: matnr TYPE mara-matnr.
TYPES: maktx TYPE makt-maktx.
INCLUDE STRUCTURE clobjdat.
TYPES : prdha TYPE mara-prdha.
TYPES : mstde TYPE mara-mstde.
TYPES : END OF ty_objdata_temp.
DATA : i_objdata_temp TYPE STANDARD TABLE OF ty_objdata_temp WITH HEADER LINE.
DATA : w_objdata_temp LIKE i_objdata_temp.
FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,
<fs_dyntable>,
<fs_fldval> TYPE ANY.
DATA: t_newtable TYPE REF TO data,
t_newline TYPE REF TO data,
fs_fldcat TYPE slis_t_fieldcat_alv,
t_fldcat1 TYPE lvc_t_fcat,
wa_it_fldcat TYPE lvc_s_fcat,
wa_colno(2) TYPE n,
wa_flname(30) TYPE c.
DATA: fieldname(20) TYPE c.
DATA: fieldvalue(40) TYPE c.
DATA: index(3) TYPE c,
v_time(60) TYPE c.
DATA: wa_cat LIKE LINE OF fs_fldcat.
CONSTANTS : c_nac TYPE klah-class VALUE 'NAC',
c_klart TYPE ausp-klart VALUE '001',
c_check TYPE c VALUE 'X' .
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (28) text-001 .
SELECT-OPTIONS: s_atnam FOR cabn-atnam NO INTERVALS OBLIGATORY. " Characteristic name
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1 .
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_matnr FOR mara-matnr. " material Number
SELECT-OPTIONS: s_mtart FOR mara-mtart. " material type
SELECT-OPTIONS: s_matkl FOR mara-matkl. " material type
SELECT-OPTIONS: s_mstae FOR mara-mstae. " X-Plant material status
PARAMETERS : s_date LIKE sy-datum OBLIGATORY DEFAULT sy-datum . " date
SELECTION-SCREEN END OF BLOCK b2 .
AT SELECTION-SCREEN ON s_atnam.
SELECT SINGLE * FROM cabn WHERE atnam IN s_atnam.
IF sy-subrc 0.
MESSAGE text-003 TYPE 'E'.
ENDIF.
AT SELECTION-SCREEN ON s_matnr.
SELECT SINGLE * FROM mara WHERE matnr IN s_matnr.
IF sy-subrc 0.
MESSAGE text-004 TYPE 'E'.
ENDIF.
AT SELECTION-SCREEN ON s_mtart.
SELECT SINGLE * FROM t134 WHERE mtart IN s_mtart.
IF sy-subrc 0.
MESSAGE text-005 TYPE 'E'.
ENDIF.
AT SELECTION-SCREEN ON s_matkl.
SELECT SINGLE * FROM t023 WHERE matkl IN s_matkl.
IF sy-subrc 0.
MESSAGE text-006 TYPE 'E'.
ENDIF.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_data_keydate.
PERFORM material_all_charname.
PERFORM get_classification.
PERFORM dynamic_table.
*& Form dynamic_table
text
--> p1 text
<-- p2 text
FORM dynamic_table.
PERFORM fieldcatalog.
PERFORM dynamic_table_create.
PERFORM final_data.
PERFORM final_fieldcatalog.
PERFORM layout_build.
PERFORM grid_display.
ENDFORM. " fieldcat
*& Form layout_build
text
FORM layout_build .
st_layout-zebra = c_check.
st_layout-no_vline = ''.
st_layout-colwidth_optimize = c_check.
st_layout-detail_popup = c_check.
st_layout-detail_initial_lines = c_check.
st_layout-detail_titlebar = text-021.
ENDFORM. " layout_build
*& Form alv_top_of_page
text
FORM alv_top_of_page.
REFRESH t_header.
CLEAR t_header.
w_header-typ = 'H'. "H=Header, S=Selection, A=Action
w_header-key = ' '.
w_header-info = text-019.
APPEND w_header TO t_header.
CONCATENATE sy-datum4(2) '-' sy-datum6(2) '-' sy-datum0(4) ' / ' sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit4(2) INTO v_time.
w_header-typ = 'S'. "H=Header, S=Selection, A=Action
w_header-key = text-020.
w_header-info = v_time.
APPEND w_header TO t_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
ENDFORM. "alv_top_of_page
*& Form grid_display
text
--> p1 text
<-- p2 text
FORM grid_display .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_top_of_page = 'ALV_TOP_OF_PAGE'
it_fieldcat = fs_fldcat
is_layout = st_layout
i_default = c_check
i_save = 'A'
it_events = v_events[]
TABLES
t_outtab = <t_dyntable>.
ENDFORM. " grid_display
*& Form FINAL_FIELDCATALOG
text
--> p1 text
<-- p2 text
FORM final_fieldcatalog .
wa_cat-fieldname = text-009.
wa_cat-seltext_m = text-015.
wa_cat-outputlen = 18.
APPEND wa_cat TO fs_fldcat.
wa_cat-fieldname = text-011.
wa_cat-seltext_m = text-016.
wa_cat-outputlen = 40.
APPEND wa_cat TO fs_fldcat.
LOOP AT s_atnam.
CLEAR wa_cat.
wa_cat-fieldname = s_atnam-low.
wa_cat-seltext_m = s_atnam-low.
wa_cat-outputlen = '15'.
APPEND wa_cat TO fs_fldcat.
ENDLOOP.
wa_cat-fieldname = text-012.
wa_cat-seltext_m = text-017.
wa_cat-outputlen = 18.
APPEND wa_cat TO fs_fldcat.
wa_cat-fieldname = text-013.
wa_cat-seltext_m = text-018.
wa_cat-outputlen = 8.
APPEND wa_cat TO fs_fldcat.
ENDFORM. " FINAL_FIELDCATALOG
*& Form FIELDCATALOG
text
--> p1 text
<-- p2 text
FORM fieldcatalog .
wa_it_fldcat-fieldname = text-009.
wa_it_fldcat-datatype = text-010.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO t_fldcat1.
wa_it_fldcat-fieldname = text-011.
wa_it_fldcat-datatype = text-010.
wa_it_fldcat-intlen = 40.
APPEND wa_it_fldcat TO t_fldcat1.
LOOP AT s_atnam.
CLEAR wa_it_fldcat.
wa_it_fldcat-fieldname = s_atnam-low.
wa_it_fldcat-datatype = text-010.
wa_it_fldcat-intlen = 30.
APPEND wa_it_fldcat TO t_fldcat1.
ENDLOOP.
wa_it_fldcat-fieldname = text-012.
wa_it_fldcat-datatype = text-010.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO t_fldcat1.
wa_it_fldcat-fieldname = text-013.
wa_it_fldcat-datatype = text-014.
wa_it_fldcat-intlen = 8.
APPEND wa_it_fldcat TO t_fldcat1.
ENDFORM. " FIELDCATALOG
*& Form DYNAMIC_TABLE_CREATE
text
--> p1 text
<-- p2 text
FORM dynamic_table_create .
Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = t_fldcat1
IMPORTING
ep_table = t_newtable.
ASSIGN t_newtable->* TO <t_dyntable>.
Create dynamic work area and assign to FS
CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
ASSIGN t_newline->* TO <fs_dyntable>.
ENDFORM. " DYNAMIC_TABLE_CREATE
*& Form FINAL_DATA
text
--> p1 text
<-- p2 text
FORM final_data .
LOOP AT i_objdata_temp INTO w_objdata_temp.
*assign w_objdata_temp-matnr to <fs_dyntable>.
AT NEW matnr.
wa_flname = text-009.
fieldvalue = w_objdata_temp-matnr.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
ENDAT.
wa_flname = text-011.
fieldvalue = w_objdata_temp-maktx.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
wa_flname = w_objdata_temp-atnam.
fieldvalue = w_objdata_temp-ausp1.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
wa_flname = text-012.
fieldvalue = w_objdata_temp-prdha.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
wa_flname = text-013.
fieldvalue = w_objdata_temp-mstde.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
AT END OF matnr.
APPEND <fs_dyntable> TO <t_dyntable>.
ENDAT.
ENDLOOP.
ENDFORM. " FINAL_DATA
*& Form GET_CLASSIFICATION
text
--> p1 text
<-- p2 text
FORM get_classification .
LOOP AT i_data INTO w_data.
SELECT SINGLE * FROM klah WHERE class = c_nac.
IF sy-subrc = 0.
IF w_data-mstde >= klah-vondt.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
class = c_nac
classtext = c_check
classtype = c_klart
clint = 0
features = c_check
language = sy-langu
object = w_data-objek
TABLES
t_class = i_class
t_objectdata = i_objdata
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
LOOP AT i_class INTO w_class.
MOVE w_class TO w_class_temp.
APPEND w_class_temp TO i_class_temp.
ENDLOOP .
LOOP AT s_atnam.
READ TABLE i_objdata INTO w_objdata WITH KEY atnam = s_atnam-low.
IF sy-subrc = 0.
MOVE w_data-matnr TO w_objdata_temp-matnr.
MOVE w_data-maktx TO w_objdata_temp-maktx.
MOVE-CORRESPONDING w_objdata TO w_objdata_temp.
MOVE w_data-prdha TO w_objdata_temp-prdha.
MOVE w_data-mstde TO w_objdata_temp-mstde.
APPEND w_objdata_temp TO i_objdata_temp.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " GET_CLASSIFICATION -
Hello Experts,
Although I am not a PI expert i would like to ask ,
Can I have Dynamic Queue name generation on the basis of the payload which i am receiving
Quality of service my be any EO or EOIO .
For example My pay load stream my contain Data for Purchase Req. Creation / and change its a known fact that Creation payload should come first and then change so my Question is can i have my queue name on basis of the Document which i am processing ?I dont thnik this is possible in PI for generating queue names based on payload. As Queue should be utilized proper way and based on the PI resources like work processes,.
But for your scenario, you can use EOIO and specify queue name accordingly for both scenarios.
And you can do Queue prioritization to assure the creation payload followed by change payload.
--Divyesh -
Reg dynamic actions in abap-hr
Hi Gurus ,
What is dynamic actions in abap-hr ,can any body explains it
with an example ...
Thanks & Regards
Sumanhi dynamic actions changes or create the infotype record on maintainance of another infotype.
like after hiring a person if u want to default joining date in 0041 infotype.
then u will check molga.
p too1p-molga=40
p is used to check conditions.
then u will insert the records in 0041
i ins,0041,,,(p0000-begda),(p0000-endda)/d
/d is for processing in background.
then u will default values in 0000
w p0041-dar01 = 'hd'
w p0041-dat01 = p0000-begda.
w is for defaulting value.
go to spro-personnel management - personnel administration-customizing procedures-dynamic action .
here u have documentation. -
Reg Dynamic Selections in Logical DataBases
Hi All,
I am forcefully scheduling a report to run in background mode even though the users run it online.
While doing so I have handled all the parameters and the select options in the selection screen in the following way.
SELECT OPTIONS
wa_rspar-selname = 'BUDAT'.
wa_rspar-kind = 'S'.
if BUDAT[] is not initial.
loop at BUDAT.
wa_rspar-sign = BUDAT-sign.
wa_rspar-option = BUDAT-option.
wa_rspar-low = BUDAT-low.
wa_rspar-high = BUDAT-high.
append wa_rspar to rspar.
endloop.
else.
wa_rspar-low = BUDAT.
append wa_rspar to rspar.
endif.
clear: wa_rspar.
PARAMETERS.
wa_rspar-selname = 'SORTART'.
wa_rspar-kind = 'P'.
wa_rspar-low = SORTART.
append wa_rspar to rspar.
clear: wa_rspar.
While doing so since the report uses logical database-the dynamic selection portion has to be handled otherwise the dynamic selection is ignored and the report is displayed wrong.
How can we handle the dynamic selection portion for the forceful conversion of the program to background mode even if it is run online.
Has anyone faced this kind of issue.If so how was it resolved.
Thanks in advance.Finally it seems not to be possible to fill the dynamic selection of a logical database during INITIALIZATION in a report which is using the respective logical database (under report properties).
My solution was to create a new select option within the customer program which refers to the respective database column (... FOR bsis-gjahr). If this column is supported by the dynamic selections of the logical database, then the values entered on the selection screen are automatically transferred and used by the logical database selection. It is just important to refer to the correct table, as BSIS-gjahr is working while BSEG-gjahr and BKPF-gjahr are not working in my example.
See the following link:
http://help.sap.com/saphelp_470/helpdata/en/9f/dba73935c111d1829f0000e829fbfe/content.htm?frameset=/de/9f/dba76035c111d1829f0000e829fbfe/frameset.htm¤t_toc=/de/d3/2e974d35c511d1829f0000e829fbfe/plain.htm&node_id=305 -
Reg : Dynamic Drown list in ALV Report
Hi Guru's,
Please help on showing Dynamic drop down list in ALV Report.
My requirement is to show sales partner function in ALV report for each and every line.Every line item may have different partner function.
Regards
P.Senthil Kumarok
-
Reg:Dynamic Configuration
Hi....
I am having one problem while using Dynamic Configuration.
In Dynamic Configuration, i am using the below code.
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
conf.put(key, a);
return "";
I am having the condition like, if the Product code="DD" and Server Name =" A", then the file should be places in "Disb" directory else it should be places in the "Power" directory.
Can you please help in this issue.
I have executed the scenario, but both the files are going to the same folder.Hi...
Check the below code whther it is correct or not.
public String DynamicDirectory(String code,String server,Container container)
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
if(code.equals("DD") && server.equals("DISB"))
dir = "/home/corpuser/Disbursement/DD";
else(code.equals("CC") && server.equals("DISB"))
dir = "/home/corpuser/Disbursement/CC";
config.put(key,dir);
return "";
While activating, i am getting the below error.
usr/sap/APD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1354a56019d011debb16002264977f6e/source/com/sap/xi/tf/_MM_MTO_Payment_DB_To_MTI_Payment_DD_CC_.java:301: not a statement else(code.equals("CC") && server.equals("DISB")) ^ /usr/sap/APD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1354a56019d011debb16002264977f6e/source/com/sap/xi/tf/_MM_MTO_Payment_DB_To_MTI_Payment_DD_CC_.java:302: ';' expected dir = "/home/corpuser/Disbursement/CC"; ^ 2 errors
Can you please in this issue.
Regards,
Leela -
Hi Friends,
I have a basic question. What is the use of dynamic selections in LDB?
Thanks in advance.
Regards,
nathan.Nathan,
SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE <node>.
If the node <node> is requested by the user of the logical databases, the dynamic selections are included in the selection screen. A user can then choose Dynamic selections to enter extra selections for the corresponding fields. If you call the logical database using the function module LDB_PROCESS, you can pass a corresponding parameter. You can use these selections in dynamic statements in the logical database program to read data. The values of the program-specific selection criteria that you defined for a node for which dynamic selections were available are also passed to the logical database. The user can also define the fields for dynamic selections as a selection view for the logical database.
The selection screen of a logical database is part of the standard selection screen (number 1000) of the executable program to which the logical database is attached. It has a standardized layout - the selection criteria and parameters appear on separate lines in the order in which they were declared. You can change the layout using the SELECTION-SCREEN statement.
The runtime environment generates the selection screen with number 1000 for every program in which the attributes do not contain a different selection screen version. You can prevent certain input fields from the selection screen of a logical database from appearing on the selection screen by defining selection screen versions with a screen number lower than 1000 in the selection include, and entering this version number in the program attributes. By pressing F4 there, you can get an overview of the selection screen versions defined in the logical database concerned. To define a selection screen version, use the statements SELECTION-SCREEN BEGIN|END OF VERSION. Within these statements you can use SELECTION-SCREEN EXCLUDE to specify fields that you do not want to appear on the selection screen.
If the attributes of an executable program contain the number of a selection screen version, the version is used in the standard selection screen. Although the input fields that you excluded from the selection screen are not displayed, the corresponding selections still exist, and you can still edit them in the program or by calling the function module LDB_PROCESS.
Pls. Mark if useful -
Reg@ Dynamic invocation of Webservices using an Single Invoke
Hi ,
I am trying to implement Dynamic invocation of webservices using a single Invoke .
Say , i have three webservices = WebA,WebB and Webc .Based on Logic , i need to invoke either of the webservice with an single Invoke .
In [ ws-addressing.xsd ] there are different elements ,"Address" is for endpoint URL.PortType??ServiceName ?? .
If i need to make use of this XSD can any one help me to map the WSDL components to this XSD Or lease suggest options if any ??
Regards ,
Nagahttp://blogs.oracle.com/dasoa/2010/09/11g_dynamic_partnerlink_example.html
see the article he's refering too
eventually you need something like :
<assign>
<copy>
<from>
<EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
<Address>http://localhost:9700/orabpel/default/UnitedLoan</Address>
<ServiceName
xmlns:ns1="http://services.otn.com">ns1:UnitedLoan</ServiceName>
</EndpointReference>
</from>
<to variable="partnerReference"/>
</copy>
</assign> -
HI freinds
I Have to create Dynamic actions when ever employee location has been changed
suppose in infotype 0001 if employee location changed i need to update a record in IT0588
Subtype As '0003' and PTXEL = 1.
Pls help me with the above requirement
Thanksin Advance0001 6 10 ***588
0001 6 11 P T001P-MOLGA='40'
0001 6 12 I INS,0588,003,,(P0001-BEGDA)/D
0001 6 13 W P0588-BEGDA=P0001-BEGDA
0001 6 14 W P0588-PTXEL='1'
Hi i was trying with the above code but nothing being updated , pls look into the aboce code
Maybe you are looking for
-
Command to see host and static nat for the same object together
I have researched this but cannot find an answer. ASA running version 8.5. When you create the config using object NAT you enter the commands as follows object network <object name> host x.x.x.x nat (inside,outside) static y.y.y.y When the con
-
Possible to add BI publisher report in OBIEE 11g
Hi, i have an requirement to add publisher report in my OBIEE 11g dashboard, i am not sure that can be possible, if yes can anyone help to do the way please. thanks in advance !
-
Hello, I am devloping an a simple struts Applikation (Name Hello) The structur my Webapp. the Applikation ist in C:\Tomcat\webapps\Hello HelloAction.java in C:\Tomcat\webapps\Hello\WEB-INF\classes\org\java\example HelloForm.java in C:\Tomcat\webapps\
-
Error code 4MEM/9/40000000: 0x7f5f7990
So, obviously I've got some problem with my computer (macbook pro, not even had it for a year). First, some days ago, safari started chrashing. Then my computer turned off itself several times. Now it shuts down while booting. Also a loadingbar appea
-
Web Intelligence Document Reports
Hi Everyone, My Question is, How many Reports can we create in Web Intelligence Document? and How to open Web Intelligence through command prompt? Thanks & Regards Madhu...