HCM ECM Budget Upload using Custom Import button
How does the BAdi HRECM00_BDG0001 (Initialize Budget Values) work in regards to using the u201CCustom Importu201D button? More specifically, how does it work when trying to upload a spreadsheet or external source? The BAdi does not allow the call to FM u201CGUI_UPLOADu201D or any selection screens or a call to the F4 FM to find a file on a desktop, etc.
Any help is appreciated.
Nachy & others,
I get a runtime error when using the class as follows:
Error when processing your request
What has happened?
The URL https://aaaaaa99.aaa.com:9999/sap/bc/bsp/sap/hrecm_bdg_maint/main.do was not called due to an error.
Note
The following error text was processed in the system : Exception condition "NOT_SUPPORTED_BY_GUI" raised.
The error occurred on the application server and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: FILE_EXIST of program CL_GUI_FRONTEND_SERVICES======CP
Function: GUI_UPLOAD of program SAPLSFES
Method: GUI_UPLOAD of program CL_GUI_FRONTEND_SERVICES======CP
Method: IF_EX_HRECM00_BDG0001~DETERMINE_BUDGET_VALUES of program ZCL_IM_HR_MSS_ECM_BUDGET======CP
Method: IF_EX_HRECM00_BDG0001~DETERMINE_BUDGET_VALUES of program CL_EX_HRECM00_BDG0001=========CP
Function: HR_ECM_BUDGET_USER_EXIT of program SAPLHRECM00BUDGETSTRUC
Method: DO_CUSTOM_IMPORT of program CL_HRECM00_BSP_BDG_DETAILS====CP
Method: DO_HANDLE_EVENT of program CL_HRECM00_BSP_BDG_DETAILS====CP
Method: IF_BSP_CONTROLLER~HANDLE_EVENT of program CL_BSP_CONTROLLER2============CP
Method: DISPATCH_INPUT of program CL_BSP_CONTROLLER2============CP
Similar Messages
-
ECM Budget Upload using BAdI HRECM00_BDG0001
Hi experts,
Iu2019m implementing HRECM00_BDG0001 BAdI in transaction PECM_START_BDG_BSP. This transaction executes a BSP application, in this application after clicking a button the BAdI is called. I need to show a file browser to let the user to upload a file. Iu2019m using FM 'KD_GET_FILENAME_ON_F4' to show the file browser, but Iu2019m unable to see the file browser dialog and, even worse, Iu2019m getting an error: Exception condition "NO_BATCH" raised. I suppose than BSP applications execute backend calls in background, but I need to give user the chance of selecting a file to upload, is there another approach? What could I do? Iu2019m really stuck. I need some help.
Thanks in advance.Hi Christian,
Please check if hte below links help you in some way.
Uploading Files and Manipulating their Content
http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm
File Upload in BSP Applications
http://help.sap.com/saphelp_nw04/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm
Regards,
SuryaD.
Edited by: SuryaD on Dec 18, 2009 11:15 PM -
Keeping session using custom save button in managed bean
Greetings,
I'm building a application based on BC + ADF(JSF).
All around the app. I need two buttons, one for committing and actualizing the UI data, and other to return to the previous page.
Instead of customizing those buttons every time they occurs, I've haded a managed bean to do the work. This managed bean as "request" scope.
The process of editing a form, requires me to have one form to only view the data and other to edit the data.
The issue is: when saving a form, it should return ("back" action) to his precedence, keeping the session state.
That is: If I'm editing "process 2" when i commit it should go to "process 2" in read only mode.
This works fine if i use "hardcoded buttons", but when i use the managed bean to handle those buttons action, when committing, it goes to the first on the list. It doesen't keep the session state.
How can i keep the state ?
Thanks
here it is the managed bean:
package fc.view.backing;
import fc.model.FirstCareAppModuleImpl;
import javax.faces.context.FacesContext;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.view.faces.component.core.nav.CoreCommandButton;
import oracle.binding.BindingContainer;
import oracle.binding.OperationBinding;
import oracle.jbo.ViewObject;
public class fcLib {
private BindingContainer bindings;
private CoreCommandButton commandButton_save;
private CoreCommandButton commandButton_backOnePage;
private CoreCommandButton commandButton_backHome;
* Get and set bindings
public BindingContainer getBindings() {
return this.bindings;
public void setBindings(BindingContainer bindings) {
this.bindings = bindings;
* Getters ans setters for "save" and "back" buttons
public void setCommandButton_save(CoreCommandButton commandButton_save) {
this.commandButton_save = commandButton_save;
public CoreCommandButton getCommandButton_save() {
return commandButton_save;
public void setCommandButton_backOnePage(CoreCommandButton btn) {
this.commandButton_backOnePage = btn;
public CoreCommandButton getCommandButton_backOnePage() {
return commandButton_backOnePage;
public void setCommandButton_backHome(CoreCommandButton btn) {
this.commandButton_backHome = btn;
public CoreCommandButton getCommandButton_backHome() {
return commandButton_backHome;
* Back actions for back buttons
public String commandButton_backOnePage_action() {
return "back";
public String commandButton_backHome_action() {
return "home";
* Save button action - Used in al pages that do save (commit) data
public String commandButton_save_action() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("Commit");
OperationBinding operationBinding2 = bindings.getOperationBinding("Execute");
operationBinding.execute();
operationBinding2.execute();
// It should be a error page
if (!operationBinding.getErrors().isEmpty()) {
return null;
// Refresh main view object
DCBindingContainer bc = (DCBindingContainer)FacesContext.getCurrentInstance().getExternalContext().getRequestMap().get("bindings");
FirstCareAppModuleImpl fc = (FirstCareAppModuleImpl)bc.findDataControl("FirstCareAppModuleDataControl").getDataProvider();
ViewObject vo_SitSocProf = fc.findViewObject("EpisodiosMain");
vo_SitSocProf.executeQuery();
System.out.println(" All done. Ciao ");
return "back";
}Hi
I re-execute the query only to refresh the AM VO data.
I'm using AM EO to access DB Views, that use IOF triggers to update/insert/delete into the DB.
Using the application, when updating data, changes wont reflect in the UI if I don't refresh the "master" VO, that is "EpisodiosMain". I'm doing a commit and a execute to a "detail" VO.
"If you need to execute the query and set it back to the last row you worked with, get the row key before executing the query so you can set the current row back to this rowkey"
Could you please throw a example on how to do this ?
"Reaching through to the AM to execute the VO isn't best practices. You should grap the associated iterator in teh binding instead and perform the execute operation. Note that usig ADF binding there are only rare situations in which you need to access teh business service directly as you do. "
Again, could you please post an example of how to do this, or introduce me to some documentation.
Thanks
Message was edited by:
Buondi -
Budget Upload using transaction KP06
Hello,
We're using transaction KP06 for processing a budget upload, at the currently the upload only replaces the data in the system, there is no option to add to the numbers that are already there. For example, if we have 100 in a specific cost centre/cost element and we want to add 200 dollars to it via upload there is no way at this time for us to tell the upload to add the 100 plus 200 to get 300, it would overwrite the 100 and insert 200.
Please advise us how we can add budget ?
Regards,
SaeedHi
I agree with Ajay, there is no way to add value for the same period in which you have already loaded the budget.
As a work around (though this is not advisable) if this is normal situation, then load you plan for period 1 to 11 (with equal distribution) and whatever delta you want to add you can do it in 12th period but this will not be equally distributed.
This way you will be able to add, but you comparision of plan with actual will not be equal distributed.
But its better to overwrite with complete value.
Best Regards -
How to download splist item attachment using custom ribbon button
Hi All,
I have a requirement to download sp list items attachments in a zip format to file share. Is there a way to do this? please do let me know.
Your quick turnaround is much appreciated
MercuryManHi,
According to your post, my understanding is that you want to download list items attachments in a zip format to file share.
You can create custom ribbon action.
More information:
SharePoint 2010 Download as Zip File Custom Ribbon Action
Download files as Zip File in SharePoint
Create a SharePoint Custom Action to Zip and Download a Document Set
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Its in the title.
Nothing in the instructions about transferring via "HomeSharing" states to use the Import button.
Have you actually read the instructions?
What specific step are you having an issue with?
The article from which your question was posted provides details on how to transfer the iTunes library multiple ways, did you try one of the other methods? -
Urgent: custom action buttons
i tried to program a midlet for the siemens s55 using custom action buttons (i.e. start, back, actions) but the siemens s55 doesn't show the action buttons like in the emulator instead it shows for example its own action buttons (i.e. options) and within that action button i find my own action buttons - or it simple adds an action button where i don't want to have one - how can i avoid that?
or to put it that way: what i can implement in a midlet that shows action buttons just like in the emulator and that on any mobile phone?
or if there isn't a solution for the above mentioned problem then how can i rename standard action buttons?buurdb is correct. The mapping between the Commands added and the device's soft-buttons is at the implementation's discretion. If you are targetting a specific device only, then you can try to play around with the Command types and priorities to get the placement you want (the success you'll have depends on the device). In general it is advisable (specially if you want the application to be as portable as possible) to just just Command types and priorities that acurately reflect the actual Commands and let the implementation do their best job to map them successfully.
shmoove -
Excel data read from users and upload in to Oracle DB using custom webpart
Hi Team,
I need to get the excel date from user using file upload control and read the data from the excel using custom webpart and validate the each rows whether having the values or not and need to upload the data to the oracle database.
Can you please let me know the best approach to read the data from excel using sharepoint custom webpart.
Thanks,
MylsamyHi,
According to your post, my understanding is that you want to read excel data from the uploaded file and insert the data into Oracle Database.
The following way for your reference:
1.Create a Visual Web Part using Visual Studio.
2. Add an asp.net upload control into the .ascx file.
<div>
<asp:FileUpload ID="fileupload" runat="server" />
<asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" Text="Upload" />
</div>
3. Add some logic methods into .ascx.cs file.
protected void btnUpload_Click(object sender, EventArgs e)
//read data and insert the data into Oracle database.
4.We can create a web service for adding data to Oracle database, then consume this web service in the visual web part.
More information:
http://msdn.microsoft.com/en-us/library/ff597539(v=office.14).aspx
http://manish4dotnet.blogspot.in/2013/02/upload-ans-read-excel-file-using-c.html
http://msmvps.com/blogs/windsor/archive/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010.aspx
Best Regards
Dennis Guo
TechNet Community Support -
I am unable to upload the customer master data using BAPI.?
Hi Guru's,
i am unable to upload the customer master data using BAPI.(BAPI_CUSTOMER_CREATEFROMDATA1)
Please guide me how upload the data...
Thanks in iadvance
Srinivas...Hello Srinivas
This BAPI does not allow to create a new customer from scratch but only to copy an existing customer to a new one and change its address data.
The reference customer has to be provided using IMPORTING parameter PI_COPYREFERENCE. See also the BAPI documentation for more details.
The BAPI does the same like transaction XD01 with Reference.
Regards
Uwe -
How do I use my own customer Paypal buttons
Hi everyone,
I've set up Paypal and have managed to get Paypal's own button working. However, I'd like to use my own buttons but don't understand how to do this based on the info you've kindly given. It's the uploading my button to my hosting provider that I dont understand. What does this mean? how do I do this? My website is with Adobe Business Catalyst and my domains are through 123-reg.
How do I 'host' a button? Are there any video tutorials on this anywhere? I need a step by step guide on this part. I need to get this up and running this week, so any info would be greatly appreciated.
ThanksYes, PayPal's buttons are quite ugly and fortunately are easy to change. All you have to do is make your own buttons (which it sounds like you have), then upload them to the images folder on your website. This requires being able to access your site through FTP, so if you don't know how to do that look it up, super easy, lots of free FTP programs out there (FTP is just a program that opens your website in a window that looks like your computer's hard drive, with your folders arranged the way you're used to).
Once you've logged into your site through FTP (using the same username and password you'd use to upload directly through Muse), just find and double click the images folder and put your buttons in there. You have to upload your buttons to your site before this next step.
Then, grab the original PayPal code you got for your buttons, copy it to a text file somewhere (whatever text editor you have on your computer), and look for the line that says
<input type="image" src="
and replace the entire text that's inside the parentheses in the src=" part with the text of where your new button images are (your button images will be in your images folder, so the text you'd replace would be whatever your website was named, like http://www.randomsite.com/images/button.png, obviously changing my example to your real website name and changing my button.png file to the real file name of your button).
Once you've done that, copy the entire PayPal code again, all of it, not just the one line you changed, and paste that into Muse, and your new button will automatically show up. No need to place the button image as a graphic in Muse, just paste the new PayPal code and the buton automatically shows up, linking to your PayPal account. -
When I use Home Sharing, I can see the library I want to copy under Shared, but I can't get it save on the computer under the regular library. I go to edit and "select all" but there is no import button that is in the right hand corner. Also, it will not let me click and drag the music. How do I get it from one computer to the other?
Since both computers are connected via the network, you could simply copy the ENTIRE iTunes folder from one computer to another via the network.
If both computers are running Windows, use the Easy File Transfer Utility built into Windows to move iTunes and all other user media/data. -
I have installed a trial of Adobe illustrator on my macbook pro. It is the 2014 release of adobe illustrator. I want to trace an image using the custom trace button.
I start a new document. Then I place my scanned pencil/colored pencil drawing, in to the document. I have tried scanning and then placing it as a jpeg, bitmap, and tiff file. I have tried scanning and then placing it, in color and in black and white. The scan mode I use is flatbed. Adobe illustrator allows me to select the default button and one of eleven preset buttons (e.g high fidelity photo), but it does not allow me to click the custom trace button. The custom trace button is grey while all the other buttons are white.
Does anyone have any ideas how I could custom trace?It seems pointless to adjust it afterwards because it is then only a couple a pencil lines rather then a full drawing. And how do I adjust it afterwards? Would I do this using the different buttons under the window button?
-
Hi. I have not used Roxio Jam for quite a long time and I just wanted to make a few CDs. Jam used to work easily and well. I have a problem. I can't drag and drop iTunes music files anymore and, now I have to import music one song at a time by using the "+" or "-" buttons on the bottom. What is going on? I trashed the preferences file and restarted Jam to no avail. I also have selected that Jam should open files with iTunes in the Jam preferences. I have a G5 DP 2Ghz PPC machine with OS 10.4.11, iTunes 9.2.1 and Quicktime's version is 7.6.4. I have 2 GB of RAM and the machine has dual 1.25 Ghz. processors plus a 500 GB HD. Can anybody give me any suggestions?
Thanks in advance,
LarryI found an solution.
Uninstalling AirParrot as well as the two offending AirParrotDriver.kext and APExtFramebuffer.kext files in System>Library>Extensions was the fix. All problems disappeared. -
When launching Lr i get the initial screen to come up followed by an "error while changing modules" pop up. I have uninstalled and re-downloaded, followed all the suggested trouble shooting fixes and still nothing. When the app starts it has the basic info boxes but without any options in them (i.e. no import button or any buttons at all for that matter).All my other creative cloud apps seem to be working fine but Lr won't. Please help
Ah, see, you said you had done it differently before.
> and I tried to add a toolbox button by navigating to AcroPDF.dll.
You'll need to reinstall Reader if the libraries aren't registered. You can't register them manually.
Perhaps if you posted some of your code (where it creates the objects, etc.) we might be able to give you some more advice. You're sure you aren't trying to use anything outside of the AxAcroPDFLib.AxAcroPDF class? -
Hi there
I have up-dated LR to the latest version and like to use the plug-in for the import from the Aperture library. I follow the steps suggested by an article, have saved all picture into separate folders (folder = project name) and still, after the analysis of the library, the "import" button disappears and I am stuck and can't import.
Any ideas what can be done/must be done to get this working?
Regards
DiethardI am having the same issue, i've selected my Aperture library, and the "import" button does not activate. Any idea how to fix?
Maybe you are looking for
-
HELP ME PLEASE.my Lenovo S890 it is totaly bricked?
My lenovo s890, got stuck/dead. it cant open and dint boot any thing after i did this, at first , i want to root my phone, i follow the intruction from youtube http://www.youtube.com/watch?v=W_Gs0bpUMmY << but an error has occured it didnt said OK a
-
MAX encountered an unexpected error
need help how can i fix max ?max version 5.0 C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Logs\20111014_145326-NIMax-00000CAC.dmp The niVISAui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand
-
Consignment Sales Process in India
Hi Gurus, I want to know what is process flow for consignment sales , e.g VA01(KB/CF) -->VL01N(LF).........AND SO ON Where do the Excise Transactions come into picture? In consignment Fill-up, Do we generate Excise Invoice and what will be the rate o
-
Hey, I found few queries in this forum regarding pinting a PDF without opening it. Here is a solution - "Print a PDF" is a tool from wbcsoftwarelab. I am as a Desk Top Publisher using this from past a year. Actually, after downloading the tool I modi
-
Help! Can't publish to iWeb
Tried to publish on iWeb (after not using for over a year) and a box pops up saying "Enter the password for "c368387" on "web1439.hostexcellence.com." Anyone know what this means and how to fix?? Thank you