Help for change Order on a form by a trigger!!!!
I'm trying to change order (asc, desc, none) by shooting a trigger!!!
Please Help!!?
here is some code i wrote. hope that hepls.
declare
v_asc varchar2(10) := 'ASC';
v_field_name varchar2(50);
v_prev_orderby varchar2(200);
v_orderby varchar2(200) := ', GIRD_AIR_DT, GIRD_START_TM,GIRD_NETWORK,GIRD_CAT||GIRD_CODE ';
begin
init_orderby_bar;
v_field_name := upper(replace(:system.trigger_item,:system.trigger_block||'.',''));
if v_field_name = 'GIRD_CATCODE' then
v_field_name := 'GIRD_CAT||GIRD_CODE';
end if;
v_prev_orderby := upper(get_block_property('GTT_INTRSCH_RANK_DATA',order_by));
if v_prev_orderby like '%'||v_field_name||' ASC%' then
v_asc := 'DESC';
set_item_property(:system.trigger_item,font_style,font_italic);
else
v_asc := 'ASC';
set_item_property(:system.trigger_item,font_style,font_plain);
end if;
v_orderby := v_field_name||' '||v_asc||replace(v_orderby,', '||v_field_name,'');
set_block_property('GTT_INTRSCH_RANK_DATA',order_by,v_orderby);
set_item_property(:system.trigger_item,font_weight,font_bold);
-- key_exeqry;
execute_trigger('when-tab-page-changed');
end;
Similar Messages
-
Change order date if output for change order
Hi guys,
how do i pull the change order date on to the printout only if the output is for change order.I don't know much about change order.i would really appreciate your help.
Thanks
ChrisHi Cheris,
Assume you mentioned purchase order change date ?
Change document date won't be updated in the purchase order header table(EKKO) or purchase order item table(EKPO).Generally all the changes will updated in the CDHDR (Change doument header table ) with Object value <b>OBJECTID</b>( Doument number ex: purchase order ) , User name of the person responsible in change document <b>USERNAME</b> , Creation date of the change document <b>UDATE</b> and etc,..
In your case consider CDHDR- UDATE filed as change order date. While selecting the updated information from the table make join query bet'n EKKO, EKPO and CDHDR with required combination and show the change order date on the PO printout.
I hope this will helps for you.Thanks.
Regards,
SAP TN. -
How to create search help for field in interactive adobe form
HI
I want to create search help for PERNR field in adobe form.
how i can do it.
Can any one giud me.
Regards,
Laxman SankhlaHi Laxman,
Please search SDN, there are lots of queries posted and solved earlier on this.
especially there are step by step blogs.
Cheers,
Sai -
Value Help for Date inverval in Variable Form in Visual Composer
Hi all,
I have created a variable form which has Date interval with value help as one of the parameters.
when i click on the value help and select any date interval then it is displayed as say '20081015:20090101' but when i submit this value i get an error "INVALID_VARIABLE_VALUES".
this variable is working fine when i manually enter the interval as '10/15/2008:01/01/2009'.
is there any way where we can input the date interval value as '10/15/2008:01/01/2009' using the value help.
any help is highly appreciated.
regards,
RK,.Hi Ramakrishna,
Value help is considered as a popup iview in visual composer. You can change the fields in popup iview like normal iview. Drill down the popup iview of the value help and change the date format using DSTR function.
Try the below link for change the date format.
http://help.sap.com/saphelp_nw04/helpdata/en/d2/63f340e8dd8431e10000000a1550b0/frameset.htm
Regards
Basheer -
Bought my Mac bookPro second hand. Help for changing apple ID
Bought my Mac bookPro second hand. Need an Help about changing apple ID to enable me purchasing form istore
Giving away / Selling your Mac / Resetting the computer to the factory condition
http://support.apple.com/kb/HT5189
http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/ -
Help for user toolbar in a Form
Hi,
In a form I have created a toolbar with button SAVE, NEW, DEL, QUERY, RUNQUERY, CANCELQUERY and I have a datagrid based on table.
Save, New, Del, and Query work correctly; but if I click on button RUNQUERY or CANCELQUERY no actions are execute.
In the trigger WHEN-BUTTON-PRESSED of RUNQUERY button I have entered DO_KEY('EXECUTE_QUERY') and in CANCELQUERY DO_KEY('CALCEL_QUERY').
Instead, After I Click on button QUERY (Enter_Query), I can be able to use the button F8 and Ctrl-Q.
Can You help me in order to resolve this problem ?
Thank You and Best Regards.
GaetanoHi Sim,
I have modified the property and now the button ENTERQUERY and EXECUTEQUERY work fine !!!!
But when I click on CANCELQUERY, the error FRM-41009 is displayed.
I have tried either the statements CANCEL_QUERY and ABORT_QUERY, without result.
Have You an idea ?
Thank and Greetings.
Gaetano -
Select query help for Sales order
Hi Experts,
I have to write a select query to fetch sales orders which are open along with the quantities which are open ( not delivered). What would the best approach for this?
Any help is appreciated. Expecting code samples....Thanks
Thanks
Rickyhi,
do like this,
write a select query for vbak and vbuk as follows.
delivery status field is <b>lfstk</b> from <b>vbuk</b>,
and relation field is <b>vbeln</b> from the both the tables.
reward points if useful,
regards,
seshu. -
Little help for calling report from a form
hi,
I AM NOT ABLE TO CALL THE REPORT WITH THE FOLLOWING CODE. PLEASE TELL ME WHERE I AM DOING WRONG! THANKS A LOT!!
It is Oracle 9i and Reports 6i.
-> I have a form with only one BUTTON.
-> I have a REPORT with only one USER PARAMETER 'P_1' which is a number.
-> I have only one query INSIDE the report. It is "SELECT * FROM EMP WHERE EMPNO = :P_1'
-> I added the report to form in the OBJECT NAVAVIGATOR of FORM and the NAME OF REPORT is 'REOPRT4'
here is the code on the form:
================================
When_button_pressed
DECLARE
vid report_object;
vname varchar2(100);
BEGIN
vid := find_report_object('Report4');
vname := run_report_object(vid);
END;
==================================
-> the FORM and REPORT are in "c:\helloworld" directory.
-> the error I am getting is 'internal pl/sql error'
-> I WANT THE USER TO ENTER THE RUNTIME PARAMETER FOR THE REPORT AT RUNTIME, so no need to worry about supplying the parameter through code!!!
Thank You very much. I appreciate your kind help!!I think that you have to add some code, see page 15 in this:
http://otn.oracle.com/products/forms/pdf/277282.pdf
Helena -
F4 Help for Purchase Order field in SRM
Hello,
I am working on developing a report program in SRM in which I have the fields Purchase Order Number, Fund, WBS Element for which I've taken the reference type as crmd_orderadm_h-object_id, BBP_PDACC-FUND, BBP_PDACC-WBS_ELEM_E respectively. I would like the F4 help to be added for these fields. How do I do that? Please let me know.
Thanks,
Venkata Phani Prasad KClosing Thread.
-
Customer exit for changing order quantiy and scrap quantiy in MD11?
Hi gurus,
My objective is to update the order quantity and scrap quantiy field as per some logic and overwrite the existing values in MD11 (create planned order). Can you suggest the correct exit for incorporating these changes
ThanksHi,
Try LMDR2001 and LMDZU001.
Hope this is useful.
Regards -
Please Need help for change chart automaticly in report builder
Hello,
I have a problem under transfer Builder oracle 6i and I wish that you help me.
I developed a report which contains a Camembert cheese, The parameters to enter are the date of edition and the code of the customer. For every customer that works very well. But when I wish to generate all the customers I have to get back the code of the customer from the request and to spend it in parameter automatically without the seizure of the code, the information of the customer is exact but the Camembert cheese generates without change and I think that I have to cross(spend) the code of the customer in parameter in the Camembert cheese but I do not know how.
My questions:
how to give a parameter in a Camembert cheese under graphic builder either adjournment(transfer)?
do you have another solution so that the Camembert cheese generates for every customer?
Thank you very muchcan someone please give a work around for this issue.
Regards,
Amrit -
Creating Search Help for Web Dynpro ABAP (FPM) Forms
Dear All ,
I am very new with SAP HCM P&F with FPM form. I am stuck with field search help functionality in FPM form. I have created on search help using
Web dynpro component to get all travel requests for all employees and linked it to FPM form field and its working fine....
But.... my requirement is how to filter travel request based on the PERNR (employee number) field in FPM form.
I think it can be achieved by using importing parameter LISTENER of interface IF_WD_VALUE_HELP_LISTENER but I am clueless how to pass PERNR to this interface to get travel requests for only employee number in field PERNR.
Kindly help me out in this issue.
ChohanUse this code in set_value_help_listener
for e.g to read effective date.
wd_this->help_listener->f4_context_element->get_attribute( EXPORTING name = 'EFFECTIVE_DATE' IMPORTING value = wd_this->gv_eff_date ). -
Is there any real support or help for lost orders
Seriously. Any other company you can at least find a phone number. I made an order of a few prints for a christmas present 2 weeks ago. They never arrived, the tracking and order numbers apple supplied me do not show up when I login. There is no way to track any status, I cannot contact anyone...what do you do? Is Apple actually trying to make a real business out of providing this service? How can a company go into this market and offer no support? I sent an email via the web-form, but from my other experiences with apple support on hardware - it is not really going to yield much.
Can anyone give me a phone number to call? Am I screwed and I should just reverse the charges on my credit card and use snapfish or some crap online service?Same thing is happening to me - no record of it anywhere ... except on my credit card!! This was a gift for my mother's birthday which is in 5 days!!!
-
HT1918 Need help for changing billing information.
I couldn't change my billing information for my Apple ID. It rejects and says,"Please contact iTunes support to complete the transactions". I did contact them but nothing helps.
Hello,
You should be able to bring up multiple IP's on your machine so that you can have both up until the new one takes over or the old one expires.
I haven't done this for awhile, but I think you would use something like:
ifconfig hme0:2 plumb
ifconfig hme0:2 202.68.216.40 netmask 255.255.255.0 up
route add default 202.68.216.1
NOTE: you would need to change the hme0 to the appropriate NIC for your system, and the interface# and IP addresses as needed.
If that works and the IP is reachable from outside, you could then update the:
/etc/hosts
/etc/netmasks
/etc/defaultrouter
And reboot. Hope this helps. -
Help for using java class in forms 9i
hi
i have been trying to use java class in forms9i but unable to execute ,i have encountered exceptions,for which exception handlers have been declared like ora_java.java_error and exception_thrown but failed to handle run time errors , i have tried all ways from my side.
my java class returns a simple string
i need help on various work arounds
thanks in advance
yashsir
i have written a simple java class which returns a string hello imported using a java importer in forms 9i
and i call my class in when button press trigger
i have also imported java.lang.Exception for my exception handlers,i have no compile errors,but when i run my forms i get run time error and my exception handlers fail to trap it . ihave no idea how to proceed .
should i use bean area in form and call the class using fbean from custom item rigger if so please explain
can i get sample code example for calling a java class methods from forms.
thanks
yash
Maybe you are looking for
-
Report problem link opens up word (pc)
When I click on report problem link in purchase history for an app, all it brings up word. Don't have email receipt yet and itunes support is useless. it's like trying to find a needle in a haystack.
-
How to have email conversation take on appearance of most recent message?
I've setup a variety of email rules to change the background colour of messages based on a particular header field. Basically, messages are coloured red, orange, yellow, or green, depending on their state in a workflow. The problem is that collapsed
-
Problem extracion BW7.0 from PI 7.1
The systems: SAP NetWeaver 7.1 (PI) - Source SAP NetWeaver 2004s (BW) On the RSA1 the DS connection it's OK. When we try to launch an infopackg, we encountered some problems: 1) Transaction Canceled IDOC_ADAPTER 151 ( SAPLBD 100 ) Now it's OK, by IDX
-
Procedure to Export schema using DATA PUMP
Hi All, This is pandiarajan and i want to know the procedure to export schema using datapump in oracle 10g. Please help me Thanks in Advance
-
IDOC segment report with domain lookup
Does anyone know of a report that will list an IDOC's segments with the qualifier texts expanded. Example: The E1EDK14-QUALF segment belongs to domain EDI_QUALFO (IDOC qualifier organization) which has 19 values in its value table. I'd like a report