Adding a new button in the PO search summary in SRM 3
Hello gurus,
my requirement is to add a new button in the search summary for PO in SRM. Here's the task: every time a search is executed, the result is a list of purchase orders and every item has on the left two icons, "Show PO" and "Modify PO". There are merely a shortcut that brings the user to the PO screen in which the document is shown/can be modified.
These two buttons are standard... my task is to add a new button in the template, "Copy PO", which should be a shortcut to the omonimous button which is present in the PO view screen. So I think this new button should work as the two standard ones.
In order to do so, I looked into the proper template: SAPLBBP_PDH_SEARCH, screen 3003, which belongs to the package BBP_PRODOC_C (ITS service BBPSEARCH).
I tried to "duplicate" the part referring to a standard button (e.g. the "display icon" chunk), obtaining a new chunk which represents the new button in the template.
And... it works, in the sense that the button is visible and clickable. So far so good. Here's the questions since I'm not absolutely an expert on Jscript... My button, once clicked, triggers my FORM (PO_COPY) which should receive the header GUID of the Puchase Order.
In debug I've seen that the form fails since it does not receive any parameter, and that's probably related to this section:
(angle brackets omitted, it gave me an error posting tags in sdn)
"JavaScript:HyperSubmit('PO_COPY', '`MAINLIST-LINE_NUMBER[j].value`')"
The problem is I did not understand how to check for possible parameters of this HyperSubmit method. Also, I'd like to check what's the structure of MAINLIST (as far as I've seen, MAINLIST-LINE_NUMBER[j].value is a parameter passed to the form) but don't know how to see that. Can anyone please direct me through these passages? Thanks in advance.
Hi Matteo Montalto,
Please let me know how you added new button.
Regards,
neelima
Similar Messages
-
Adding a new field to the search help exit
Hi friends,
adding a new field to the search help exit. How does it work ?
Thanks in advace
IlhanThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
Adding a new field to the Address Data for a business partner
Hi Experts,
I am trying to add a new custom field to the address data (all structures and tables) that is linked to a business partner on SAP CRM via EEWB. Structure is the address structure wthin BUS_EI_EXTERN. Table is BUT020. I have been told that it is not possible as there is no Business Object that allows this. When doing an EEWB, the only business object is BUPA, which when selected, adds the new custom field to BUT000. I would like the field to be added to BUT020 (Address Table). This leads me to believe that there is no standard way of doing this, which ultimatley means that it would need to be done manually. Please help me with this predicament.
Regards
YusufThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
Adding a new server in the menu of SAP GUI 640
Hello Everybody,
While adding a new server to the menu of SAP GUI 640 using Server Tab after entering all details like :
1] SAP System ID
2] Hostname where message server is running
3] SAP ROUTER :None
After filling all the above details and after pressing the Generate List Button I am getting the following error .Please help me to know why this error is coming and suggest a solutio for adding a new server to my SAP GUI 640.But I am able to add a new server using User defined tab but I want to add a new server using Server tab.
Below is error details which I am getting:
Error:service'sapmsSBX'unknown
Wed Jan 09 06:41:13 2008
Release 640
Component NI(network interface),version 37
rc=-3,module ninti.c,line 463
Detail NiPGetServByName: service 'sapmsSBX' not found.
Thanks and Regards,
Ashish Thakkar.Hi,
check etc/services for sapmsSBX entry. If missing - add it (i.e. sapmsSBX 36XX/tcp - where XX is your instance no.)
Add an extra [Enter] after last line of etc/services.
Regs,
FS -
Hide and Display submit button on the Simple search page.
Heading 1: h1 Hide and Display submit button on the Simple search page.
I'm trying to set the enabled property of the submit button on the simple search page. The business case is to disable the button if the VO has not returned any rows.
The Submit button is on the page button bar.
regards
AbhiHi,
I have already added this in my ProcessRequest, the issue I am facing is it the submit button is disabled while I load >the page which is fine. but when I do a search and the query returns rows still the submit button is disabled.---Will nt reuired SPEL here..
---On go button click setsession value.
Follow below steps:
CO PR:*
OASubmitButtonBean continueBtn=(OASubmitButtonBean)flowLayout.findChildRecursive("continueBtn");
if(continueBtn != null && "D".equals(oapagecontext.getSessionValue("Flag"))
continueBtn.setDisabled(false);
else if(continueBtn != null )
continueBtn.setDisabled(true);
CO PFR:_
if(pageContext.getParameter("Go") != null)
oapagecontext.putSessionValue("Flag","D");
Regards
Meher Irk
Edited by: Meher Irk on Mar 22, 2011 7:48 PM
Edited by: Meher Irk on Mar 22, 2011 7:48 PM -
CProjects - Adding a new field to the detail screen of object link
Hi All,
I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
Please let me know how could i realise this functionality?
Thanks in advance.Hi Srini,
Thanks for your Reply
I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
But still that field is not visible in the dynamic selection screen.
Thanks
Ajay.D -
ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Dear friends,
Please help me with this scenario.Thanks so much for your help.
Task: ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Need to create a new item on this page called "approver notes" (column notes).
Can this be achieved by personalization?
Scenario:
On credit request details page disputed invoice number, request date, status, bill to, ship to, etc are displayed.
When the status is "not approved”, item should be displayed along the "rejected" comment.
If the status is other than "not approved" then the item should not be displayed.what page is this ? are you sure it is a OAF page ?
If it is a OAF page, you would need to extend the controller to fire a partial action for the item and then control the display property of the comments field
Tapash -
CRM IC Winclient - How to add new fields in the BP Search of TRX CIC0
Hello Experts,
I want to know how to add new fields in the BP Search of TRX CIC0. In the HTML that we're using here I need to add the URL of the BP.
Can you help me?
Thanks in advance.
Caíque EscalerHi
make append to tables in se11 - CCMBP1FIELDS, CCMBP2FIELDS
in spro in Define customer-specific search control -> mark fields with X.
and enhance html template CRM_CIC_SEARCH_DISPLAY. -> tcode smw0, look for package CRM_CIC_COMPONENTS for html CRM_CIC_SEARCH_DISPLAY. export it from SAP, edit, and import.
you will need to enhance function module used for searching - you will find him in spro in Search Strategies.
Regards
Radek -
Adding a custom button to the Builtin Button Group of an MVToolbar object.
I suspect this is not possible, however, I would like to add a custom button to the built-in button group of an MVToolBar object. I have attempted to do this with the following code:
// Create an array of the built-in buttons I require
var toolArry = new Array();
toolArry.push(MVToolBar.BUILTIN_CIRCLE);
toolArry.push(MVToolBar.BUILTIN_RECTANGLE);
toolArry.push(MVToolBar.BUILTIN_REDLINE);
// Create the MVToolBar object using the array items created above
createLocToolBar = new MVToolBar("createLocShapes",toolArry,MVToolBar.HORIZONTAL);
// Add the Toolbar to the map view object
mapview.addToolBar(createLocToolBar);
// Create the required custom button
createLineBtn = new MVToolButton("createLine",MVToolButton.TOGGLE,"/i/blue_arrow_down.gif","/i/blue_arrow_up.gif");
// Attempt to add the custom button to the built-in toolbar
createLocToolBar.getBuiltInButtonGroup().add(createLineBtn);
Upon running the above script, the built-in buttons I've defined in the array are displayed as expected, but the custom button does not appear (no errors are displayed either).
If I comment out the above line and instead include the line below, the custom button is displayed, but of course this is not part of the built-in group.
createLocToolBar.addButton(createLineBtn);
Any assistance greatly appreciated,
JRThanks for the reply, Michael. I understand that the Login.jsp needs to be modified and redeployed, but the question is how to create a new button with the same look and feel as the Login button. Currently we have modified the Login.jsp with a "Forgot Password" html link, but it would be prefered to create a button to match what already exists. I understand that this might be outside the scope of this forum, but I was hoping that someone that has done this (specifically the original poster if he found a solution) could share the relevent code.
-
Adding a push button on the report toolbar
adding a save button on the report toolbar, so that after clicking the button, the data fetched on the report will be stored in the application server.
Hi
to automate this process ,best way is to create a Z rport and there u can submit this sap standard report and get its output into an Internal table and then u can write this internal table to application server via following demo code -
this is code for both (download /upload),u can not use CG3y and CG3z as u want to do it as a background job ..
*& Report ZGILL_AS *
REPORT ZGILL_AS message-id rp .
tables: pa0001,pa0002.
select-options s_pernr for pa0001-pernr no intervals MODIF ID XYZ.
parameters: p_dwnld AS CHECKBOX ,
p_upld AS CHECKBOX DEFAULT 'X'.
parameters: P_DSNI(75) TYPE C MODIF ID ABG DEFAULT
'/usr/local/sapdata/amit.dat' LOWER CASE.
data: begin of itab occurs 0,
pernr(8),
sp1(1) value ',',
werks(4),
sp2(1) value ',',
persg(1),
sp3(1) value ',',
persk(2),
end of itab.
data: s_eof(3).
start-of-selection.
if p_upld = 'X'.
OPEN DATASET P_DSNI FOR OUTPUT IN LEGACY TEXT MODE.
PERFORM FETCH_DATA.
STOP.
elseif p_dwnld = 'X'.
OPEN DATASET P_DSNI FOR INPUT IN LEGACY TEXT MODE.
IF SY-SUBRC NE 0.
MESSAGE E016 WITH
'Error opening seq. file, RC:' SY-SUBRC.
EXIT.
ENDIF.
CLEAR S_EOF.
DO.
PERFORM FETCH_file.
IF S_EOF EQ 'YES'. stop. ENDIF.
ENDDO.
endif.
END-OF-SELECTION.
if itab[] is not initial.
perform print_file1 tables itab.
else.
write:/ 'No records exists'.
endif.
*& Form FETCH_DATA
text
--> p1 text
<-- p2 text
FORM FETCH_DATA .
SELECT * FROM PA0001 WHERE PERNR IN S_PERNR.
MOVE-CORRESPONDING PA0001 TO ITAB.
TRANSFER ITAB TO P_DSNI.
APPEND ITAB.
ENDSELECT.
CLOSE DATASET P_DSNI.
ENDFORM. " FETCH_DATA
*& Form FETCH_file
text
--> p1 text
<-- p2 text
FORM FETCH_file .
READ DATASET P_DSNI INTO itab.
append itab.
clear itab.
IF SY-SUBRC NE 0.
S_EOF = 'YES'. EXIT.
ENDIF.
ENDFORM. " FETCH_file
*& Form print_file1
text
-->P_ITAB text
FORM print_file1 tables P_ITAB structure itab .
write:/2 'EmpNo',
14 'Personnel Area',
34 'Emp Group',
47 'Emp SubGroup'.
skip 1.
loop at p_itab.
write:2 p_itab-pernr,
14 p_itab-werks,
34 p_itab-persg,
47 p_itab-persk.
skip 1.
endloop.
ENDFORM. " print_file1
<b>Reward if usefull</b> -
EIM - 'New' button on the Inbox list pane is greyed out.
I have had some problems with creating a new activity as an agent in EIM. This is for a new installation of Cisco EIM/WIM 4.3(1) integrated with UCCE 7.5.
I have raised this with Cisco TAC. But they are still investigating.
When I login as an integrated IPTA agent the 'New' button on the Inbox list pane is greyed out. Clicking on it does nothing. I am unable to create a new activity for an integrated user. There is no indication as to why it is not available. Receiving and replying to new inbound emails work fine.
However when I login as a standalone agent the 'new' button is available in the Inbox list pane. And clicking on it works as expected.
Should an integrated agent be able to create a new outbound email (activity) without replying to an existing one?
Thanks,
RichardHello Ashfaque,
You didn't include a screen shot of your Queues. I an integrated deployment you need to configure a Queue for outbound in order to map the MRD. You will also need to assign a Concurrent Task Limit for this queue as well for groups / agents that you map to it.
Looks to me as though everything else is configured properly.
Instrictions for creating an Integrated Queue can be found in this doc;
http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/cisco_interaction_manager/cim_43/user/guide/cisco_im431_cce_userguide_administration_workflow.pdf
Page 24, "Creating Integrated Queues".
This should solve your issue. If you still have questions or problems re-post and I will be happy to assist.
Thanks,
Kim -
Error while adding a new method to the Session Bean
Hello everyone. I'm using jdev 11g, ejb, jpa & jsf. Everything works fine. But when I try to add a custom method to the Session Bean, I'm having an error.
Here is my steps:
1) I added a new method to SessionBean.java. Something like this:
public void Hello() {
System.out.println("Hello!");
2) Then using Structure palette I exposed this method through Local interface and created data control
3) Finally, I made a command button binded to this method (just droped it from DataControls.dcx to my page)
When I start the page and click the button, I'm having the following error:
Error 500--Internal Server Error
javax.faces.el.EvaluationException: Method not found: Hello.execute(javax.faces.event.ActionEvent)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1227)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
... (I've truncated the log because there is nothing important in the missing part)Yes, I have binding in the page def. Everything is correct there:
<methodAction id="Hello" RequiresUpdateModel="true" Action="invokeMethod"
MethodName="Hello" IsViewObjectMethod="false"
DataControl="PriceServiceLocal"
InstanceName="PriceServiceLocal.dataProvider"/>
I've droped the method from the Data Controls panel -
Error 1430 when adding a new VI to the program
I have a program I developed in LV 2009 in 2009 and now I am updating it. I accidently opened it up in 2010 and saved it. There are Microsoft office tools that were built into LV 2009 that are removed in 2010 that I had used in my program. So I had to save as previous version (2009). After everything worked and I could run the code and compile I continued developing. At one point I tried to compile and got an Error.
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1430 occurred at Create Folder in Create Directory Recursive.vi->AB_Destination.lvclass:Create_Destination.vi->AB_Build.lvclass:Create_Destinations.vi->AB_Application.lvclass:Create_Destinations.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: The path is empty or relative. You must use an absolute path.
<Not A Path>
I have now figured out that if I add a new VI to the program, it gives this error. If I remove the VI, it compiles with no errors. If I add a blank VI with no code, it gives the error. I have worked as far as I could without adding a VI but now i need a pop up window and need to the VI. The code is too large to fit the max 6MB requirements.
Thanks
Matt
Solved!
Go to Solution.Hi mattyk,
When you say compile, do you mean press the run button? When exactly does this error show up?
I suggest you try copying all of your VIs into a new project, and try running the new project. It sounds like your project may have been corrupted in the process of upgrading and re-saving to a previous version.
I hope this helps! Regards,
Emily C
Applications Engineer
National Instruments -
HAP_START_PAGE_POWL_UI new Buttons in the ALV Control
Hello,
we use the POWL-Querry for perfomance management.
I wanna create a new button the the ALV-Table and this button should open a new WD with a PDF-File.
I created the Button already and i see the Button in my ALV Table. But if i press the Button nothing happen.
Do i have to customize the launchpad in the transaction LPD_CUST?
I tried it with an enhancement in the controller of the WD
ELSEIF ls_powl_params-value = 'zshowpdf'.
READ TABLE event_parameters INTO ls_powl_params WITH KEY key = 'URL'.
Create the parameter table with the required values to generate the url.
CLEAR ls_parameters.
ls_parameters-name = 'MODE'.
ls_parameters-value = 'X'.
APPEND ls_parameters TO lt_parameters.
CLEAR ls_parameters.
ls_parameters-name = 'WDACCESSIBILITY'.
ls_parameters-value = wd_this->l_accessible.
APPEND ls_parameters TO lt_parameters.
my own WD
CLEAR ls_parameters.
ls_parameters-name = 'WDCONFIGURATIONID'.
ls_parameters-value = 'ZAIF_AIP2_PDF_VIEW'.
APPEND ls_parameters TO lt_parameters.
wd_this->lt_params = lt_parameters.
wd_this->url = ls_powl_params-value.
wd_this->display_document( ).
I hope someone can help me with this problem.
best regards
jensIf you did a search of this forum using the name of the WDA app you are considering:
[Search of forum for HAP_START_PAGE_POWL_UI_ESS|http://forums.sdn.sap.com/search.jspa?q=HAP_START_PAGE_POWL_UI_ESS&objID=f249]
I think you would find several posts where I and other have provided this information in the past.
Re: help in finding view corresponding to application etc.
Please do follow the forum rules and search before posting!
Thanks,
Chris -
Hi,
We want to add a new button to PA30 in order to produce a smart form for the spacific employee.
How can i do it?
Thanks in advance
SharonahI,
In order to add additional Radio button IN HR infotypes you need to
implement enhancement 'PBAS0002' using CMOD . Once you
have done this you need to go to the function modules EXIT_SAPFP50M_001 & EXIT_SAPFP50M_002
and create the includes within them i.e. ZXPADU01 and ZXPADU02. You can now enhance the
functionality of HR infotype PBO and PAI by simply adding code to these includes.
HR Infotype User exits
Include ZXPADU01 for the PBO module
Incldue ZXPADU02 for the PAI module
*Example code.
CASE innnn-infty. "Infotype?
WHEN '0001'. "infotype 0001
Processing code
WHEN '0008'. "infotype 0008
Processing code.
etc.
WHEN OTHERS.
ENDCASE.
WARM REGARDS,
KAPIL
Maybe you are looking for
-
ISE 1.1.1 to ISE 1.2 upgrade path for ISE node
Hi, Currently in ISE deployment , we have 2 ISE nodes with 1.1.1.268 version with latest patch, ISE nodes hold following personas Node1 : Admin, Monitoring , PSN Node 2 : PSN How will above deplyoment should be upgrade to 1.2 ? In which order th
-
Business Services and Business System
What is deffrence between Business Services and Business System. Which type do I have to choose for File,JDBC,SOAP Receiver/Sender?
-
Cant connect to Airport Express or Apple TV
After I upgraded I cant connect my Itunes to Airport Express (the option on the bottom is gone) ... nor can I connect to AppleTV. What can be wrong???? Please help!
-
Help...Trying to edit mts/avchd on i movie.
Hi. New to mac format. I have a fair bit of video in avchd/mts format. I had these on an ext drive and have transferred them to my new iMac, however I am unable to edit them in i movie. Please help?
-
How to give rebate according to ship to party
how to give rebate according to ship to party.