How to not only use real BAPI functions?
Hi,
I'm trying to get the value of leave entitlement of an employee.
Browsing through the BAPI explorer I found the BAPI_TIMEQUOTA_GETDETAILEDLIST,
but this only works for infotype 2006 and I need infotype 0005.
Now I searched with transaction SE37 and found the function
HR_DE_GET_HOLIDAY, which is able to get either 2006 or 0005.
But how can I implement this function in php?
If I enter the Bapi call in the saprfc_test.php, I get a form with input parameters like all other calls I tried.
But entering the hr_de_get_holiday, nothing happens.
Looks like the saprfc module only supports 'real' bapi calls?
Thanks in advance for your assistence.
Hi Knud,
Yes.. once you have created the copy.. in SE37 go into change mode.. click on the 'Attributes' tab & select the radio button 'Remote-enabled module' under 'Processing type'. Save & activate.. your custom function module will now be as good as any other RFC/BAPI..
Regards,
Suresh Datti
Similar Messages
-
How do I only use the wifi internet because I don't want to use my mobile data because I don't have Internet on my price plan and its costing me money?
Well, if you are running iOS 6.0 or later.
The option supposed to be in Settings>General>Cellular>Cellular Data---Off & Enable 3G---Off
I think you'd better check the settings in Privacy>Location Services.
Some items in it need Cellular data like"setting time zone" and "Find my iPhone'. -
How to get tables used by a Function Module
Hi,
How to know the tables used by a function module dynamically.
Cuurently im using BAPI_MATERIAL_SAVEDATA in my report program.
I tried FM GET_TABLES to know the tables, but could see only tables used in the report.
Main issue in my case is when im running this update program, could observe different tables being displayed as updated in SM50(Process Overview).Want to clarify as why these tables which are not being used in my report are being displayed in SM50.
So was doubtin weather this FM is using these displayed tables.
Thanks in advance for u r replys.
Regards,
DedeepyaHi Dedeepya,
you could use a SQL Trace (tx. ST05) to list all tables affected and operations that realize. Just active the trace, execute FM, and Deactive trace. Then click in "Display trace" and check it.
Best regards,
Pablo -
How to process validations using PL/SQL function
Hi.
I created a page with a form to process DML operations against a database table. Also created a validation using PL/SQL function that returns a boolean value:
declare
v_dummy varchar2(1)
begin
select 'X'
into v_dummy
from s_customer
where id = :p2_id;
return (TRUE);
exception
when no_data_found then
return (FALSE);
when others
return (TRUE);
end;
In this case i want to send a message to the user indicating that an certain row (the one with :p2_id value) already exists in the database. The piece of code above will do the job. If this function returns true, it means the row is in the DB already.
The problem is that i don´t know what do to or how to tell htmldb that a TRUE value should issue a message or be processed as en error, whilst a FALSE means OK.
How do i tell htmldb what to do?
Suppose must do something with "expression 1" , "expression 2", etc.
Any ideas???Hóla LuÃs,
when you pick the PL/SQL function body returning a boolean, it implicitly means that TRUE means OK, while FALSE means error, always.
In order to associate such error to a given form field, you have to go back to the page definiton / validations and specify the name of the item in the corresponding field.
When you first create the validation rule, this value is not present even if you ask for the error message inline with the field.
The error message text can be specified in the validation definition, if I am not wrong.
When you need to return special error messages, including dynamic content for instance, you can use the Function Returning Error Message type, which reports an error when the string returned by the function is not null. This comes in handy when you want to display an item's code, for example, rather than generic text.
Even in this case, you must go back to the validation and specify the name of the field if you want to see it inline.
Hope it helps,
Flavio -
How to Rearrange components using Drag Drop functionality
Hi,
Is it possible to re-arrange the components inside the form using drag drop functionality in RCF?
There are 3/4 section headers in my screen, user can re-arrange them.
But as per the RCF document it says, "Drag Drop functionality allows users to drag the value of one component and drop it on to another". It dosent say any thing about component drag-drop.Hi,
there is a componentDragSource element that you use for this. However, persisting the change of location is not handled automatically. I didn't try this, but I assume that using the component drag option gives you access to the UI component itself so you can nest it in another container
Frank
Ps.: the drag event always givey you access to the component. This componentDragSource however shows the component when dragging, which is a slightly better indicator if you plan to re-arrange items -
How can i use the going back function in Safari like it is possible in MacOS? On the Mac i can chance back to previous Websites by sweeping with two Fingers. Unfortuntely is this Not possible on the ipad. I tried with one and to fingers but it doesn't work.
The multitouch function is switched on but still Not working. What is wrong? Thx for help.To go back a web page in Safari touch the screen with one finger at the extreme left and swipe to the right.
To go forward a web page in Safari touch the screen with one finger at the extreme right and swipe to the left. -
How to use a BAPI function module in programs?
Hi,
I have developed a BAPI enabled Function module & object type in 4.7. I want to use it to retrieve data from table T001 in 4.7 and display the output in 5.0. I am not able to get the data into 5.0. Please suggest me how to do this.
A program example would be appreciated.Hi Prabhu,
Firstly to say Bapis are version independent though the version is changed it does nt effect .. But as u said u want to fetch the data frm 4.7 tht too from table t005 observe tht the table data is not independent it is dependent tht is the reason why u r able to call the bapi but not able to display the data here . hope u know the procedue to call it in editor ...So now try it and check tht wether data is present in tht 5.0 version table ...t005 . thn it will be solved..if at all it is not working thn it might be problem with the bapi business object u created might be wrong check...
Regards,
Sana.
reward if useful ... -
How do I properly use the HDR function in Photoshop CS4?
It appears that I must be doing something wrong when attempting to use the HDR capability in Photoshop CS4. I follow the tutorials. I go to File>Automate>Merge to HDR. Then I select the bracketed photos to merge. I have used RAW file combinations of "normal" with +1 and -1 exposures, and "normal" with +2 and -2 exposures. Inevitably the result comes out looking like the most overexposed shot...or even more washed out. Since CS4 normally works for me as intended, I feel that I must be doing something wrong with the HDR function. Can anyone offer any helpful suggestions? Thanks!
Don't feel bad. While I haven't seen just what you're describing, the Merge to HDR function seems, in my opinion, kind of a bust. I can't say I've seen any "magic" at all in the way it combines the exposures.
I've tried to use it several times and I just don't see results that make me feel it's worth using. I have in every case been able to make better images out of a single well-exposed raw file than with the Merge to HDR function and several bracketed exposures (even with CS5's Merge to HDR Pro).
If people offer suggestions here, I'll be trying them too.
-Noel -
Problem with Textfield autocomplete -- only uses the INSTR function
Hi dev team,
I use the new APEX "textfield autocomplete" item type and got a really damn problem with it.
I have a table with an index on the same column which I want to search with the autocomplete field.
Index:
CREATE BITMAP INDEX TEST.GEO_DATA_IDX1 ON TEST.GEO_DATA (postcode)
NOLOGGING TABLESPACE TS_INDEX;Select which is automatically generated by APEX 4:
SELECT a.*
FROM ( SELECT DISTINCT postcode AS RV
FROM TEST.GEO_DATA
WHERE country_id = :P1_COUNTRY
ORDER BY 1) a
WHERE INSTR ("RV", :p$_search_string) > 0 AND ROWNUM <= :p$_max_rows;
-- plan
Plan
SELECT STATEMENT ALL_ROWSCost: 4,308 Bytes: 45,31 Cardinality: 1,97
2 SORT UNIQUE Cost: 4,307 Bytes: 45,31 Cardinality: 1,97
1 TABLE ACCESS FULL TABLE #TABLE# Cost: 4,306 Bytes: 47,311 Cardinality: 2,057 In APEX 3 I used the addon from Tyler Muth with my own Select:
SELECT DISTINCT
postcode AS DV,
postcode AS RV
FROM TEST.GEO_DATA
WHERE country_id = L_COUNTRY
AND postcode like l_search||'%'
ORDER BY 1
-- Plan
SELECT STATEMENT ALL_ROWSCost: 840 Bytes: 152,867 Cardinality: 13,897
8 SORT ORDER BY Cost: 840 Bytes: 152,867 Cardinality: 13,897
7 HASH UNIQUE Cost: 838 Bytes: 152,867 Cardinality: 13,897
6 VIEW VIEW index$_join$_001 Cost: 836 Bytes: 232,111 Cardinality: 21,101
5 HASH JOIN
2 BITMAP CONVERSION TO ROWIDS Cost: 31 Bytes: 232,111 Cardinality: 21,101
1 BITMAP INDEX RANGE SCAN INDEX (BITMAP) #INDEX#
4 BITMAP CONVERSION TO ROWIDS Cost: 45 Bytes: 232,111 Cardinality: 21,101
3 BITMAP INDEX SINGLE VALUE INDEX (BITMAP) #INDEX#Is there a chance getting my INDEX used by the new APEX item? I guess not. But I still want to ask before I rebuild everything. :)
Best regards,
TobiasHi Tobias,
I assume you are currently using "Contains & Case Sensitive" for the "Search" attribute. Have you already tried out "Exact & Case Sensitive"? Because that will internally use the LIKE operator as your original query does and because the % is at the end it should enable the use of an index. But it might still not work, because the ORDER BY might be executed at a different time than in your original example, but it's worth a try.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
How to update loading point using a BAPI
Does anyone know how to update loading point in a delivery using a BAPI / function module like BAPI_OUTB_DELIVERY_CHANGE. We could populate loading point in the structure for function module ws_delivery_update2. But it does not update the loading point.
Thanks
Edited by: Satyanarayana Tiruveedhi on Mar 13, 2009 6:11 AMPaul, I don't know if the person I'm trying to advise (who uses a Mac) will be able to do as you suggest. However, I thought this would be an interesting exercise for me to try myself just to see if I can get it to work.
I tried your suggestion on all three of my devices, with no success (PAP2T, SPA2102, and SPA504G)...?
Once I have uploaded the .bin file(s) to my web site, are you saying that the only setting change I need to make is to just enter the exact path to the uploaded file in the field "Upgrade Rule" ? This doesn't seem to enable the upgrade procedure on any of my devices that I tried it on (even after a manual power off/on reset). Upgrade Enable is set to "yes" (the default).
P.S.
My original path was using https://. So, I just changed it to http:// on the spa504g, and this time the LCD display has the message: "Upgrading Firmware, Please do not turn off power...". Problem is, all my registration lights stay green, and no lights are blinking to indicate an upgrade is in progress. Then after a few minutes, or so, the LCD display returns back to normal display (Upgrade message dissappears). All is normal, but spa504g did not do a firmware upgrade....?
Actually, my spa504g already has latest firmware at 7.5.3. So, I'm trying to downgrade back to 7.5.2b, just to test out this procedure.
Message was edited by: Jeff Bourgeois -
Creating/confirming transfer order (WM) using bapi/function modules
Hi,
I usually use BDC to create transfer orders or other documents in WM, but i've been told that using BAPI is more correct. I'm new to this concept, so could you please tell me how i can find the apropriate BAPI/function modules available for this purpose in 46C ?
I thank you in advance,
BrunoHi Gisk,
i am trying ot create a TO based on a material document and year. Same function as transaction LB12. Do you know which function module i can use for this.
I am trying to use the function module L_TO_CREATE_SINGLE, i fill in the T_LTAK-MBLNR and T_LTAK-MJAHR. But do not know which fields to fill in.
Hope you can help me.
Grtz
Coeno -
Using BAPI functions BSP file upload
Hello,
Can anyone clarify me that ' can I upload a file form front end using BSP to the BP as backend to store e the image using the BAPI functions. All this is to get each BP photo in the Solution manager.
or I have use the datasets for the file upload. Please help me out.
With best regards,
SuneethaHi,
Uploading LOGO in SAP
http://www.sap-img.com/ts001.htm
Upload graphics on
The program RSTXLDMC can be used to upload graphics (file extension .tif on PC files) into individual standard text.
<b>ws_upload</b>
Transfer files from the frontend to the application server.
Rgds,
Prakash -
How to only use a small clip of a song in imovie
how do I only use a small clip of a song in imovie?
there's two sorts of applying audio to an iMovie Project:
• as general 'background'
• or as 'clip'
have a look here:
I dragged the audio ONTO some existing video-clip in my Project => the new audio appears as a green bar - which indicates an audio-clip. Such an audio-clip you can shorten, cut, move, stack, copy/paste as any other clip in iMovie ... -
Stuck with Bapi Function module BAPI_STSRVAPS_SAVEMULTI2
Hi all,
I have been given the requirement to get the stock quantity using the bapi function module BAPI_STSRVAPS_GETLIST2 from the Livacache and depending upon some stock reservation percent split the stock into two as (NEW STOCK and STOCK RESERVED ).And then write it back to Livecache as change and create.
Please do tell me how to proceed with it.
Thanks and Regards.
syed.hi
hope the following helps u to know what is to be passsed.
1. Required entries :
BILLING_DATA_IN-SALESORG
BILLING_DATA_IN-DISTR_CHAN
BILLING_DATA_IN-DIVISION
BILLING_DATA_IN-DOC_TYPE
BILLING_DATA_IN-ORDBILLTYP
BILLING_DATA_IN-SOLD_TO
BILLING_DATA_IN-ITEM_CATEG
BILLING_DATA_IN-REQ_QTY
BILLING_DATA_IN-SALES_UNIT
BILLING_DATA_IN-CURRENCY
If a material is billed for which a material master needs to be
determined (BILLING_DATA_IN-NO_MATMAST = ' '), you must make the
following entries :
BILLING_DATA_IN-PLANT
BILLING_DATA_IN-MATERIAL
If, on the other hand, a material is billed for which no material
master is to be determined (BILLING_DATA_IN_NO_MATMAST = 'X'), you
must make the following entries :
BILLING_DATA_IN-COUNTRY
BILLING_DATA_IN-MATERIAL
BILLING_DATA_IN-TAXCL_1MAT
2. COMMIT control :
In the update run (TESTRUN = ' ') the update is carried out by
COMMIT
WORK as part of the method available. -
Regarding using of BAPI F.M - BAPI_INCOMINGINVOICE_PARK
Hi All,
Can any body give example program of using the BAPI Function Module <b>BAPI_INCOMINGINVOICE_PARK</b>.
My Program puprpose here is to - <b>Special Charges in Purchase Order's</b>.
(or)
<b>Payble document for P.O Special Charges</b>
Can anybody give me idea how to make use of it.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi Shaik,
if you read the BAPI documentation you can see so many examples with good explanation.
you can see nearly 10 examples in it with different Cases.
Regards
Vijay
Maybe you are looking for
-
How do I change my default .pdf viewer in Firefox BACK to Adobe Acrobat ?
HMRC website forms will not open in foxit. How do I change my default .pdf viewre in Firefox BACK to Adobe Acrobat ?
-
How to create 'SAP BSP iView'?
All, I am trying to to create a 'SAP BSP iView' in EP 7.0. On creating the BSP Application iView in SAP Portal, I get the following error: Portal Runtime Error <b>An exception occurred while processing a request for : iView : N/A Component Name : N/A
-
Does OS Lion 10.7.5 support Airplay mirror of Apple TV 3? I can't find the option in Setting>Display on my mid 2012 MacBook Pro. I've rebooted all 3 devices, still does not work. Both Apple TV and MBP are on the same wifi. And the Apple TV AirPlay op
-
Report with cost center, Wbs element and cost element
Dear Experts, I am creating Income Statement report with report painter using table CCSS. In this report, I need cost centers, cost elements/ GL accounts and WBS elements. Report is okay except sales. Because my cost elements for revenue are created
-
Dell 2650 / Solaris 10 Intel (should I open a bug)?
Hi.. am just wondering about a Dell 2650 I have, running Solaris 10 11/04. The system is, as usual, equipped with dual Broadcom NetXTreme gigabit ethernet ports. I tweaked /etc/driver_aliases to recognize the onboard adapters and the "bge" driver lit