Error message not displaying when stock is zero
Hi friends
pls guide me how to solve , when ther is zero stock in the system for the particular item is not showing any error message , instead it is creating the delivery doc without any error message .
pls tel me where would be the problem .....
awaiting for the reply sooon ....
Thanks in advance
Mahi.
Check Material Master, it it allows Negitive Stock. If yes then it will allow to process the Delivery Document.
It is also possible that Availability Check is not maintained in Material Master ot settings of Availability Check.
Regards,
Rajesh Banka
Reward points if helpful.
Similar Messages
-
Error messages are displayed when opening the RTV form.
Hi All,
While doing a return to vendor the following error messages are displayed.
1.Go to the Inventory Management --> Return to Vendor screen.
2. In Action Drop down select ‘New’ and click on OK
3. A series of errors are encountered.
4. A warning message as [640+49> 688] and then click ‘OK’.
5. Notice the error message”Multi view internal error: B_RTV_DETAIL.QTY_RETURNED:current_col_pos exceeds parameter defined maximum right position” and then click’ OK’.
Can any one help me out in these?
Thanks,
Sushanth.DThis is a coding issue in the form, maybe the number is too big for the box on the canvas.
It looks also like a business issue is kicking off the error, the message [640+49> 688] looks like some units of stock etc. check, e.g. the returned quantity is larger than the stock on hand.
File an SR with OracleSupport and/or open the UI's Form fmb code in Forms Developer.
Multi View relates to an (quite old) OracleRetail (Retek) Forms pll library that enhances the Forms features, if my memory is not letting me down.
Best regards,
Erik -
Error Message Repeated Display When using BBP_DOC_CHECK_BADI
Hi,EveryOne,
Who can help me,I am using BBP_DOC_CHECK_BADI,Check the item's,when the first time,i modify some PO item data,then through this BBP_DOC_CHECK_BADI,can show one error message.Then i modify the error data to correct,push the check button,no error message show again.
Then i go into the second item,check,no error message.
And there only two item.
So, i Save the order.But the first error message display again.
I don't know why? Is there have any one can help me.I am will very appreciate him.
Thanks a lot.
The code display:
DATA:l_destination TYPE rfcdest.
DATA:lt_ekbe TYPE TABLE OF zgp_invoice_check,
ls_ekbe TYPE z_invoice_check,
lt_ekpo TYPE TABLE OF z_invoice_po,
ls_ekpo TYPE z_invoice_po.
CLEAR:l_destination.
CHECK po_header-be_log_system IS NOT INITIAL.
MOVE po_header-be_log_system TO l_destination.
CALL FUNCTION 'Z_INVOICE_PRICING_CHECK'
DESTINATION l_destination
EXPORTING
pi_ebeln = po_header-be_object_id
TABLES
pto_ekbe = lt_ekbe
pto_ekpo = lt_ekpo
EXCEPTIONS
OTHERS = 1.
IF lt_ekbe[] IS NOT INITIAL.
SORT lt_ekbe BY ebeln ebelp.
LOOP AT po_item INTO ls_po_item.
READ TABLE lt_ekbe INTO ls_ekbe WITH KEY ebelp = ls_po_item-number_int.
IF sy-subrc EQ 0.
READ TABLE lt_ekpo INTO ls_ekpo WITH KEY ebelp = ls_po_item-number_int.
IF sy-subrc EQ 0 AND ls_ekpo-netpr NE ls_po_item-price.
ls_messages-msgty = 'E'.
ls_messages-msgid = 'BBP_PU'.
ls_messages-msgno = '001'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = ls_po_item-number_int
IMPORTING
output = ls_po_item-number_int
EXCEPTIONS
OTHERS = 1.
CONCATENATE 'Line No.' ls_po_item-number_int ': ' 'Price cannot be changed for invoice item!'
INTO ls_messages-msgv1.
CONCATENATE 'Line No.' ls_po_item-number_int ': ' 'Price cannot be changed for invoice item!'
INTO ls_messages-message.
APPEND ls_messages TO et_messages .
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
Edited by: andy zhou on Apr 10, 2008 3:51 AMHi
Which SRM version are you using ?
All the Data after makning changes in the PO document, will be also aviavale in BBP_DOC_CHANGE_BADI for the filter type- BUS2201 (Purchase orders) in your case. You can either do a validation there using BBP_DOC_CHECK_BADI.
The Business Add-Ins [BADI] - BBP_DOC_CHECK_BADI should be used for customer messages to be triggered ->
Re: Error message control for invoice w/o PO in SRM
Re: calling a screen from BADI BBP_DOC_CHECK_BADI
Re: PO Message
Re: Problem with BBP_DOC_CHECK_BADI
Re: Mandatory field
Re: "Refresh" button in BBP_POC calls badi..... ?
Re: Validation of SC/PO
Re: PO Changes, PO date
Do let me know, incase still face any issues.
Regards
- Atul -
Edit error message as displayed when browsers fail to display dynamic pdfs
I'm sure many people here are aware of the problems that arise when many browsers attempt to open a dynamic writable pdf. The built in plugin that ships with most browsers is unable to display the content, and as a result the following message is shown.
"If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/go/reader_download.
For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader."
(I trimmed a bit because the message is quite long)
My question is, is there some way to modify the message above by editing the pdf using a program like Adobe Livecycle or Acrobat Pro? The message that displays is basically useless, because the problem is actually due to the browser's inability to display the pdf. If it is possible to replace this message with something more meaningful, such as instructions on downloading the form with right click, that would be fantastic for the users.
Does anyone know where this information is stored? It doesn't seem to be browser specific (as the browsers I've tested seem to display the same message).I got the error messages to work from properties file and some helper class, but not through just defining in faces-config or web.xml.
I am sure there is a better way to do but hopefully this will help you.
FacesContext context = FacesContext.getCurrentInstance();
In my validation method - I have the following code, which will associate
the appropriate message
String failureMsg = ErrorMessages.getString("SignUpData.NO_USER_NAME");
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, failureMsg, failureMsg);
context.addMessage("login_form:username", message);
My properties file - errormessage.properties - have the following info
SignUpData.NO_USER_NAME =Please Enter User Name
SignUpData.NO_PASSWORD =Please Enter Password
Helper class - ErrorMessages.java
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class ErrorMessages {
private static final String BUNDLE_NAME = "com.path1.path2.resources.error_messages";
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
private ErrorMessages() {
public static String getString(String key) {
try {
return RESOURCE_BUNDLE.getString(key);
} catch (MissingResourceException e) { return '!' + key + '!';
I am also looking for a way to avoid all this extra helper classes if there is a better alternative.
thanks
ponni -
Why error messages not displaying in installed AIR app?
Hi!
Help me please understand how AIR handle errors. When I run air application from the Flex Builder and have some code that
generates an error, a window appears with the error description, such this:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at MyApp/genError()[C:\FlexProjects\MyApp\src\MyApp.mxml:10876]
at MyApp/___MyApp_Button92_click()[C:\FlexProjects\MyApp\src\MyAppmxml:10880]
So I can see where error is occur and handle it. But when I release build the same app, run it, click the button that generate error, nothing happens, no error messages etc. So users can not catch bug even if it happens and can't reported it ...Thanks Ted!
I will make every effort to debug errors at development time, but can not be 100% sure that they can all be found immediately. Can I set in the compiler option some parameter to 'true' for displaying error messages or something like that? -
Error message not displayed in a pop up
Hi ,
I have a pop up screen in my web dynpro with a input field and two buttons.
i have a error message written in the WDDOBEFOREACTION method of my pop up window. But the message is not displayed on the window. But If the same is written in the event handler of the button click it is triggered.
Please help me to display the message with the code in WDDOBEFOREACTION method .
The code is as below
lo_nd_bp_data = wd_context->get_child_node( name = wd_this->wdctx_bp_data ).
* get element via lead selection
lo_el_bp_data = lo_nd_bp_data->get_element( ).
* get single attribute
lo_el_bp_data->get_attribute(
EXPORTING
name = `BP_NUMBER`
IMPORTING
value = lv_bp_number ).
CHECK lv_bp_number IS NOT INITIAL.
IF zcl_rms_webdynpro_texts=>check_for_victim_bp( i_bp_number = lv_bp_number ) = abap_true.
* get message manager
DATA lo_api_controller TYPE REF TO if_wd_controller.
DATA lo_message_manager TYPE REF TO if_wd_message_manager.
DATA: lv_p1 LIKE syst-msgv1.
lo_api_controller ?= wd_this->wd_get_api( ).
CALL METHOD lo_api_controller->get_message_manager
RECEIVING
message_manager = lo_message_manager.
lv_p1 = lv_bp_number.
* report message
CALL METHOD lo_message_manager->report_t100_message
EXPORTING
msgid = ZMSG_CLS
msgno = '222'
msgty = 'E'
p1 = lv_p1
cancel_navigation = abap_true
enable_message_navigation = abap_true.
ENDIF.
Edited by: SAP LEARNER on Jan 5, 2012 1:37 PMhave a error message written in the WDDOBEFOREACTION method of my pop up window. But the message is not displayed on the window. But If the same is written in the event handler of the button click it is triggered.
strange..
wddobeforeaction will trigger then event handler wil trigger then wddoafteraction will trigger.
Did you put a break point in wddobeforeaction?
Regards
Srinivas -
Error message not displayed - Downloading files in a table
Hi!!!
I'm following the guide to download files onDemand in a table, you can find that guide at:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f
If found a problem with the guide: What would happen if there's an error while downloading or somenthing else? There the author doesn't explain how to show an error in the view.
What I'd like to do is to show a error message in the view where the table is.
I tried to add some code, but it doesn't finally show the error message.
I have a method that generates the file and returns the path of the file in the context, so I can read it. It return boolean (true if the file was generated, false on the contray). That method is called executeZgav_Sf_Formulario_Sv_Input(nroEmpleado, nroViaje, morei, datosEspejo); and is working fine.
I also have a static class that reads a file and returns the byte[] called: ManejoArchivos.getByteArrayFromResourcePath(wdContext.currentOutput_FormularioSVElement().getP_Path(), true);
But if for example, the parameters are incorrect and the file cannot be generated, the method is supposed to show an error but is not displayed on the screen.
I have some code after that which validates if the file could be read or not and returns the bytes of a prewritten PDF file with an error message.
Added code:
byte[] r = null;
boolean continuar =
this.executeZgav_Sf_Formulario_Sv_Input(nroEmpleado, nroViaje, morei, datosEspejo);
if (continuar)
try {
r =
ManejoArchivos.getByteArrayFromResourcePath(
wdContext.currentOutput_FormularioSVElement().getP_Path(),
true);
} catch (FileNotFoundException e) {
wdComponentAPI.getMessageManager().reportMessage(
IMessageData.ARCHIVO_NO_ENCONTRADO,
null,
true);
} catch (IOException e) {
wdComponentAPI.getMessageManager().reportMessage(IMessageData.PROBLEMA_IO, null, true);Hi Alejandro,
Try This.
try
catch (FileNotFoundException e) {
wdComponentAPI.getMessageManager().reportException("Given FileNotFoundException : "+e.getMessage(),true);
catch (IOException ex) {
wdComponentAPI.getMessageManager().reportException("Given IOException : "+ex.getMessage(),true);
Re: How to display which exception Is Raised?
Regards,
Mithu -
JSF Error Message not displaying/popping up in clickToEdit table
I have an entity object validation rule which displays a message when the validation fails. I have set the Validation Failure Severity as an Informational Warning. I do want to user to continue if he is happy to do so. Everything works fine when testing in the model project.
Now, in the ViewController project when I add the View Object to a page as a af:table component the Warning message only comes up if the tables Behavior/EditingMode property is equal to editAll AND if the inputText Behavior/AutoSubmit property is false. It actually seems like this is the only time the validation is performed…
If I change the tables Behavior/EditingMode property to be clickToEdit the warning message does not come up anymore?
If I change the inputText Behavior/AutoSubmit property equal to true, then the warning messagewill not come up in ether of the editAll or clickToEdit table. A orange border will be displayed in the editAll table, but no message?
What is the difference, and how can I get the warning message to be displayed when the table is clickToEdit table?
I am using JDeveloper 11.1.1.3 PS2
ThanksHi
Just to mention. It seems this issue was a bug in 11.1.1.3, and it is fixed in 11.1.1.4...
I still don't know how to get around the problem in 11.1.1.3, but atleast it is working in the latest version. -
Error Message not displaying full error msg in screen
Hi Frds,
Need to display the error message as my specified words.... . I have created a message class also... even though its not displaying mesage properly
My Message i passed here . R&D Material already exists.........Hello Kabil,
If you use '&' then your message will be truncate in Status bar message. Best option would be use 'and' instead of '&' the your problem will be resolved.
Cheers,
Vadamalai A -
Crystal Report 2011 does not display when keyfigures are zero
I am using Crystal report 2011 with BEX Queries as Data Source. I am not able to see some of the characteristics values when keyfigures are zero or null. In BEX query there is a costCenter Characterstic, few costcenter characteristics values are zero for some months but BEX Query is designed to show as spaces even if the keyfigures are zero for those costcenters. When I am using the same Bex Query with Crystal report 2011 all the costcenters with keyfigures as zero are not showing up on the report. Can anybody suggest how I can show the characterstics values even if all the keyfigures are zero. (I have not selected any kind of suppression in section expert in crystal report), (In Bex Query CostCenter- Properties-Advanced----Access Type for Result values are set to Master Data)
Hi,
Have you made sure the correct Transport files have been loaded on the SAP system? Since you're using CR 2011, you need to make sure the Transports that come with this version of CR are present on the SAP system.
Could you see if the workaround mentioned in SAP Note: 1391673 works for you?
Here's a snippet of the SAP Note:
SAP Development team of BW BEX MDX Interface suggest the following implementation:
Since Crystal Reports is not correctly interpreting the character used to represent NULL values (by default the value: X) please use the Customizing transaction: RSCUSTV4 to change the sent value.
Please note, this is a Global setting, and will also modify the behaviour in BEx application.
WORKAROUND: Create a formula field based on the selection that always returns a number - converting null to 0.
Create a formula in BEx for the KF.
Edit the Selection
Edit the formula to behave like:
COUNT ('KF') * 'KF' + 0
('RKF' + 0) * 1
Not generally acceptable since it requires duplicating fields.
Also, business may not accept 0,00 for a NULL result.
Hope this helps!
-Abhilash -
Error message was displaying when comes back from the final output display
Hi Experts,
I have developed one program and it works fine. But when i press F3 or BACK button from the final display one Error wa coming in a pop-up saying "Selection criterion "Posting Date" contains several selection lines".
I cant understand where the problem was. Can any one suggest where would be the problem. I am sending the code.
REPORT zfir0011_o2c_tax_gl_summary.
TYPE-POOLS slis.
TABLES: faglflexa.
Types Declaration.
TYPES: BEGIN OF x_faglflexa,
ryear TYPE gjahr,
bukrs TYPE bukrs,
belnr TYPE belnr_d, "Document Number
poper TYPE poper, "Posting Period
budat TYPE budat, "Posting Date
buzei TYPE buzei, "Document line item
racct TYPE racct, "G/L Account no.
END OF x_faglflexa,
ty_t_faglflexa TYPE STANDARD TABLE OF x_faglflexa.
TYPES: BEGIN OF x_bset,
belnr TYPE belnr_d,
buzei TYPE buzei,
mwskz TYPE mwskz, "Tax code
hkont TYPE hkont,
shkzg TYPE shkzg, "Debit/Credit Indicator
txjcd TYPE txjcd, "Tax Jurisdiction
h2ste TYPE h2ste, "Tax Amount
h2bas TYPE h2bas_bses, "Tax Amount
END OF x_bset,
ty_t_bset TYPE STANDARD TABLE OF x_bset.
TYPES: BEGIN OF x_skat,
spras TYPE spras,
ktopl TYPE ktopl,
saknr TYPE saknr,
text TYPE txt20_skat,
END OF x_skat,
ty_t_skat TYPE STANDARD TABLE OF x_skat.
TYPES: BEGIN OF x_custom,
geo_state TYPE char2,
geo_county TYPE char3,
country TYPE char2,
description TYPE char40,
END OF x_custom,
ty_t_custom TYPE STANDARD TABLE OF x_custom.
TYPES: BEGIN OF x_budat,
sign TYPE char_01,
option TYPE char2,
low TYPE budat,
high TYPE budat,
END OF x_budat,
ty_t_budat TYPE STANDARD TABLE OF x_budat.
TYPES: BEGIN OF x_txjcd,
geo_state TYPE char2,
geo_county TYPE char3,
END OF x_txjcd,
ty_t_txjcd TYPE STANDARD TABLE OF x_txjcd.
TYPES: BEGIN OF x_inter,
ryear TYPE gjahr,
bukrs TYPE bukrs,
txjcd TYPE txjcd, "Tax Jurisdiction
racct TYPE racct, "G/L Account no.
h2ste TYPE h2ste, "Tax Amount
poper TYPE poper, "Posting Period
belnr TYPE belnr_d, "Document Number
shkzg TYPE shkzg, "Debit/Credit Indicator
END OF x_inter,
ty_t_inter TYPE STANDARD TABLE OF x_inter.
TYPES: BEGIN OF x_final,
txjcd TYPE bset-txjcd, "Tax Jurisdiction
state TYPE char40, "State
curr_bal TYPE bset-h2ste, "Current Balance
per_chng TYPE bset-h2ste, "Period Change
pri_bala TYPE bset-h2ste, "Prior Balance
END OF x_final,
ty_t_final TYPE STANDARD TABLE OF x_final.
Column positions to pass to field catalog
CONSTANTS : c_pos_1 TYPE sy-cucol VALUE '1', " position of the columns
c_pos_2 TYPE sy-cucol VALUE '2',
c_pos_3 TYPE sy-cucol VALUE '3',
c_pos_4 TYPE sy-cucol VALUE '4',
c_pos_5 TYPE sy-cucol VALUE '5'.
*Field names for Field Catalog
CONSTANTS : c_h TYPE c VALUE 'H', "Header
c_s TYPE c VALUE 'S', "Sub heading
c_slash TYPE c VALUE '/', "Slash
c_colon TYPE c VALUE ':', "Column
c_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',"#EC NEEDED "Top-of-page
c_top_of_page_split TYPE slis_formname VALUE 'TOP_OF_PAGE_SPLIT', "Top-of-page centered
c_txjcd TYPE slis_fieldname VALUE 'TXJCD', "Tax Jurisdiction
c_region TYPE slis_fieldname VALUE 'STATE', "State
c_currb TYPE slis_fieldname VALUE 'CURR_BAL', "Current Balance
c_perch TYPE slis_fieldname VALUE 'PER_CHNG', "Period Change
c_prbal TYPE slis_fieldname VALUE 'PRI_BALA'. "Prior Balance
CONSTANTS : c_table_name TYPE slis_tabname VALUE 'IT_FINAL', "For Field Catalog
c_spras TYPE spras VALUE 'E', "Language
c_buzei TYPE c VALUE '1', "Line item in BSET
c_one(2) TYPE c VALUE '01',
c_zp TYPE bset-mwskz VALUE 'ZP', "Sales Tax Code
c_zr TYPE bset-mwskz VALUE 'ZR'. "Sales Tax Code
Variables Declaration.
DATA : v_current_year TYPE i, "Current year
v_poper TYPE poper, "Posting period
v_saknr TYPE saknr, "Account no. "#EC NEEDED
v_ktopl TYPE ktopl, "Chart of Accounts
v_konts TYPE saknr, "G/L Account Number
v_bukrs TYPE bukrs, "Company Code
v_sum_val TYPE h2ste, "#EC NEEDED "Tax Amount
v_sum_val1 TYPE h2ste, "Tax Amount
v_sum_val2 TYPE h2ste, "Tax Amount
v_sum_debit TYPE h2ste,
v_sum_credit TYPE h2ste,
v_sum_debit1 TYPE h2ste,
v_sum_credit1 TYPE h2ste,
v_h2ste TYPE string, "#EC NEEDED
v_desc TYPE char40, "G/L Acct. Description
v_title TYPE char40. "Title
Internal Tables Declaration.
DATA : it_faglflexa TYPE ty_t_faglflexa, "Internal table for G/L Line Items.
it_bset TYPE ty_t_bset, "Internal table for Tax Data Document Segment.
it_skat TYPE ty_t_skat, "Internal table for Chart of Accounts: Desc.
it_custom TYPE ty_t_custom, "Custom table for storing STATE Description.
it_txjcd TYPE ty_t_txjcd, "For storing Tax Jurisdiction codes.
it_inter TYPE ty_t_inter. "Intermediate table for storing data & Performing Calculations.
DATA : it_final TYPE ty_t_final. "#EC NEEDED
*Fieldcatalogue Internal Table Declaration
DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
it_alv_top_of_page TYPE slis_t_listheader,
wa_line TYPE slis_listheader.
*Field-symbols and Work Area Declarations
FIELD-SYMBOLS : <fs_faglflexa> TYPE x_faglflexa,
<fs_bset> TYPE x_bset.
DATA : wa_faglflexa TYPE x_faglflexa, "#EC NEEDED
wa_bset TYPE x_bset,
wa_skat TYPE x_skat,
wa_custom TYPE x_custom,
wa_txjcd TYPE x_txjcd,
wa_inter TYPE x_inter,
wa_final TYPE x_final. " #EC NEEDED
SELECTION-SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_bukrs TYPE faglflexa-rbukrs OBLIGATORY, " Company Code
p_gjahr TYPE faglflexa-gjahr OBLIGATORY. " Fiscal Year
SELECT-OPTIONS: s_budat FOR faglflexa-budat OBLIGATORY " Posting Date
NO-EXTENSION
NO INTERVALS.
PARAMETERS: p_racct TYPE faglflexa-racct OBLIGATORY. " G/L Accounts
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN VALIDATIONS.
*Company Code Validation.
AT SELECTION-SCREEN ON p_bukrs.
SELECT SINGLE bukrs INTO v_bukrs
FROM t001
WHERE bukrs = p_bukrs.
IF sy-subrc NE 0.
MESSAGE e071(zfinprjt).
ENDIF.
Fiscal Year Validation. It should not be more than Current.
AT SELECTION-SCREEN ON p_gjahr.
v_current_year = sy-datum+0(4).
IF p_gjahr > v_current_year.
MESSAGE e072(zfinprjt).
ENDIF.
*G/L Account Validation.
AT SELECTION-SCREEN ON p_racct.
SELECT SINGLE saknr INTO v_saknr
FROM skb1
WHERE saknr EQ p_racct
AND bukrs EQ p_bukrs.
IF sy-subrc EQ 0.
*Check the Chart of Accounts for that Company Code.
SELECT SINGLE ktopl FROM t001
INTO v_ktopl
WHERE bukrs = p_bukrs.
*Check that it is a Tax G/L Account for that Company Code and G/L Account.
SELECT SINGLE konts FROM t030k "#EC *
INTO v_konts
WHERE ktopl = v_ktopl
AND konts = v_saknr.
IF sy-subrc NE 0.
MESSAGE e073(zfinprjt).
ENDIF.
ELSE.
MESSAGE e073(zfinprjt).
ENDIF.
AT SELECTION-SCREEN ON s_budat.
DATA : v_year(4) TYPE c,
v_month(2) TYPE c,
v_date(2) TYPE c. "#EC NEEDED
*if date ne 01 converting date to '01'
READ TABLE s_budat.
IF s_budat-low+6(2) NE c_one.
v_year = s_budat-low.
v_month = s_budat-low+4(2).
v_date = s_budat-low+6(2).
s_budat-high = s_budat-low.
CLEAR s_budat-low.
CONCATENATE v_year c_one c_one INTO s_budat-low.
s_budat-sign = 'I'.
s_budat-option = 'BT'.
APPEND s_budat.
ENDIF.
START-OF-SELECTION.
PERFORM get_data USING p_bukrs "#EC *
p_gjahr "#EC *
s_budat[] "#EC *
p_racct CHANGING it_final. "#EC *
*Display report in ALV grid
IF it_final IS NOT INITIAL.
*Build Top of the page table.
PERFORM comment_build USING it_skat CHANGING it_alv_top_of_page.
*Build Field catalog table for ALV
PERFORM build_field_catalog CHANGING it_fieldcat.
*Display report
PERFORM display_alv USING it_final.
ELSE.
*No data found for the selection criteria/period.
MESSAGE i022(zfinprjt).
exit.
ENDIF.
*& Form GET_DATA
Retrieve data from Database tables
-->P_P_BUKRS text
-->P_P_GJAHR text
-->P_P_BUDAT text
-->P_P_RACCT text
<--P_IT_FINAL text
FORM get_data USING fp_bukrs TYPE bukrs "#EC *
fp_gjahr TYPE gjahr "#EC *
fp_budat TYPE ty_t_budat "#EC *
fp_racct TYPE racct "#EC *
CHANGING fp_it_final TYPE ty_t_final.
*selecting the Required data from FAGLFLEXA
SELECT ryear "Fiscal Year
rbukrs "Company Code
belnr "Document Number
poper "Posting Period
budat "Posting Date
buzei "Document line item
racct "G/L Account no.
INTO TABLE it_faglflexa
FROM faglflexa
WHERE rbukrs EQ p_bukrs "#EC *
AND gjahr EQ p_gjahr "#EC *
AND budat LE s_budat "#EC *
AND budat IN s_budat "#EC *
AND racct EQ p_racct. "#EC *
IF sy-subrc EQ 0.
SORT it_faglflexa.
ENDIF.
*selecting the Tax Jurisdiction, Tax amount from BSET
IF it_faglflexa IS NOT INITIAL.
SELECT belnr
buzei
mwskz
"hkont
shkzg "Debit/Credit Indicator
txjcd "Tax Jurisdicaiton
h2ste "Tax Amount
h2bas "Tax Amount1
INTO TABLE it_bset
FROM bset
FOR ALL ENTRIES IN it_faglflexa
WHERE belnr EQ it_faglflexa-belnr
AND gjahr EQ p_gjahr "it_faglflexa-ryear
AND buzei EQ c_buzei. "Line item
ENDIF.
IF sy-subrc EQ 0.
SORT it_bset BY txjcd ASCENDING.
SORT it_bset BY belnr ASCENDING.
ENDIF.
*Selecting the G/L Account Long Text from SKAT
IF it_faglflexa IS NOT INITIAL.
SELECT spras " Language key
ktopl " Chart of Accounts
saknr " G/L Account Number
txt20 " G/L Account Long Text
INTO TABLE it_skat
FROM skat
FOR ALL ENTRIES IN it_faglflexa
WHERE spras = c_spras
AND saknr = it_faglflexa-racct.
ENDIF.
IF sy-subrc EQ 0.
SORT it_skat.
ENDIF.
LOOP AT it_bset ASSIGNING <fs_bset>.
wa_txjcd-geo_state = <fs_bset>-txjcd+0(2).
wa_txjcd-geo_county = <fs_bset>-txjcd+2(3).
APPEND wa_txjcd TO it_txjcd.
CLEAR wa_txjcd.
ENDLOOP.
IF sy-subrc EQ 0.
SORT it_txjcd BY geo_state.
DELETE ADJACENT DUPLICATES FROM it_txjcd COMPARING geo_state geo_county.
ENDIF.
*Selecting the Description from Custom table
IF it_txjcd IS NOT INITIAL.
SELECT geo_state
geo_county
country
description
INTO TABLE it_custom
FROM ztfi_tgl_summary
FOR ALL ENTRIES IN it_txjcd
WHERE geo_state = it_txjcd-geo_state
AND geo_county = it_txjcd-geo_county.
ENDIF.
IF sy-subrc EQ 0.
SORT it_custom.
ENDIF.
LOOP AT it_faglflexa ASSIGNING <fs_faglflexa>.
MOVE-CORRESPONDING <fs_faglflexa> TO wa_inter. "#EC ENHOK
*Read Tax Jurisdiction and Tax Amount from BSET Table.
READ TABLE it_bset INTO wa_bset WITH KEY belnr = <fs_faglflexa>-belnr
BINARY SEARCH.
IF sy-subrc EQ 0.
wa_inter-shkzg = wa_bset-shkzg.
wa_inter-txjcd = wa_bset-txjcd.
ENDIF.
*If BSET-MWSKZ = ZP or ZR then pick H2BAS as Tax Amount.
IF wa_bset-mwskz = c_zp.
wa_inter-h2ste = wa_bset-h2bas.
ELSEIF wa_bset-mwskz = c_zr.
wa_inter-h2ste = wa_bset-h2bas.
ELSE.
wa_inter-h2ste = wa_bset-h2ste.
ENDIF.
*Check it is credit entry or debit entry ('H' or 'S').
IF wa_inter-shkzg EQ 'H'.
wa_inter-h2ste = wa_inter-h2ste * -1.
ENDIF.
APPEND wa_inter TO it_inter.
CLEAR: wa_inter, wa_bset.
ENDLOOP.
IF sy-subrc EQ 0.
SORT it_inter BY bukrs ryear txjcd ASCENDING.
DELETE it_inter WHERE txjcd EQ space.
DELETE ADJACENT DUPLICATES FROM it_inter COMPARING belnr.
ENDIF.
v_poper = s_budat-high+4(2).
LOOP AT it_inter INTO wa_inter.
*Read the Text maintained in the custom table based on the GEO_STATE = First two digits of TXJCD
*and GEO_COUNTY = Next three digits of TXJCD. If this is blank pick based on First two digits of TXJCD.
READ TABLE it_custom INTO wa_custom WITH KEY geo_state = wa_inter-txjcd+0(2)
geo_county = wa_inter-txjcd+2(3)
BINARY SEARCH.
IF sy-subrc NE 0.
READ TABLE it_custom INTO wa_custom WITH KEY geo_state = wa_bset-txjcd+0(2)
BINARY SEARCH.
ENDIF.
IF sy-subrc = 0.
wa_final-state = wa_custom-description.
ENDIF.
AT NEW txjcd.
CLEAR: v_sum_val, v_sum_val1, v_sum_val2.
ENDAT.
Period Change, if v_poper equal to present period(v_poper).
IF wa_inter-poper EQ v_poper.
IF wa_inter-shkzg EQ 'H'.
v_sum_debit = v_sum_debit + wa_inter-h2ste.
ELSE.
v_sum_credit = v_sum_credit + wa_inter-h2ste.
ENDIF.
Prior Balance, if v_poper is less than present period(v_poper).
ELSEIF wa_inter-poper LT v_poper.
IF wa_inter-shkzg EQ 'H'.
v_sum_debit1 = v_sum_debit1 + wa_inter-h2ste.
ELSE.
v_sum_credit1 = v_sum_credit1 + wa_inter-h2ste.
ENDIF.
ENDIF.
AT END OF txjcd.
wa_final-txjcd = wa_inter-txjcd.
IF sy-subrc EQ 0.
v_sum_val1 = v_sum_credit - v_sum_debit. "Temp Commented
ENDIF.
wa_final-per_chng = v_sum_val1. "Period change
IF sy-subrc EQ 0.
v_sum_val2 = v_sum_credit1 - v_sum_debit1. "Temp commented
ENDIF.
wa_final-pri_bala = v_sum_val2. "Prior Balance
wa_final-curr_bal = v_sum_val1 + v_sum_val2. "Current Balance
APPEND wa_final TO it_final. "#EC *
CLEAR: wa_inter,
wa_final,
v_sum_credit,
v_sum_credit1,
v_sum_debit,
v_sum_debit1.
ENDAT.
ENDLOOP.
ENDFORM. " GET_DATA
*& Form COMMENT_BUILD
ALV Top of Page
-->P_IT_SKAT text
<--P_IT_ALV_TOP_OF_PAGE text
FORM comment_build USING fp_it_skat TYPE ty_t_skat"#EC NEEDED
CHANGING fp_it_alv_top_of_page TYPE slis_t_listheader.
DATA: v_budat_low TYPE c LENGTH 10, "#EC NEEDED
v_budat_high TYPE c LENGTH 10, "#EC NEEDED
v_butxt TYPE butxt.
CLEAR wa_line.
*Report Title
CONCATENATE text-005 p_bukrs INTO v_title SEPARATED BY space.
wa_line-typ = c_h.
wa_line-key = ' '.
wa_line-info = v_title.
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR wa_line.
*Account Number
wa_line-typ = c_s.
wa_line-key = text-006.
wa_line-info = p_racct.
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR wa_line.
*G/L Account Description
READ TABLE it_skat INTO wa_skat WITH KEY ktopl = v_ktopl BINARY SEARCH."#EC *
IF sy-subrc EQ 0.
v_desc = wa_skat-text.
ENDIF.
wa_line-typ = c_s.
wa_line-key = text-007.
wa_line-info = v_desc.
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR wa_line.
*Fiscal Year from selection
IF NOT p_gjahr IS INITIAL.
wa_line-info = p_gjahr.
wa_line-typ = c_s.
wa_line-key = text-008. "Fiscal Year
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR wa_line.
ENDIF.
*Posting Date
CONCATENATE s_budat-high4(2) s_budat-high6(2) s_budat-high+0(4) INTO wa_line-info SEPARATED BY c_slash.
wa_line-typ = c_s.
wa_line-key = text-009. "Posting Date
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR wa_line.
*Company Code Description from selection
IF NOT p_bukrs IS INITIAL.
SELECT SINGLE butxt FROM t001
INTO v_butxt WHERE bukrs EQ p_bukrs.
IF sy-subrc EQ 0.
wa_line-info = v_butxt.
wa_line-typ = c_s.
wa_line-key = text-010. "Company Code Description
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR wa_line.
ENDIF.
ENDIF.
Printed Date
wa_line-typ = c_s.
wa_line-key = text-011. "Printed Date
CONCATENATE sy-datum+4(2)
sy-datum+6(2)
sy-datum(4) INTO wa_line-info SEPARATED BY c_slash. "todays date
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR: wa_line.
Printing Time
wa_line-typ = c_s.
wa_line-key = text-012. "Printing Time
wa_line-info = sy-uzeit.
CONCATENATE sy-uzeit(2)
sy-uzeit+2(2)
sy-uzeit+4(2) INTO wa_line-info SEPARATED BY c_colon. "current time
APPEND wa_line TO fp_it_alv_top_of_page.
CLEAR: wa_line.
ENDFORM. " COMMENT_BUILD
*& Form BUILD_FIELD_CATALOG
Fieldcatalogue
<--P_IT_FIELDCAT text
FORM build_field_catalog CHANGING fp_it_fieldcat TYPE slis_t_fieldcat_alv.
TAX JURISDICTION
wa_fieldcat-col_pos = c_pos_1.
wa_fieldcat-reptext_ddic = text-013. "TAX JURISDICTION
wa_fieldcat-fieldname = c_txjcd.
wa_fieldcat-tabname = c_table_name.
wa_fieldcat-outputlen = '15'.
APPEND wa_fieldcat TO fp_it_fieldcat.
CLEAR : wa_fieldcat.
STATE
wa_fieldcat-col_pos = c_pos_2.
wa_fieldcat-reptext_ddic = text-014. "STATE
wa_fieldcat-fieldname = c_region.
wa_fieldcat-tabname = c_table_name.
wa_fieldcat-outputlen = '40'.
APPEND wa_fieldcat TO fp_it_fieldcat.
CLEAR : wa_fieldcat.
CURRENT BALANCE
wa_fieldcat-col_pos = c_pos_3.
wa_fieldcat-reptext_ddic = text-015. "CURRENT BALANCE
wa_fieldcat-fieldname = c_currb.
wa_fieldcat-tabname = c_table_name.
wa_fieldcat-do_sum = 'X'.
wa_fieldcat-datatype = 'CURR'.
wa_fieldcat-outputlen = '17'.
APPEND wa_fieldcat TO fp_it_fieldcat.
CLEAR : wa_fieldcat.
PERIOD CHANGE
wa_fieldcat-col_pos = c_pos_4.
wa_fieldcat-reptext_ddic = text-016. "PERIOD CHANGE
wa_fieldcat-fieldname = c_perch.
wa_fieldcat-tabname = c_table_name.
wa_fieldcat-do_sum = 'X'.
wa_fieldcat-datatype = 'CURR'.
wa_fieldcat-outputlen = '17'.
APPEND wa_fieldcat TO fp_it_fieldcat.
CLEAR : wa_fieldcat.
PRIOR BALANCE
wa_fieldcat-col_pos = c_pos_5.
wa_fieldcat-reptext_ddic = text-017. "PRIOR BALANCE
wa_fieldcat-fieldname = c_prbal.
wa_fieldcat-tabname = c_table_name.
wa_fieldcat-do_sum = 'X'.
wa_fieldcat-datatype = 'CURR'.
wa_fieldcat-outputlen = '17'.
APPEND wa_fieldcat TO fp_it_fieldcat.
CLEAR : wa_fieldcat.
ENDFORM. " BUILD_FIELD_CATALOG
*& Form DISPLAY_ALV
ALV Grid Display
-->P_IT_FINAL text
FORM display_alv USING fp_it_final TYPE ty_t_final.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
i_callback_top_of_page = c_top_of_page
i_callback_html_top_of_page = c_top_of_page_split
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = it_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
i_save = 'A'
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = fp_it_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc EQ 0. "#EC *
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV
*& Form top_of_page_split
Top of page for displaying the Text in Center
FORM top_of_page_split USING fp_top TYPE REF TO cl_dd_document."#EC *
TYPES: BEGIN OF ty_text,
text TYPE sdydo_text_element,
END OF ty_text.
TYPES: BEGIN OF ty_text1, "AAAAAAAA
text1 TYPE sdydo_text_element,
END OF ty_text1.
DATA: v_tab TYPE sdydo_text_table,
v_area TYPE REF TO cl_dd_area,
v_text TYPE sdydo_text_element,
v_text1 TYPE sdydo_text_element, "#EC NEEDED
v_tab1 TYPE sdydo_text_table.
DATA: it_text TYPE TABLE OF ty_text,
wa_text TYPE ty_text,
it_text1 TYPE TABLE OF ty_text1,
wa_text1 TYPE ty_text1.
DATA: v_title TYPE string,
v_accts_desc TYPE string,
v_year TYPE string,
v_comp_code TYPE string,
v_desc TYPE char40,
v_budat TYPE char10,
v_budat1 TYPE char10,
v_butxt TYPE butxt,
v_time TYPE char10,
v_comma TYPE c VALUE ','.
CALL METHOD fp_top->initialize_document.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->vertical_split
EXPORTING
split_area = fp_top
split_width = '31%'
IMPORTING
right_area = v_area.
IF sy-subrc EQ 0. "#EC NEEDED
*MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*G/L Account Description
READ TABLE it_skat INTO wa_skat WITH KEY ktopl = v_ktopl BINARY SEARCH.
IF sy-subrc EQ 0.
v_desc = wa_skat-text.
ENDIF.
*Company code Description
IF NOT p_bukrs IS INITIAL.
SELECT SINGLE butxt FROM t001
INTO v_butxt WHERE bukrs EQ p_bukrs.
ENDIF.
CONCATENATE text-005 p_bukrs INTO v_title SEPARATED BY space.
wa_text1-text1 = v_title.
APPEND wa_text1 TO it_text1.
v_tab1 = it_text1.
CALL METHOD v_area->add_text
EXPORTING
text_table = v_tab1
fix_lines = 'X'
sap_fontsize = cl_dd_document=>large
sap_emphasis = cl_dd_document=>strong. "AAAAAA
CHECK sy-subrc EQ 0.
CONCATENATE text-006 p_racct v_comma text-007 v_desc INTO v_accts_desc SEPARATED BY space.
CONCATENATE s_budat-high4(2) s_budat-high6(2) s_budat-high+0(4) INTO v_budat SEPARATED BY c_slash.
CONCATENATE text-008 p_gjahr v_comma text-009 v_budat INTO v_year SEPARATED BY space.
CONCATENATE text-010 v_butxt INTO v_comp_code SEPARATED BY space.
wa_text-text = v_title.
APPEND wa_text TO it_text.
wa_text-text = v_accts_desc.
APPEND wa_text TO it_text.
wa_text-text = v_year.
APPEND wa_text TO it_text.
wa_text-text = v_comp_code.
APPEND wa_text TO it_text.
v_tab = it_text.
CALL METHOD v_area->add_text
EXPORTING
text_table = v_tab
fix_lines = 'X'
sap_fontsize = cl_dd_document=>medium
sap_emphasis = cl_dd_document=>medium.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->new_line.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->new_line.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->new_line.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->add_gap
EXPORTING
width = 0.
CHECK sy-subrc EQ 0.
CONCATENATE sy-datum4(2) sy-datum6(2) sy-datum+0(4) INTO v_budat1 SEPARATED BY c_slash.
CALL METHOD fp_top->add_text
EXPORTING
text = text-011
sap_emphasis = 'STRONG'.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->add_gap
EXPORTING
width = 1.
CHECK sy-subrc EQ 0.
v_text = v_budat1.
CALL METHOD fp_top->add_text
EXPORTING
text = v_text.
sap_style = 'KEY'.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->new_line.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->add_text
EXPORTING
text = text-012
sap_emphasis = 'STRONG'.
CHECK sy-subrc EQ 0.
CALL METHOD fp_top->add_gap
EXPORTING
width = 1.
CHECK sy-subrc EQ 0.
CONCATENATE sy-uzeit(2)
sy-uzeit+2(2)
sy-uzeit+4(2) INTO v_time SEPARATED BY c_colon. "current time
v_text = v_time.
CALL METHOD fp_top->add_text
EXPORTING
text = v_text.
sap_style = 'KEY'.
CHECK sy-subrc EQ 0.
ENDFORM. "top_of_page_split
Thanks in Advance.
Regards,
RamanaProblem is with ur selection screen definition for s_budat
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_bukrs TYPE faglflexa-rbukrs OBLIGATORY, " Company Code
p_gjahr TYPE faglflexa-gjahr OBLIGATORY. " Fiscal Year
SELECT-OPTIONS: s_budat FOR faglflexa-budat OBLIGATORY " Posting Date
NO-EXTENSION
NO INTERVALS.
PARAMETERS: p_racct TYPE faglflexa-racct OBLIGATORY. " G/L Accounts
SELECTION-SCREEN END OF BLOCK b1.
Here u r defining s_budat like parameter with NO-EXTENSION
NO INTERVALS. additions.
So that means it should contain only one record in it. As s_budat is nothing but a range table with headerline so this entry should be contained in the body as well as in the header.
But in AT SELECTION-SCREEN ON s_budat. u r again entering a 2nd record if date is not 01.
AT SELECTION-SCREEN ON s_budat.
DATA : v_year(4) TYPE c,
v_month(2) TYPE c,
v_date(2) TYPE c. "#EC NEEDED
*if date ne 01 converting date to '01'
READ TABLE s_budat.
IF s_budat-low+6(2) NE c_one. << Here u r checking the header not the body
v_year = s_budat-low.
v_month = s_budat-low+4(2).
v_date = s_budat-low+6(2).
s_budat-high = s_budat-low.
CLEAR s_budat-low.
CONCATENATE v_year c_one c_one INTO s_budat-low.
s_budat-sign = 'I'.
s_budat-option = 'BT'.
APPEND s_budat.
ENDIF.
Due to these 2 records it is giving u error. So to avoid the problem u should read the body of the table and then modify the record.
Read table s_budat index 1.
IF s_budat-low+6(2) NE c_one.* << Here u r checking the header not the body
v_year = s_budat-low.
v_month = s_budat-low+4(2).
v_date = s_budat-low+6(2).
s_budat-high = s_budat-low.
CLEAR s_budat-low.
CONCATENATE v_year c_one c_one INTO s_budat-low.
s_budat-sign = 'I'.
s_budat-option = 'BT'.
modify s_budat index sy-tabix.
Regards,
Joy. -
LR4.4 error messages not found when looked up
I finally caved and ordered LR 4.4 Problems.
1.. slow downloading from 8 and 16GB cards in raw....seemed faster in LR3, but hadn't used 16GB cards there....read some on this, but how are you supposed to refresh in the middle of a download? It would just cancel everything.
2. When pics show up in Library be4 they are downloaded and I click on Loupe view, sometimes they are full size, and some times they pop up real tiny in the center of the oupe, like a tiny slide....once that happens, none of the pics go back to full size, so I can't review them to see which ones I don't want to download.
3. Sometimes when I "unclick" the download check box, after I hit the forward or backward arrow, it rechecks the box...when I go fromlouype view to the s"see all" view, however, the unchecked ones are indeed unchecked, usually, but I have to keep going back and forth to look and see if they are unchecked or checked.
4. Twice now I have gotten a box popped up at the end of the download that says" The following files were imported but could not be renamed>" Then it lists the files, which are all of them......
5. Finally, and most disturbing, my latest download has on almost every pic across the top, "The file named "IMG_1234.dng" is offline or missing." WHAT??????? And the pics that it says that on are very blurry. The pics that this message is NOT on are sharp.
I was reluctant to buy LR$/4.4 and hesitated, and now I am even more unhappy...wanted to wait for 5, but no one could tell me when it was coming and I just took a couple of thousand pics in China and am anxious to see them. Please help me, as I am off this weekend and was really hoping to plow into them.
King Tut's MomLet's start by clearing up some confusion.
PORTS
In version 11.1.1.x here are how the common ports are defined by default:
1. HTTP Server - 8888
2. WLS_FORMS - 9001
3. WLS_REPORTS - 9002
4. WLS Admin Server - 7001
So, if you understand how ports work in general, you should see that there are two ways to run a form. You can either go through HTTP Server or call WLS_FORMS directly. This means that both of the following would work, although one would be a direct path and the other would route the request through the HTTP Server:
<li>http://ie1fdtfc5zl1s:9001/forms/frmservlet?config=frmdemo
<li>http://ie1fdtfc5zl1s:8888/forms/frmservlet?config=frmdemo
Port 7001, will always be the Admin Server port by default for the Classic domain. By default, the only thing you can do from here is access EM or WLS Console.
As for the tns issue, by default, both the Builder and runtime will expect to find tnsnames.ora in the Instance Home \config so be sure you are adding the correct entries to the correct file.
You can hard code a path to the file which you prefer be used by setting TNS_ADMIN in default.env (e.g. TNS_ADMIN=C:\Oracle\mytnsdirectory). This will apply only to running forms and not the Builder.
Also, here is something which often is confusing to many people.... just because you launched your form from the Builder does not mean that the running form has anything to do with the Builder at that point. In other words, when you click on the RunForm button in the builder all you are doing is passing a url to a browser. The browser and the form are not using any of the Builder's settings except those which may have been passed in the URL (e.g. username/password). ALL running forms are considered "runtime". This means all of the environment configuration information for a running form will need to be set in default.env. The Builder, on the other hand will rely on the System variable, Windows Registry (or shell if on Unix). -
When I connect my iTouch to my PC (windows 7) an error message is displayed reading "iTunes was unable to load dataclass information from sync services. Reconnect or try again later". I have completely uninstalled and then reinstalled iTunes. I have also completely reset my iTouch to factory defaults. I have even followed all the advice provided previously to other forum member with the same problem. Nothing seems to work. Please help me someone.
I'm getting the same problem with both my IPad 4 and iPhone 5
Just started a few weeks back, Since then I have had two Itunes updates.
Is this something Apple is aware of and trying to fix? -
I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?
I would guess that a TV series takes up a fair amount of storage capacity. It is just a standard message I think that may indicate that you are actually running low on storage space.
If you go to Settings>General>About how many GBs are specified as being available? If you are low on space maybe deleting some apps may help. -
A error message pops up when I try to click top singles "see all" saying "Your request could not be completed the item you've requested is not currently available in the US store" when a few minutes ago it allowed me to do so.
When I open the store in general (from my PC - Windows Vista), I get a message saying "Your request could not be completed. The item you've requested is not currently available in the Canadian Store."
On my iPad, Apps opens, but I can't browse new apps listings, but not their details.
Help?
Maybe you are looking for
-
Printer setting could not be saved operation could not be completed error
printer setting could not be saved operation could not be completed error 0*000006cc
-
TS3694 iphone restore comes up with error 3194. What does this mean?
I need help to find out why my phone will not restore. It keeps coming up with the 3194 error.
-
Automatic Clearing - Special G/L indicators
Hello fellas! Does anybody know how can I clear vendors and customers documents in F13E/F.13 with different special G/L indicators? Or someone have another alternative? By the way..I donu2019t want to use F-32. Happy Holidays! Have a great new year!
-
How can configure "barge in" in CM 7.0 BE
Hi; how can i configure "barge in" feature in cisco CM 7.0 BE Thanks.
-
Can I view the descriptions within my ebook?
I have many books and sometimes want to view a desciption of the book without going to an external website to look it up. Is there a way to embed a description of the book so it can be viewed with ibooks? Thanks, Kathleen