The simplest accounting flexfield form item
Hi guys
I'm trying to understand how to code a field/item to capture an account combination.
I want to build a form with a single item. When I click on it, the accounting key flexfield window should pop up.
(I have the DESC and ID fields in the form too)
Currently I have a WHEN-MOUSE-DOWN trigger on the item with the following code:
BEGIN
FND_KEY_FLEX.DEFINE(
BLOCK=>'BLOCK1',
FIELD=>'ITEM1',
ID=>'ID',
DESCRIPTION=>'DESC',
APPL_SHORT_NAME=>'SQLGL',
CODE=>'GL#',
NUM=>'101',
REQUIRED=>'N');
EXCEPTION
WHEN OTHERS THEN
message('Error: ' || SQLERRM || SQLCODE);
END;
The problem is that the form just opens and closes immediately. When I comment out the code or replace with a message it works. Can somone please point me in the right direction of how to get this working?
HI,
Did you tried to bring the combobox into the foreground?
If not, try the following from your add-on:
1. Click the accouting tab
2. select the value in combo box
Dim oPoForm As SAPbouiCOM.Form = sbo_application.Forms.ActiveForm
oPoForm.Items.Item("138").Click(BoCellClickType.ct_Regular)
Dim objComboBox As SAPbouiCOM.ComboBox = oPoForm.Items.Item("157").Specific
objComboBox.Select(strProj, SAPbouiCOM.BoSearchKey.psk_ByDescription)
or
1.Set the panelevel of combo box into the current panelevel
2. select now value
Dim oPoForm As SAPbouiCOM.Form = sbo_application.Forms.ActiveForm
Static oldFromPane As Integer = oPoForm.Items.Item("157").FromPane
oPoForm.Items.Item("157").FromPane = oPoForm.PaneLevel
Dim objComboBox As SAPbouiCOM.ComboBox = oPoForm.Items.Item("157").Specific
objComboBox.Select(strProj, SAPbouiCOM.BoSearchKey.psk_ByDescription)
oPoForm.Items.Item("157").FromPane = oldFromPane
Regards
J.
Ps: if the asnwer correct, please close this thread....
Similar Messages
-
How to fetch the value of tabular form item in javascript
Hello all
I want to do some calculations on the value entered by the user in the textfield of a tabular form, how can I fetch the value of tabular form item in the javascript?
I am using normal tabular form, not using apex_item tabular form.
I can pass the current textfield value to the function using "this" as a parameter, but how can I fetch the value of other rows of that same column?
Thanks
TauceefHi Alistair
jQuery is still not working, but I got it done through some other means, this is the code:
function total(pThis){
var l_Row = html_CascadeUpTill(pThis,'TR');
var l_Table = l_Row.parentNode;
var l_Row_next = l_Row;
var n_rows = l_Table.rows;
var lInputs;
var v1;
var sum = 0.0;
var temp;
var i = 0;
var j = 0;
//alert(n_rows.length);
while(j < (n_rows.length - 1))
temp = 0;
if(l_Row_next != null){
lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
v1 = lInputs[0].value;
//alert(v1);
sum = parseFloat(sum) + parseFloat(v1);
l_Row_next = l_Row_next.nextSibling;
temp = 1;
if(temp == 0){
l_Row_next = l_Table.getElementsByTagName('TR')[1];
lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
v1 = lInputs[0].value;
sum = parseFloat(sum) + parseFloat(v1);
l_Row_next = l_Row_next.nextSibling;
j= j+1;
$x('P78_TOTAL').value= parseFloat(sum);
I am calling this function onblur event of the textfield.
Still I am having one problem, I want to perform this calculation on load of the page also, how can I do that? because while calling onblur of the textfield I can pass that textfield to this function but on onLoad how I will pass the textfield to call this function so that I will be able to get the textfield value in the function?
there may be some rows already existing, so I want the total of the existing rows to be displayed in my P78_TOTAL textfield that is why I need to do this calculation on onLoad of the page.
Thanks
Tauceef
Edited by: Tauceef on Jul 8, 2010 4:57 AM -
FICA tables or FM to get the Contract Account's cleared items
Hi Gurus,
During one of the development I require to see the Contact Account's Open Items are cleared or not. Means Payment against the Contract Account's (Print documents) is received? FPL9 shows the cleared items against the contract account but during one of the Development I need to write logic to check if the CA open Items are cleared.
Please advice the table link or if there is any FM to check this.
Thanks with regards,
RahulHi,
If it does not matter for what reason the items have been cleared, proceed as follows:
Using the Contract Account number, look up table DFKKOP as follows:
VKONT = (the Contract Accont in question)
AUGST (Clearing Status) = 9
If you wish to only look at Invoices, provide the Document Type parameter (field BLART = the Document Type you use for Invoices)
This will retrieve the cleared items (if you specified a document type, it will only retrieve items for that Doc Type).
NOTE:
If you wish to isolate only clearings due to incoming payments, please use Clearing Reason (AUGRD) = 01. Otherwise all cleared items are retrieved, e.g. Written off items, Transferred items, items cleared due to Account Maintenance, etc..
Imporant fields related to Clearing:
If you want the Clearing Document number, it will be stored in the retrieved item/s in field AUGBL.
The Clearing Amount will be stored in field AUGBT
The Clearing Date will be stored in AUGDT.
I hope this helps.
Ivor Martin -
Where can I see the delivery accounting of Inventory Items?
Hi,
Can any one let me know from where can I see the delivery accounting of Inventory item.
regards,
Rubayat NewazDear Friend,
To see the accounting for Inventory items. Please follow the below navigation.
1) Switch to Inventory Responsibility
2)Transactions-->Material Transactions.
Regards,
Venkata.P. -
How to update a report from a form on the same page when form item changes
I have a portal form from a table and a portal SQL report with a bind variable on a page. I want the report to get updated with details based upon what was selected from a form item. The form item is a selection from a dynamic LOV. Whenever the form item gets changed, the report should get updated to reflect the change. Can this be done using a javascript ONCHANGE event?
Oracle Portal Version is 10.1.2.2.0.Your applet can open an URLConnection and read directly a document from your webserver.
public String readText() {
java.net.HttpURLConnection conn = (java.net.HttpURLConnection)myURL.openConnection(); ...
}So using JavaScript on your page, you might call readText() to fill that textarea.
The interesting link you gave, handled the JavaScript/Applet interaction. Test that with just return "Hello";.
The real programming is more interesting. -
Are multiple balancing segments permitted in the R11i Account Flexfield
Can I specify two segments in my account flexfield as balancing segments in R11i ?
i.e. using the Flexfield Qualifiers, check the Balancing Segment checkbox for two different segments.Hi
I have done the testing of the same in R12 vision instance.
Whereby the company segment is already designated as a Balancing segment and i tried to make another segment for e.g. Department or Future1 as the balancing segment, however i was not able to do so and recieved a pop-up mentioning APP-FND-00990: you already have a enabled this qualifier option for another segment.
So may be the note/statement has been removed, but i think the restriction still applies.
You can try testing the same at your end in your instance for confirmation purposes.
Thanks
Manish Jain -
GL Account and Commitment Items Integration
Hi Consultants,
Please explain the GL account and commitment items relationship. I know i can assign a commitment item to N number of GL accounts.
But can i assign many commitment items to one GL account?
Thank you.
EkeminiDear FM Expert,
I 'm new in the forum. I have some problem related to fmderive too. I have to do as your scenario that is to derive stat committment item to depreciation expense account. I use fmderive with user exit EXIT_SAPLFMDT_001 and include ZXFMDTU01
Coding to check AFAB tcode to derive the committment item. It's not work
if sy-tcode+0(4) = 'AFAB'.
if I_FMDERIVE_SOURCE-account_number = 'xxx'.
e_fmderive_target-commit_item = 'xxx'.
endif.
ENDIF.
When I set trace , It seems work when test run for AFAB but when I do production run that need run in background. It does not work. Is there anything wrong with my code or Does fmderive work with Background job
Is there any suggesttion , please ?
Thank you very much,
one -
Define Descriptive Flexfield DB Item
"Further Medical Assessment Information" is not supported by the "Define Descriptive Flexfield DB Item" application process. Is there a way, through application or API for direct insert into pay_route_to_descr_flexs table, to enable it?
Appreciate a detailed answer.
ThanksIt seems that am I having a unique requirements!.
-
I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.
Contact App Store support. They're the folks who can help with Account issues.
Regards
TD -
I have 2 Itunes accts. from previous Iphones. I now want to put the music, apps, etc onto my new phone from both accounts. When I sync one account to my new phone and try to sync the other items from my 2nd account - it wants to erase all of the items I synced from the 1st account. Please help! ????
There is no solution other than getting all of your content into a single iTunes library. By design, iPhone syncs or manually manages with one computer/iTunes account at a time.
-
General Ledger Accounting (New): Line Items of the Leading Ledger
Hello Guys,
We are planning to implement
General Ledger Accounting (New): Line Items of the Leading Ledger
0FI_GL_14
We are in ECC6 sap_appl 6.00 and BI 7.0 SP 14, BI Content 7.3 level 4.0
The new GL line item is available
Financial Accounting: General Ledger Accounting (FI-GL)
Available as of Release - SAP Enhancement Package 3 for SAP ERP 6.0
Shipment - SAP NetWeaver 7.0 BI Content Add-On 3 Support Package 08
Content Versions- 1.0; 703
Just we have to install SAP NetWeaver 7.0 BI Content Add-On 3 Support Package 08 and on ECC side SAP Enhancement package 3 for ERP 6.0 --. Financial accounting - SAP APPL 603.
Is it correct. Can you please confirm.
Thanks
SenthilHello Senthil,
Yes, thats engough, since SAP is recommending the same for that datasource 0FI_GL_14. I think you are already in that version.
See this SAP help document
[DataSource Transactional Data: 0FI_GL_14|http://help.sap.com/saphelp_nw04s/helpdata/en/45/4f8e8bbf3f4f63a5dd197ef7d53fa2/content.htm]
Thanks
Chandran -
I was wondering if an individual would be able to sync certain items from one itunes account and and items from a different itunes account to the same ipad?
You move the song files to /Users/Shared/ and then into iTunes from the other Mac OS X user account.
If you want to change the iTunes Store account associated with them, you need to redownload them from that account.
(60812) -
Hi. Both myself and my wife are on the same account meaning same credit card. The problem with this is we both receive each others contacts and see each others I messages.
How can my wife have a different name so we are separate on such things as contacts and I message but she can still purchase items on the account.
Many thanks
Gary EvelingYou entered your wife's seperate AppleID? Check you can login with the same AppleID here: http://appleid.apple.com/ on a computer.
Some of the photos in that link apply to setting up iCloud on a device from new, not when setting it up later. It won't look the same (the dark gray background) for you as you're setting it up now. -
How to find the GL Account for a Billing Document Item?
Hi All,
For a specific Billing Document Item, how to fetch the corresponding GL Account No.?
I tried the below approach.
Using the Billing Document Number, I fetched the corresponding Accounting Document No. then I tried to match the item of billing document with the item of Accounting Document by comparing the amount and then fetch the GL Account from table BSEG. When I compared the line items of both the documents, the no. of line items in the Accounting Document is more compared to the no. of line items in the Billing Document. I tried to match the items using Amount, but what if more than one item has the same amount but different GL Account No.?Hi,
i would agree with what 'Rajasekhar Dinavahi' said.
quote,
<b>Hi
If you open the billing document in VF03, click on 'Accounting' , select the accounting document, click on 'Administrat. data' tab.
Here you will find the Reference Document and Reference item no.
Regards,
Raj
</b>
unquote
The reference Doc will be XBLNR .
Regards,
Shehryar -
Okay i had to install Itunes onto my new OS because window's Vista messed up on me and i can't get any of my old purchases back from my account such as music and movies any ideas on how to get them back (i do not have the folder that contains old items from the last itunes or anything from that OS because it had a virus and i just wanted windows 7)
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Hope this helps,
JD
Maybe you are looking for
-
Content Conversion not creating a new line....
I have areceiver FCC configured in my scenario but the problem is that output file is producing content which comes over one line... As in there is no new line for each substructure. This is a new problem as last month when we tested the scenario wor
-
hey guys I have a problem with the payment of premium. the money for the same period, a month, was charged 3 times at paypal!? I do not understand why, because I have no second account or have three times bought premium. have now terminated the subsc
-
In IE the preview works normally. In FF I recently get an error. It happens in safe mode as well. Thank you.
-
IPod can't load .mov video files
Just bought a 30G iPod video and it only accepts .mp4 video files. I have several videos in .mov format that I have created using iMovie. They are accepted by iTunes but don't appear in my iPod after an update. Supposedly the new iPod is compatible w
-
Which file type should I use?
Hi all, I am finally building my book. Using Elements 10 as my primary. My workflow starts with creating a new file (file/new/blank) I just finished the first page and to be safe I saved it as a PDF, PNG and JPEG. When all the pages are done I am goi