F110 is not updating the Invoice even if it has a Subsequent Debit/Credit
Here is the scenario:
1. I did MIRO,
GR/IR Clearing 5,000.00 usd
Accounts Payable 5,000.00 usd.
2. I need to adjust the amount in MIRO so I used Subsequent Credit and indicated the Material Doc(generated in step # 1) in the invoice reference field.
Accounts Payable 500.00usd
GR/IR Clearing 500.00usd.
3. Now, I need to create a check for this using F110.
My problem is, when i process it through F110, i choose the document # as generated in Step 1, only the amount of 5,000.00 usd is appearing in the check. Should it not be 4,500.00usd because i related the Document # 2 (generated in Step 2) to the original document?
Thanks in advance for your reply.
Hi assassinofkings,
For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
Thanks,
>Joffrey
If my post answers your question, please mark it as "Accept as Solution"
Similar Messages
-
MR 11 not updating the invoicing for services
Hi All,
I have a scenario where the client uses MR11 for clearing the invoices.
He does not use MIRO for invoicing.
During our observation it is found that using MR11 does not update the invoices for services but the invoices for the material received is updated while checking the reports like ME2N.
I have checked the Service based IV and the GR based IV in the invoice tab of PO.
Can you please advice me as to why this is happening only in case of services.
Thanks and Regards
Sridhar.Hi Charlie,
Thank you very much for the response.
Actually I am looking for the IR reduction and not the GR reduction.
The note you have mentioned applies for GR reduction.
Also we are in the ECC 6 environment.
Please update me with further information.
Regards
Sridhar -
Miro debit/credit note and subsequent debit/credit
Dear all,
May I know under what circumstances we use debit/credit note and
under what circumstances we use subsequent debit/credit
Need advice.
ThanksHi,
A subsequent debit/credit arises if a transaction has already been settled, and a further invoice or credit memo is received afterwards.
A subsequent debit/credit changes the total invoice value of a purchase order item; the total invoice quantity remains unchanged. Therefore, only a value-based update of the purchasing transaction takes place. There is no quantity-based
update.
1. Subsequent Debit :-You must enter an invoice as a subsequent debit if a purchase order item has already been invoiced and further costs are now incurred. (Example: A vendor has inadvertently invoiced you at too low a price and then sends a
second invoice for the difference.)
2. Subsequent Credit :- You must enter a credit memo as a subsequent credit if a purchase order item was invoiced at too high a price and you have now received a credit memo. (Example: A vendor has inadvertently invoiced you at too high a price and then sends a credit memo for the difference.)
If you enter a subsequent debit/credit, the system suggests the entire invoiced quantity, but no value. The maximum quantity that you can subsequently debit or credit is the quantity that has already been invoiced. You can only enter a subsequent debit/credit for a purchase order item if an invoice has already been posted for this item.
A subsequent debit/credit cannot refer to a particular invoice.
Subsequent debits and credits are listed separately in the PO history.
3. Credit Memo :- You usually receive a credit memo from a vendor if you were overcharged. As is the case for invoices, credit memos refer to purchase orders or goods receipts.
You post a credit memo if too large an amount has been invoiced. When you post the credit memo, the total invoiced quantity in the PO history is reduced by the credit memo quantity. The maximum quantity you can make a credit for is the quantity that has already been invoiced.
In the same way as the corresponding goods receipt is expected or posted for the invoice, in the case of a credit memo, the system assumes that the credit memo belongs to a return delivery or reversal of the goods receipt. This means that the credit memo is settled using the GR/IR clearing account.
Regards,
Pardeep Malik -
New tabs are not updating the names of the sites they have loaded. When I open a new tab and load a site, the tab simply stays named "New Tab". When I open a link in a new window, it shows "Connecting..." even while its fully loaded.
This issue can be caused by an extension that isn't working properly.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]] -
Aperture is asking to upgrade library every time I open the application, even after it has already been upgraded. I just ran the update and it is still not fixed. What can I do??? My plug are asking me to re-register them too. This is annoying. Please help!!!!!
How do you try to start the repair dialogue? By starting Aperture or by opening the Library?
If you not already have tried it with directly opening the library:
reveal your Aperture Library in the Finder
Whilst holding down Command(⌘)- option (⌥) double click on the Aperture Library.
Select "repair library" from the dialogue.
What about Frank Caggiano's questions above?
It would be really helpful to know, how many libraries you have, and if this problem is restricted to one of them. -
Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
working fine and no changes were made to the workflow.
I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
are), but we still cannot figure out why the workflow is still throwing this error.
We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type.
The form associated with the list was modified in InfoPath 2010.
Approvers would provide their approval in the InfoPath form which is then read by the workflow.
Side note - items created after the workflow throws this Unknown Error some seem to be working fine.
We have deleted the item in question and re-added it with no effect.
Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
CheersHi,
I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
Thanks,
Entan Ming
Entan Ming
TechNet Community Support -
My iMessage stopped working when I did the latest update on my phone. I have literally tried everything to reset it. I am currently not in the US, but my iMessage has always worked when I was in wifi and my phone is still activated. I have tried to reset my network settings, my location, and even the reset all settings. When I click on my settings and iMessage it says that it is still waiting for activation... and my phone number is grayed out. I am able to recieve an iMessage to my email and that could work for right now but i'm not sure how to start a conversation the defaults to being sent from my email and not my cell phone number. please help!
Hi shanny202.
Really strange problem you have there. I have a few questions though.
Please try again and try to make the phone as a new without restoringen with you iCloud-data or backup-data from iTunes. Maybe it is something wrong with the data (strange).
Anyway, i think you should call Apple Support or visit an Apple Store, don't forgot to make a Genius Bar reservation.
You locate the nearest Apple Store here: http://www.apple.com/retail/storelist/
And here is Apples phone numbers around the world for support: http://support.apple.com/kb/HE57 -
Hi All,
I am new here . We have batch split in Delivery and 601 happens for the individual batches and billing we bill for the entire quantity . Hence the RG1 does not update the excise values for the batches and it is showing as zero (upon extraction in J2I6). Upon research through the program the latest note which i presume is patched
The latest note is N158234 which does not show in the program but seems have been patched considering we are using the Latest version of SAP .
As you see above in the billing we have billed for the whole quantity but RG1 does not update for the since the batches are zero .
My programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split .
Now i have checked few other projects in my company and they all seems to be following the program . So i am wondering whether my process or some customization is missing .
Sales order (no batch determination) , in delivery the batches are picked through wm to and batch split happens in the delivery . Then billling for the whole quantity . We have automatic excise invoice creation enabled so no J1IIN .
Can somebody help me .
Thank youMy programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split
Which field (H & J) they were referring in VBFA ?
i have checked few other projects in my company and they all seems to be following the program
How about the other projects' values in VBFA where your techinical team is guessing some issue. Have you compared this?
Since you have already the note 158234 implemented in your system, ideally, you should not face any issue.
G. Lakshmipathi -
Template is not updating the rest of the pages
This is odd. I have a template, from which I created all child pages in this website and now want to change the navigation to add a new drop-down menu structure under "cases."
Here's the website: http://ghostsofnewengland.org/
Here's the template: http://ghostsofnewengland.org/Templates/goners.dwt
From the template, you'll see that I have changed some commented-out sections in the code. Then I saved the .dwt file, it did not ask and did not update the rest of the pages in the website.
Normally, I work with templates as a fast way to handle just about any change to navigation and other commonly-available sections on a website. This is the first time I've seen Dreamweaver simply fail to update pages (or even ask) after a template change.
Anyone have a quick way to get Dreamweaver to wake up here?
-Mark HollisMy advice is to exit DW, reboot, open only your template and make a minor change (add a comment someplace) save and update child pages. If that doesn't work, then give Adobe a call because something isn't right.
Jim -
HI all,
csi_item_instance_pub.update_item_instance not updating the serial no. for Sales order transaction.
Actyally we have multiple error transaction for hte same serial no. for that i am planning to process the last transaction i.e. Sales order issue transaction.
While updating the serial no. with latest transaction i am getting "Msg1: Invalid Party location provided. The Location (38916) passed for the Instance Location Type "HZ_PARTY_SITES" is invalid or does not exists in TCA tables."
Even i had check for a customer this is the correct locaiton_id.
Below is my code:
which i took from one of the thread and pass my instance value.
=================
DECLARE
ln_order_num NUMBER;
lc_p_sno VARCHAR2(30); -- Variable for printer serial no.
LC_COMMIT VARCHAR2(5) := 'T';
l_msg_count NUMBER;
l_msg_data VARCHAR2(2000);
t_output varchar2(2000);
t_msg_dummy number;
l_loc_id number :=38916;
--x_msg_count NUMBER;
CURSOR ib_cur IS
SELECT cii.instance_id
,cii.serial_number
,cii.inventory_item_id
,cii.object_version_number
FROM csi_item_instances cii
WHERE cii.instance_id = 734113452;--instance_id
--ORDER BY 1;
TYPE ib_rec_tbl_type IS TABLE OF ib_cur%ROWTYPE;
ib_rec_tbl ib_rec_tbl_type;
-- Variables needed to call the Item Instance update API
l_api_version CONSTANT NUMBER := 1.0;
--l_msg_count NUMBER;
--l_msg_data VARCHAR2(2000);
l_msg_index NUMBER;
l_instance_id_lst csi_datastructures_pub.id_tbl;
l_instance_header_rec csi_datastructures_pub.instance_header_rec;
l_party_header_tbl csi_datastructures_pub.party_header_tbl;
l_party_acct_header_tbl csi_datastructures_pub.party_account_header_tbl;
l_org_unit_header_tbl csi_datastructures_pub.org_units_header_tbl;
l_instance_rec csi_datastructures_pub.instance_rec;
l_party_tbl csi_datastructures_pub.party_tbl;
l_account_tbl csi_datastructures_pub.party_account_tbl;
l_pricing_attrib_tbl csi_datastructures_pub.pricing_attribs_tbl;
l_org_assignments_tbl csi_datastructures_pub.organization_units_tbl;
l_asset_assignment_tbl csi_datastructures_pub.instance_asset_tbl;
l_ext_attrib_values_tbl csi_datastructures_pub.extend_attrib_values_tbl;
l_pricing_attribs_tbl csi_datastructures_pub.pricing_attribs_tbl;
l_ext_attrib_tbl csi_datastructures_pub.extend_attrib_values_tbl;
l_ext_attrib_def_tbl csi_datastructures_pub.extend_attrib_tbl;
l_asset_header_tbl csi_datastructures_pub.instance_asset_header_tbl;
l_txn_rec csi_datastructures_pub.transaction_rec;
l_install_location_id NUMBER;
l_return_status VARCHAR2(5);
lc_init_msg_lst VARCHAR2(1) := 'T';
ln_validation_level NUMBER;
lc_error_text VARCHAR2(4000);
l_install_location_type_code csi_item_instances.install_location_type_code%TYPE;
j BINARY_INTEGER := 0;
l_party_tbl_idx BINARY_INTEGER;
BEGIN
--Create a savepoint
-- SAVEPOINT dcrd_csi_upd_ib_snm;
OPEN ib_cur;
FETCH ib_cur BULK COLLECT
INTO ib_rec_tbl;
CLOSE ib_cur;
IF ib_rec_tbl.COUNT > 0
THEN
--fnd_file.put_line(fnd_file.log, 'Begin loop');
dbms_output.put_line('Begin loop');
FOR i IN ib_rec_tbl.FIRST .. ib_rec_tbl.LAST
LOOP
--Set savepoint before processing record.
--SAVEPOINT dcrd_csi_upd_ib_snm;
l_instance_header_rec.instance_id := ib_rec_tbl(i).instance_id;
csi_item_instance_pub.get_item_instance_details(p_api_version => l_api_version
,p_commit => fnd_api.g_false
,p_init_msg_list => fnd_api.g_false
,p_validation_level => fnd_api.g_valid_level_full
,p_instance_rec => l_instance_header_rec
,p_get_parties => fnd_api.g_true
,p_party_header_tbl => l_party_header_tbl
,p_get_accounts => fnd_api.g_true
,p_account_header_tbl => l_party_acct_header_tbl
,p_get_org_assignments => fnd_api.g_true
,p_org_header_tbl => l_org_unit_header_tbl
,p_get_pricing_attribs => fnd_api.g_false
,p_pricing_attrib_tbl =>l_pricing_attribs_tbl
,p_get_ext_attribs => fnd_api.g_false
,p_ext_attrib_tbl => l_ext_attrib_tbl
,p_ext_attrib_def_tbl => l_ext_attrib_def_tbl
,p_get_asset_assignments => fnd_api.g_false
,p_asset_header_tbl => l_asset_header_tbl
,p_resolve_id_columns => fnd_api.g_false
,p_time_stamp => SYSDATE
,x_return_status => l_return_status
,x_msg_count => l_msg_count
,x_msg_data => l_msg_data
lc_error_text := NULL;
l_instance_rec.instance_status_id :=510;
l_instance_rec.instance_id := l_instance_header_rec.instance_id;
l_instance_rec.install_date := sysdate;--'13-APR-2011';--sysdate;--'12-MAR-2008';
l_txn_rec.transaction_type_id := 33;
l_instance_rec.instance_usage_code :='OUT_OF_ENTERPRISE';
-- l_instance_rec.INV_SUBINVENTORY_NAME :='STAGE';
l_instance_rec.install_location_type_code := 'HZ_PARTY_SITES';
--l_instance_rec.install_location_id := 38916;
l_instance_rec.location_id := l_loc_id;--38916;
l_instance_rec.location_type_code := 'HZ_PARTY_SITES';
l_instance_rec.object_version_number := l_instance_header_rec.object_version_number;
l_txn_rec.transaction_id := fnd_api.g_miss_num;
l_txn_rec.transaction_date := SYSDATE;
l_txn_rec.source_transaction_date := SYSDATE;
l_txn_rec.transaction_type_id := 8; --Id for DATA_CORRECTION transaction type
--Change Owner party details
--FOR i IN l_party_header_tbl.FIRST..l_party_header_tbl.LAST
-- LOOP
-- IF l_party_header_tbl(i).relationship_type_code = 'OWNER'
--THEN
l_party_tbl(j).instance_party_id := l_party_header_tbl(i).instance_party_id;
l_party_tbl(j).relationship_type_code := l_party_header_tbl(i).relationship_type_code;
l_party_tbl(j).party_id := 167048;
l_party_tbl(j).contact_flag := 'N';
l_party_tbl(j).object_version_number := l_party_header_tbl(i).object_version_number;
l_party_tbl_idx := j;
j := j + 1;
--END IF;
--END LOOP;
dbms_output.put_line('l_party_tbl count is '||l_party_tbl.COUNT);
j := 0;
dbms_output.put_line('l_party_acct_header_tbl count is '||l_party_acct_header_tbl.COUNT);
--Change Owner party account details
--FOR i IN l_party_acct_header_tbl.FIRST..l_party_acct_header_tbl.LAST
-- LOOP
-- IF l_party_acct_header_tbl(i).relationship_type_code = 'OWNER'
-- THEN
l_account_tbl(j).ip_account_id := l_party_acct_header_tbl(i).ip_account_id;
l_account_tbl(j).instance_party_id := l_party_acct_header_tbl(i).instance_party_id;
l_account_tbl(j).party_account_id := 133045;--61217;
l_account_tbl(j).object_version_number := l_party_acct_header_tbl(i).object_version_number;
l_account_tbl(j).bill_to_address := 37729;--77370;
l_account_tbl(j).ship_to_address := 37730;--77648;
l_account_tbl(j).parent_tbl_index := l_party_tbl_idx;
j := j + 1;
-- END IF;
-- END LOOP;
dbms_output.put_line('l_account_tbl count is '||l_account_tbl.COUNT);
--j := 0;
--Change Operating Unit details
FOR i IN l_org_unit_header_tbl.FIRST..l_org_unit_header_tbl.LAST
LOOP
IF l_org_unit_header_tbl(i).relationship_type_code = 'SOLD_FROM'
THEN
l_org_assignments_tbl(j).instance_ou_id := l_org_unit_header_tbl(i).instance_ou_id;
l_org_assignments_tbl(j).instance_id := l_org_unit_header_tbl(i).instance_id;
l_org_assignments_tbl(j).relationship_type_code := l_org_unit_header_tbl(i).relationship_type_code;
l_org_assignments_tbl(j).active_start_date := sysdate;--'13-APR-2011';--sysdate;
--l_org_assignments_tbl(j).operating_unit_id := 86;
l_org_assignments_tbl(j).object_version_number := l_org_unit_header_tbl(i).object_version_number;
END IF;
END LOOP;*/
-- Call instance update API if a serial no. is to be updated
/*fnd_file.put_line(fnd_file.log
,'Updating IB record for IB# ' || ib_rec_tbl(i).instance_id);*/
dbms_output.put_line('Updating IB record for IB# ' || ib_rec_tbl(i).instance_id);
csi_item_instance_pub.update_item_instance(p_api_version => l_api_version
,p_commit => LC_COMMIT --Handled outside API
,p_init_msg_list => lc_init_msg_lst
,p_validation_level => ln_validation_level
,p_instance_rec => l_instance_rec
,p_ext_attrib_values_tbl => l_ext_attrib_values_tbl --Null
,p_party_tbl => l_party_tbl --Null
,p_account_tbl => l_account_tbl --Null
,p_pricing_attrib_tbl => l_pricing_attrib_tbl --Null
,p_org_assignments_tbl => l_org_assignments_tbl --Null
,p_asset_assignment_tbl => l_asset_assignment_tbl --Null
,p_txn_rec => l_txn_rec
,x_instance_id_lst => l_instance_id_lst
,x_return_status => l_return_status
,x_msg_count => l_msg_count
,x_msg_data => l_msg_data);
dbms_output.put_line('API STATUS# ' || l_return_status);
if l_msg_count > 0
then
for j in 1 .. l_msg_count loop
fnd_msg_pub.get
( j
, FND_API.G_FALSE
, l_msg_data
, t_msg_dummy
t_output := ( 'Msg'
|| To_Char
( j
|| ': '
|| l_msg_data
dbms_output.put_line
( SubStr
( t_output
, 1
, 255
end loop;
end if;
IF l_return_status = 'S'
THEN
commit;
/*fnd_file.put_line(fnd_file.log
, 'Error updating the install base for IB# ' || ib_rec_tbl(i)
.instance_id);*/
dbms_output.put_line('Error updating the install base for IB# ' || ib_rec_tbl(i)
.instance_id);
FOR i IN 1 .. l_msg_count
LOOP
fnd_msg_pub.get(p_msg_index => -1
,p_encoded => 'F'
,p_data => l_msg_data
,p_msg_index_out => l_msg_index);
lc_error_text := lc_error_text || (substr(l_msg_data, 1, 255));
END LOOP;
dbms_output.put_line(lc_error_text);
--Rollback the transaction if error occured.
--ROLLBACK TO dcrd_csi_upd_ib_snm;
ELSE
/*fnd_file.put_line(fnd_file.log
, 'Install base update successful for IB# ' || ib_rec_tbl(i)
.instance_id);*/
dbms_output.put_line('Install base update successful for IB# ' || ib_rec_tbl(i)
.instance_id);
lc_error_text := 'SUCCESS!';
END IF;
--Update the temporary table record status
--update_status(ib_rec_tbl(i).snm_id, l_return_status, lc_error_text);
END LOOP;
--Commit transactions.
COMMIT;
END IF;
commit;
EXCEPTION
WHEN no_data_found THEN
--fnd_file.put_line(fnd_file.log, 'No records to process');
dbms_output.put_line('No records to process');
WHEN OTHERS THEN
/* fnd_file.put_line(fnd_file.log, 'Error in update_ib procedure');
fnd_file.put_line(fnd_file.log, to_char(SQLCODE) || ' - ' || SQLERRM);
dbms_output.put_line('Error in update_ib procedure');
dbms_output.put_line(to_char(SQLCODE) || ' - ' || SQLERRM);
END;
================================================
Thanks,
Raj
Edited by: user13275176 on Apr 14, 2011 7:07 AMThat is a wrong way to do that (I am not sure of the business needs and the situation in you are in that is forcing you to do that).
If you want the instance as if it is in Inventory, perform inventory receipt transaction. You should not just change the ownership (rather I should say you 'cannot' since the API should not allow you change the instance usage code to INVENTORY and location to Inventory just like that) and location details as inventory without performing the transaction in inventory.
What about your inventory, you do not want quantity back in inventory?
Thanks
Nagamohan -
Iweb would not update the title
My iweb would not update the title of one of my website pages. All other updates went through but this one. I even deleted the page and did it again and it refuses to appear right after published. It also shows an error 404 in the page when published. Can anyone help? Thanks
Try clearing your browser's cache (Command+Option+E for Safari) and relaoding that one page.
OT -
To find a user exit which update the Invoice header data
Hi,
I need a user exit which will update the invoice header data. For eg I need to update the fields RBKP_V-ESRNR and RBKP_V-ESRRE in table RBKP_V. I was using this user exit EXIT_SAPLMRMP_010 (Program ZXM08U16).But this is not working fine as this has no exporting parameter nor tables of structure RBKP_V.
I need for transaction MIRO.
Kindly help ...
Points will be rewarded
Thanks in advanceHi jayasree,
with the help of the below given program you can find out the requried user exit by giving the T code (MIRO).
*& Report Z_USEREXIT_DISPLAY *
Title : Display UserExits *
Transport Request No : *
Modification Log *
ModNo Date Consultant Description of Change(s) *
REPORT z_userexit_temp
NO STANDARD PAGE HEADING
LINE-SIZE 200
MESSAGE-ID zz.
T A B L E D E C L A R A T I O N S *
TABLES: tftit,
e071,
e070.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF x_tstc,
tcode TYPE tcode,
pgmna TYPE program_id,
END OF x_tstc.
TYPES: BEGIN OF x_tadir,
obj_name TYPE sobj_name,
devclass TYPE devclass,
END OF x_tadir.
TYPES: BEGIN OF x_slog,
obj_name TYPE sobj_name,
END OF x_slog.
TYPES: BEGIN OF x_final,
name TYPE smodname,
member TYPE modmember,
include(15), "Include name
END OF x_final.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: it_tstc TYPE STANDARD TABLE OF x_tstc WITH HEADER LINE.
DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
DATA: it_jtab TYPE STANDARD TABLE OF x_slog WITH HEADER LINE.
DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
V A R I A B L E S D E C L A R A T I O N S *
U S E R I N P U T S S C R E E N *
S E L E C T I O N S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN END OF BLOCK blk01.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM get_tcodes. "Get Tcodes
PERFORM get_objects. "Get Objects
E n d o f S e l e c t i o n *
END-OF-SELECTION.
PERFORM display_results. "Display Results
*& Form get_tcodes
Get Tcodes
FORM get_tcodes.
SELECT tcode
pgmna
INTO TABLE it_tstc
FROM tstc
WHERE tcode = p_tcode.
IF sy-subrc = 0.
SORT it_tstc BY tcode.
ENDIF.
ENDFORM. " get_tcodes
*& Form get_objects
Get Objects
FORM get_objects.
DATA: l_fname LIKE rs38l-name,
l_group LIKE rs38l-area,
l_include LIKE rs38l-include,
l_namespace LIKE rs38l-namespace,
l_str_area LIKE rs38l-str_area.
DATA: v_include LIKE rodiobj-iobjnm.
DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
DATA: l_line TYPE string,
l_tabix LIKE sy-tabix.
IF NOT it_tstc[] IS INITIAL.
SELECT obj_name
devclass
INTO TABLE it_tadir
FROM tadir FOR ALL ENTRIES IN it_tstc
WHERE pgmid = 'R3TR' AND
object = 'PROG' AND
obj_name = it_tstc-pgmna.
IF sy-subrc = 0.
SORT it_tadir BY obj_name devclass.
SELECT obj_name
INTO TABLE it_jtab
FROM tadir FOR ALL ENTRIES IN it_tadir
WHERE pgmid = 'R3TR' AND
object = 'SMOD' AND
devclass = it_tadir-devclass.
IF sy-subrc = 0.
SORT it_jtab BY obj_name.
ENDIF.
ENDIF.
ENDIF.
*- Get UserExit names
LOOP AT it_jtab.
SELECT name
member
INTO (it_final-name, it_final-member)
FROM modsap
WHERE name = it_jtab-obj_name AND
typ = 'E'.
APPEND it_final.
CLEAR it_final.
ENDSELECT.
ENDLOOP.
*- Process it_final contents.
LOOP AT it_final.
l_tabix = sy-tabix.
CLEAR: l_fname,
l_group,
l_include,
l_namespace,
l_str_area.
l_fname = it_final-member.
CALL FUNCTION 'FUNCTION_EXISTS'
EXPORTING
funcname = l_fname
IMPORTING
group = l_group
include = l_include
namespace = l_namespace
str_area = l_str_area
EXCEPTIONS
function_not_exist = 1
OTHERS = 2.
IF sy-subrc = 0.
IF NOT l_include IS INITIAL.
*- Get Source code of include.
CLEAR: v_include, e_t_include, e_t_include[].
v_include = l_include.
CALL FUNCTION 'MU_INCLUDE_GET'
EXPORTING
i_include = v_include
TABLES
e_t_include = e_t_include.
IF sy-subrc = 0.
LOOP AT e_t_include.
IF e_t_include-line CS 'INCLUDE'.
CLEAR l_line.
l_line = e_t_include-line.
CONDENSE l_line NO-GAPS.
TRANSLATE l_line USING '. '.
l_line = l_line+7(9).
it_final-include = l_line.
MODIFY it_final INDEX l_tabix TRANSPORTING include.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " get_objects
*& Form display_results
Display Results
FORM display_results.
FORMAT COLOR COL_HEADING.
WRITE:/1(150) sy-uline.
WRITE:/ sy-vline,
2(23) 'Extension Name',
24 sy-vline,
25(39) 'Exit Name',
64 sy-vline,
65(74) 'Description',
140 sy-vline,
141(9) 'Include',
150 sy-vline.
WRITE:/1(150) sy-uline.
FORMAT RESET.
SORT it_final BY name member.
LOOP AT it_final.
CLEAR tftit.
SELECT SINGLE stext
INTO tftit-stext
FROM tftit
WHERE spras = 'EN' AND
funcname = it_final-member.
WRITE:/ sy-vline,
it_final-name COLOR COL_KEY, 24 sy-vline,
25 it_final-member, 64 sy-vline,
65 tftit-stext, 140 sy-vline,
141 it_final-include, 150 sy-vline.
WRITE:/1(150) sy-uline.
ENDLOOP.
Regards
Srinivas -
TS3899 My phone and iPad are not updating my emails even though they say they are
My phone and iPad are not updating my emails even though it say it is updated
How did you put the photos on yhour iPhone? Did you take them with the iPhone? If so and you have PS enabled on the iPhone they will be added to the PS on your iPad (as long as it's enabled also)
iPhone settings.
OT -
I got error "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I found out the cause is Update Item action
I need to update item in another List call Customer Report ,the field call "Issues" with data type "Choice" to yes
then the error arise . please help..Thanks for the quick response Nikhil.
Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
Site Lists
Engagements = 4456 (Errors on this list, primary list for activity)
Tasks = 7711 (All workflow tasks from all site lists)
Clients = 4396 (Lookup from Engagements, Tslips, etc)
Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties. -
Not Updating the Values in the JComboBox and JTable
Hi Friends
In my program i hava Two JComboBox and One JTable. I Update the ComboBox with different field on A Table. and then Display a list of record in the JTable.
It is Displaying the Values in the Begining But when i try to Select the Next Item in the ComboBox it is not Updating the Records Eeither to JComboBox or JTable.
MY CODE is this
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.DefaultComboBoxModel.*;
import javax.swing.table.*;
import java.sql.*;
import java.util.*;
public class SearchBook extends JDialog implements ActionListener
private JComboBox comboCategory,comboAuthor;
private JSplitPane splitpane;
private JTable table;
private JToolBar toolBar;
private JButton btnclose, btncancel;
private JPanel panel1,panel2,panel3,panel4;
private JLabel lblCategory,lblAuthor;
private Container c;
//DefaultTableModel model;
Statement st;
ResultSet rs;
Vector v = new Vector();
public SearchBook (Connection con)
// Property for JDialog
setTitle("Search Books");
setLocation(40,110);
setModal(true);
setSize(750,450);
// Creating ToolBar Button
btnclose = new JButton(new ImageIcon("Images/export.gif"));
btnclose.addActionListener(this);
// Creating Tool Bar
toolBar = new JToolBar();
toolBar.add(btnclose);
try
st=con.createStatement();
rs =st.executeQuery("SELECT BCat from Books Group By Books.BCat");
while(rs.next())
v.add(rs.getString(1));
catch(SQLException ex)
System.out.println("Error");
panel1= new JPanel();
panel1.setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.fill = GridBagConstraints.HORIZONTAL;
lblCategory = new JLabel("Category:");
lblCategory.setHorizontalAlignment (JTextField.CENTER);
c.gridx=2;
c.gridy=2;
panel1.add(lblCategory,c);
comboCategory = new JComboBox(v);
comboCategory.addActionListener(this);
c.ipadx=20;
c.gridx=3;
c.gridwidth=1;
c.gridy=2;
panel1.add(comboCategory,c);
lblAuthor = new JLabel("Author/Publisher:");
c.gridwidth=2;
c.gridx=1;
c.gridy=4;
panel1.add(lblAuthor,c);
lblAuthor.setHorizontalAlignment (JTextField.LEFT);
comboAuthor = new JComboBox();
comboAuthor.addActionListener(this);
c.insets= new Insets(20,0,0,0);
c.ipadx=20;
c.gridx=3;
c.gridy=4;
panel1.add(comboAuthor,c);
comboAuthor.setBounds (125, 165, 175, 25);
table = new JTable();
JScrollPane scrollpane = new JScrollPane(table);
//panel2 = new JPanel();
//panel2.add(scrollpane);
splitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,panel1,scrollpane);
splitpane.setDividerSize(15);
splitpane.setDividerLocation(190);
getContentPane().add(toolBar,BorderLayout.NORTH);
getContentPane().add(splitpane);
public void actionPerformed(ActionEvent ae)
Object obj= ae.getSource();
if(obj==comboCategory)
String selecteditem = (String)comboCategory.getSelectedItem();
displayAuthor(selecteditem);
System.out.println("Selected Item"+selecteditem);
else if(obj==btnclose)
setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
else if(obj==comboAuthor)
String selecteditem1 = (String)comboAuthor.getSelectedItem();
displayavailablity(selecteditem1);
//System.out.println("Selected Item"+selecteditem1);
System.out.println("Selected Author"+selecteditem1);
private void displayAuthor(String selecteditem)
try
{ Vector data = new Vector();
rs= st.executeQuery("SELECT BAuthorandPublisher FROM Books where BCat='" + selecteditem + "' Group By Books.BAuthorandPublisher");
System.out.println("Executing");
while(rs.next())
data.add(rs.getString(1));
//((DefaultComboBoxModel)comboAuthor.getModel()).setVectorData(data);
comboAuthor.setModel(new DefaultComboBoxModel(data));
catch(SQLException ex)
System.out.println("ERROR");
private void displayavailablity(String selecteditem1)
try
Vector columnNames = new Vector();
Vector data1 = new Vector();
rs= st.executeQuery("SELECT * FROM Books where BAuthorandPublisher='" + selecteditem1 +"'");
ResultSetMetaData md= rs.getMetaData();
int columns =md.getColumnCount();
String booktblheading[]={"Book ID","Book NAME","BOOK AUTHOR/PUBLISHER","REFRENCE","CATEGORY"};
for(int i=1; i<= booktblheading.length;i++)
columnNames.addElement(booktblheading[i-1]);
while(rs.next())
Vector row = new Vector(columns);
for(int i=1;i<=columns;i++)
row.addElement(rs.getObject(i));
data1.addElement(row);
//System.out.println("data is:"+data);
((DefaultTableModel)table.getModel()).setDataVector(data1,columnNames);
//DefaultTableModel model = new DefaultTableModel(data1,columnNames);
//table.setModel(model);
rs.close();
st.close();
catch(SQLException ex)
}Please check my code and give me some Better Solution
Thank youYou already have a posting on this topic:
http://forum.java.sun.com/thread.jspa?threadID=5143235
Maybe you are looking for
-
Satellite P750 - Unable to connect external screen via VGA port
Hello All, My problem is following: I have been trying to connect my P750 (running on W7 x-64) to an external screen using the VGA port/cable. Unfortunately the external devices does not recognize my laptop. Laptop does recognise the external screen,
-
My iPhone was replaced, how do I get the iMessage history back?
Hi there, I broke my iphone 3s display. The phone is still working but it was time for a new iphone anyhow...Well: One problem. I really want to save all the imessages. Ideally on my mac. I already have beta imessage but it only stores the messages t
-
How do you open a multi page tif be opened in Photoshop?
I have an embedded tif with a render, shadow layers and other channels in one tif. (Not created in Photoshop) I thought it was multilayered tif, but I think it's called a multi page tif. When I open it in Photoshop it opens the top layer/page, and no
-
Project Server cost calculation
Hi All, We are using project server 2013. I have two fields 'vendor cost' and 'payment status' at task level. I need to sum all the vendor cost where the payment status is paid and display in a custom field at project level. How to achieve this. Than
-
In the money, but none the richer [CS3,JS]
I've extracted a story from ID, put all the pounds sterling into an array and am stepping through it, converting to the euro values. So on each iteration I end up with two variables, poundsToChange (£500,000) and euroSum (€556421 ... I know, far too