How to create dynamic action
hi friends,
could u plz tell me how to create dynamic action?
with regards,
Priya.S
Hi
I u need to write the dynamic action as below
0002 ANZKD 06 3 P PSPAR-TCLAS<>'B'
0002 ANZKD 06 4 P T001P-MOLGA='12'
0002 ANZKD 06 5 P P0002-ANZKD>='1'
0002 ANZKD 06 6 I INS,0021,2,,(P0002-BEGDA),(P0001-ENDDA)
This should help you. rewards
Regards
Suresh
Similar Messages
-
How to create Dynamic Window in Smartforms
Hi all,
Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
Thanks in Advance.
Vinay.hi,
Hi,
1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
company -code = '2201'.
2.Then that window can trigger ofr that condition.
3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
reward me if helpful. -
How to create dynamic context based on a structure defined in the program?
Hi Experts,
I need to create a dynamic context based on a structure wa_struc which i have define programatically.
When I pass wa_struc to structure_name parameter of create_nodeinfo_from_struc, i get a runtime error:
"Parameter STRUCTURE_NAME contains an invalid value wa_struc."
How to create dynamic context based on a structure defined in the program?
I have written the code like this:
TYPES: BEGIN OF t_type,
v_carrid TYPE sflight-carrid,
v_connid TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
wa_struc type t_type.
data: dyn_node type ref to if_wd_context_node.
data: rootnode_info type ref to if_wd_context_node_info.
rootnode_info = wd_context->get_node_info( ).
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = rootnode_info
node_name = 'dynflight'
structure_name = 'wa_struc'
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( name = 'dynflight' ).
dyn_node->bind_table( i_struc ).
Thanks
Gopal
Message was edited by: gopalkrishna baligaHi Michelle,
First of all Special thanks for your informative answers to my other forum questions. I really appreciate your help.
Coming back to this question I am still waiting for an answer. Please help. Note that my structure is not in a dictionary.
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
I have updated my code like the following and I am getting error:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
But now I am getting the following error :
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
-Gopal
Message was edited by: gopalkrishna baliga -
How to create dynamic connection in business view manager.
Hi Sir,
Can u explain how to create dynamic connection in business view manager.
Thanks
Vishali Raghava RajuHI Vaishali,
Can you please elaborate your requirement ?
-Regards
B -
How to create new actions ? in the interaction record screen
Hi all,
I'm working with the IC web client.
In the interaction record screen the is a link to actions.
But how to create new actions ? schedule actions ?
Component "ICCMP_BT_INR"
View "InrHeaderViewSet"Hi Eran,
Gret is absolutely right ..The actions are transaction type specific and can be attached along in the customizing as mentioned above by gret , these can then be tested in the SAP gui first for their scheduled and start conditions and then in the ICWC.
There is no special settings for actions in ICWC if they are there in your transaction they will come in the ICWC.
Hope this helps
Regards
Raj -
How to Handle Dynamic actions in batch mode???
Hello Experts,
We have a requirement where we need to automate PA40. The data would be sent in csv file and we need to perform the required steps to insert data into Infotypes.
The issue is in batch mode (background mode), the dynamic actions wouldn't be called and the business wants the dynamic actions to be considered as well.
Pls let me know if there is any way we can interpret the dynamic actions dynamically; meaning the prog should be able to handle the newly created dynamic actions as well.
Any pointers to this are highly appreciated.
Regards
RKHi.
As far as i know, the limitation comes from the BDC execution itself, it doesn't really matter whether the execution is online or in batch mode.
* dynamische Massnahme
IF sy-binpt EQ space.
* befinden wir uns im ALE-Eingang ?
CLEAR: ale_flag. "XFYAHRK063273
call function 'RHAP_ALE_FLG_GET' "XFYAHRK063273
importing "XFYAHRK063273
ale_flg = ale_flag. "XFYAHRK063273
IF ale_flag IS INITIAL. "XFYAHRK063273
IF pspar-vinft NE space. "infotype view "XYLPH9K007065
PERFORM dyn_measure IN PROGRAM (view_repid). "XYLPH9K007065
ELSE. "XYLPH9K007065
PERFORM dyn_measure.
ENDIF. "XYLPH9K007065
PERFORM process_m
One thing you could try to do to avoid this and get the dynamic measures executed is to use the NOBINPT variable of the OPTIONS structure in CALL TRANSACTION
DATA opt TYPE ctu_params.
opt-dismode = 'A'.
opt-nobinpt = 'X'.
CALL TRANSACTION 'PA30' USING bdcdata OPTIONS FROM opt.
PERFORM close_group. -
How to create dynamic variable in Java?
Hi,
I want to create dynamic varible , using ArrayList or Vector. The number of array i dont knwo, so how to create dynamic ArrayList or Vector.
for example:
ArrayList1,ArrayList2,ArrayList3.....n
or
Vector1,Vector2,Vector3 .....n, the n value i will get at run time, so how to create the dynamic ArrayList or Vector or i can use any other Object in java,
Pls provide your input.
Sridhar1. I have a HashMap with dataok ... fair enough.
2. depending on its size, i need to create variable
to store them.uhm ... why? If you have a variable number of elements in the map then you'd need to generate a variable number of variables (a number, that is not know at compile time, as it seems). Now if you could somehow create those variables, how would you access them? You'd have to generate the code handling them as well ...
Tell us what kind of data you've got and what you want to do with it. There's certainly a better solution to your problem.
how to generate variables as per content size of the
HashMapYou don't. -
How to include dynamic action in bdc
Hi All,
I want to update infotype 17 when an employee has joined through PA40 (Joining action).So i have written a dynamic action for this .But this dynamic ation does not get called in bdc for joining action.
So infotype 17 is not maintained if we do joining through bdc.
I have tried with user-exit zxpadu02 also, calling hr_infotype_operation on saving infotype 0001.But it gives return as 'Employee does not exist'.
Since that infotype 0001 is still not saved.
So what to do.
YogeshHi Amit,
For your information we can call dynamic action from BDC.
go through this link
how to include dynamic actions in bdc -
How to create dynamic ed flash charts based on user selected fields in Orac
Hi all,
Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
Thanks
ManishHello,
Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
How to create dynamic view in hr report category
i want to make company code mandetory in in selection screen given by logical data base PNP here i want to make field mandetory. so how to create dynamic view in hr report category.
thanks in advancesolved by self
-
How to create dynamic screen using module pool programming
Hi,
Could anybody help me how to create dynamic screens?
I am developing a screen with HR Person with assignment info. If PERNR have multiple assignments, i need to show all the details one by one. How to show the details on screen. I need to call one by one assignment information dynamically.
Please suggest me how to do, apart from using table controls.
Thanks,
KamalYou may have the below options:
1) Table Control
2) Individual fields
3) ALV
4) pop-up screen -
How to create dynamic window in smartform
<i>HI Floks</i>
my requirement is invoice smartform having few line items .i can print this line items with different categories with dynamically placed in smartfom. there how many items with in particular category print its self . how is it possible to printing .is it possible to print dynamic fields and window without changing driver program and structure .How to create dynamic window.
any body knows reply me fast
thanks in advance ,
sureshHi suresh,
You can create all the windows, but if you go to specific window you will see different tabs like general attributes, output options and conditions. In that conditions tab, you can give condition. so based on that condition, that window will be printed.
Dont forget to reward points if helpful.
regards,
Chandra. -
How to create Dynamic Menu in 11g?
Hello All,
I am using JDeveloper/Adf 11g.
Can you please tell me how to create Dynamic menu(means Menu will be created from table if we make any changes in table it will reflect to the Menu).
Thanks.
Neelmani Jaiswal
(Madhav, Hayaghat)
Edited by: Neelmani Jaiswal on Jan 6, 2009 11:01 AM
Edited by: Neelmani Jaiswal on Jan 6, 2009 11:01 AM
Edited by: Neelmani Jaiswal on Feb 3, 2009 8:46 AMNeelmani,
How: write some code.
The Web User Interface Developer's Guide for Oracle Application Development Framework will be helpful. Hint: you may want to read section 14.2 (especially 14.2.1, item 2, which talks about using iterators in a menu) OR section 17.5, which talks about creating menus to support page hierarchies.
John -
How To create Dynamic destination in blazeDS
Hi,
Can anyone tell me how to create dynamic destinations ?
thnkshi,
Basically you could read the destination and Endpoint from an xmlfile then feed the values as required, the following is a simple hardcoded setup but it doesn't take much to set vars in the creationcomplete event. At least this way you don't need baked in settings.
<fx:Declarations>
<s:Producer id="myProducer" destination="{myService}" acknowledge="myProducer_acknowledgeHandler(event)"/>
<s:Consumer id="myConsumer" destination="{myService}" message="messageHandler(event)"/>
</fx:Declarations>
private var channelSet:ChannelSet;
private var myService:String;
protected function application1_creationCompleteHandler(event:FlexEvent):void
channelSet = new ChannelSet();
myService = "chat";
//var channel:AMFChannel = new AMFChannel("my-polling-amf","http://localhost:8080/blazeds/messagebroker/amfpolling");
var channel:AMFChannel = new AMFChannel("my-polling-amf","http://ezflex.net:8080/blazeds/messagebroker/amfpolling");
channelSet.addChannel(channel);
myProducer.channelSet=channelSet;
myConsumer.channelSet=channelSet; -
How to create dynamic variable in HANA
Hello experts,
Please help me on how to create dynamic variable in calculation view.
Ex: variable automatically should take YTD, or MTD values so that I can directly consume column in BW on hana or BO reporting.Hi ,
Not sure on what are looking for. Have a look on the below blog once, if this is what you are looking out for:
Applying YTD in SAP HANA with SAP BO Analysis Office
Regards,
Krishna Tangudu
Maybe you are looking for
-
IMovie HD (6.0.3) - Export Quality and Editing Question
Hi guys, i wanted to ask two questions. The first is that i wanted to export videos to upload onto YouTube and the best format for this seems to be the CD-ROM format that is available on the version i have, the only thing is my videos still appear lo
-
Safari always opens up after boot on Mavericks
Hi, I'm having a problem with Safari opening all the time on Mavericks. tried all the basic ways of preventing this already. <making sure its turned off on the dock etc>. This all started up after Ghosting my old 250 gig HD on to a 1TB Drive. The pag
-
Convert Character Mode report to Bitmap Report
Hi all, I'm using Oracle DB 10g and Oracle DS 10g. I've created almost 20 character mode reports. Now, I need to convert them to Bitmap Reports. Plz. help. Thanx in advance. NEO
-
Barrette Mémoire RAM non reconnue
Bonjour, Hello, Google translation: "I installed a IBM Thinkpad T30 2 strips of 512 MB memory each. But the system does detect that either: while 512 in bank 0 / 1 - DIMM1 Nothing in Bank 2 / 3 DIMM2 indicating "empty" under SisoftSandra Lite I teste
-
Hi, I trying to develop a web service proxy with ws-security, but the proxy MUST be secured with ws-security version 1.0..................... how I know the ws-security version in my JDeveloper?? (JDeveloper 10.1.3.3) Thanks!!!!! =D