RG1 Value is missing in J2I6.
Dear All,
I am not getting the "Value" in RG1 print( J2I6)value column is blank, also I could not found the fields for ECess & HECess, what could be the reason. Plz suggest me.
I am following the ste
Thanx&Regards,
Ramu
Not answered
Similar Messages
-
Some fields value goes missing while hitting backspace
While hitting backspace on a page the previous page that opens does not hold all the data that was filled in. Some of the field values goes missing. I think it is a browser cache problem. The browser should always rememeber the field values while reloading a page. In some of the cases it does not(specially when backspace is being pressed). Is there any suggestion? Please help me out.
Hey.. I have encountered the same problem too. Actually if I have some text field elements and if we implement some kind of Javascript or Jquery validation on it and then after moving to next page when we press backspace we do not get previous input values in the previous page. Not only that some times if we do not implement any validation still the values lost while coming back to the previous page by pressing backspace or browser back button. Any suggestion please..
-
Catalog error : Index of values is missing for characteristic PLANTu0092
Error" Index of values is missing for characteristic " in mapping
Hi
We are in SRM
I was trying to transfer Master records to catalog using
BAdi : BBP_CCM_CHAR_MAINT but Im getting an error Index of values is missing for characteristic PLANT.
Plant has multiple value.
Ive following code in the method ENHANCE_CTY_DEF
ls_char_definition-char_name = 'PLANT'.
ls_char_definition-char_datatype = 'CHAR'.
ls_char_definition-MULTIVAL_INDICATOR = 'X'.
APPEND ls_char_definition TO et_char_definition.
Following code in the method VALUATE_PRODUCT
**"plant data
v_index = 1.
ls_char_valuation-char_name = 'PLANT'.
LOOP at t_plant into WA_plant.
ls_char_valuation-char_value = WA_PLANT-PLANT_1.
IF WA_plant-PLANT_1 is not initial.
ls_char_valuation-MULTIVAL_INDEX = v_index.
APPEND ls_char_valuation TO et_char_valuation.
v_index = v_index + 1.
ENDIF.
ENDLOOP.
Can anyone tell me how to resolve it. Ill definitely reward points to any useful answer.
-JoeHi
Have you raised any OSS message with SAP yet ? If no, raise one immediately.
Meanwhile, try this ->
<u>It seems the Following code in the method VALUATE_PRODUCT
has some problem -></u>
**"plant data
v_index = 1.
ls_char_valuation-char_name = 'PLANT'.
LOOP at t_plant into WA_plant.
ls_char_valuation-char_value = WA_PLANT-PLANT_1.
IF WA_plant-PLANT_1 is not initial.
ls_char_valuation-MULTIVAL_INDEX = v_index.
APPEND ls_char_valuation TO et_char_valuation.
v_index = v_index + 1.
ENDIF.
ENDLOOP.
Try changing the code - like this ->
**"plant data
LOOP at t_plant into WA_plant.
v_index = sy-tabix.
ls_char_valuation-char_name = 'PLANT'.
ls_char_valuation-char_value = WA_PLANT-PLANT_1.
IF WA_plant-PLANT_1 is not initial.
ls_char_valuation-MULTIVAL_INDEX = v_index.
APPEND ls_char_valuation TO et_char_valuation.
ENDIF.
ENDLOOP.
Some SAP OSS notes to refer ->
<b>Note 850613 - Maintaining the BBP_CCM_CHAR_MAINT BAdI using Customizing
Note 875039 - BBP_CCM_CHAR_MAINT: Valuating predefined characteristics
Note 724097 - Search of the comp. in case of structured characteristics</b>
Do let me know.
Regards
- Atul -
Condition JEXC- Manual Excise Value, is missing in pricing procedure A M RM
Dear Gurus,
During PO creation following massage occurred,
Condition JEXC- Manual Excise Value, is missing in pricing procedure A M RM0000.
scenario: - JEXC condition type not picking the value automatically against Tax Code.
Pl. help,
Regards,hi
plz check that U HAVE GIVEN PROPER SCHEMA FOR THE VENDOR as it is detecting schema as RM0000
or
it means that u have not yet setup the manual excise
check following configuration
Use Condition Type "JEXC" in MM Pricing Procedure.
You can use manual excise condition "JEXC" in case if your BED Rate is not fixed as 14% and you want to enter BED Value manually.
Once you input value in JEXC then it will replace the value of BED in "Taxes" under "Invoice" Tab. And ECS / 2% ans SECess / 1%
will get calculated on BED Value.
Here use Tax Code of (14% BED + 2% ECS + 1% SEcess + VAT/CAT As applicable), system will calculate BED, ECS & SECess as per the % maintained in Tax Code. Once you enter value in "JEXC" condition, it will replace the value of BED and ECS / 2% ans SECess / 1% will get calculated on BED Value.
For e.g.
As per Tax Code;
Base Value = 10000
BED / 14% = 1400
ECS / 2% = 28
SECess / 1% = 14
After putting value in "JEXC" as 1600 (For e.g.)
Base Value = 10000
BED / 14% = 1600 (Here 1400 will get replaced by 1600 under "Invoice" tab - "Taxes" button)
ECS / 2% = 32
SECess / 1% = 16
I think the above example will make clear the use of condition type "JEXC"
And Condition Type "NAVS" (Non - Deductible Tax) is used in MM Pricing which will bring value of CST from "Taxes" screen to "Conditions" of PO. Check the attributes of NAVS condition type in M/06
rgards
kunal -
IDOC Invoic02 - Segment E1EDP26 (net value) is missing because of val. 0,00
Hello everyone,
I have an idoc of type Invoic02 and the segment E1EDP26 with qualifier 003 (net value) is missing if the net value is 0,00u20AC. If the value is greater than zero, the segment is perfectly there.
Does anyone have an idea how I can achieve that this segment is always there independent of the value?
Thank you!
Best regards
AndreasI'm replying to this old post since it comes up in Search. We had the same issue - E1EDP26 with QUALF 003 would not be in the IDoc, but it was required by the receiving system.
Here is a reply I received from SAP:
This is the standard system behaviour and this is hard coded in the
system.
Please see the following from note 635337 (Conditions are missing in theIDoc):
o The value of the condition must be <> 0.
You may change the code in LVEDFF0F by removing the IF and ENDIF
statements and then E1EDP26 segment 003 will always be output
but this would be a modification and would be subject to the conditions
from note 170183.
*- Absoluter Nettowert
IF NOT tvbdpr-netwr IS INITIAL. <<<
CLEAR int_edidd.
CLEAR e1edp26.
int_edidd-segnam = 'E1EDP26'.
e1edp26-qualf = '003'.
PERFORM get_e1edp26_tcurx_currency USING tvbdpr-netwr.
MOVE tvbdpr-netwr TO h_newr_btrg.
MOVE e1edp26 TO int_edidd-sdata.
APPEND int_edidd.
PERFORM customer_function.
ENDIF. <<<
Since we already had a user exit EXIT_SAPLVEDF_002 implemented for the IDoc extension, instead we resolved it by adding the following code (fragment) there:
DATA ls_e1edp26 TYPE e1edp26. "document item pricing data
DATA lv_kwert TYPE kwert.
CASE int_edidd-segnam.
WHEN 'E1EDP26'.
MOVE int_edidd-sdata TO ls_e1edp26.
IF ls_e1edp26-qualf = '001'.
IF xtvbdpr-netwr = 0.
CLEAR: ls_e1edp26, lv_kwert.
ls_e1edp26-qualf = '003'.
ls_e1edp26-betrg = lv_kwert. " so that decimals/format are the same
SHIFT ls_e1edp26-betrg LEFT DELETING LEADING space.
MOVE ls_e1edp26 TO int_edidd-sdata.
APPEND int_edidd.
ENDIF.
ENDIF. " ls_e1edp26-qualf = '001'
ENDCASE. -
Hi all,
when i am trying to upload the excel template by using the function module " KCD_EXCEL_OLE_TO_INT_CONVERT" to an internal table some field values are missing.
i am using the function module " KCD_EXCEL_OLE_TO_INT_CONVERT" and i am uploading an excel template and downloading that excel data into an internal table but some field values are missing while uploading the excel template and i found that the field which contains the drop down list values those values are missing.
And also when i am uploading the excel template by using the function module" KCD_EXCEL_OLE_TO_INT_CONVERT" when i am coming out of this function module one pop up is coming. how can i avoid this popup, can any one please provide me the solution thanks in advance.
FYI...it is showing the below popup screen ..
Thanks,
Koushikhi Feiyun,
below is the code(highlighted in bold)and after coming out of the function module i am getting popup and also the drop down values are missing.
DATA: ls_control TYPE zsfi_fiupload_control,
ls_header TYPE zsfi_fiupload_header_v13,
ls_item TYPE zsfi_fiupload_item_v13,
ls_trailer TYPE zsfi_fiupload_control,
l_line_count LIKE zsfi_fiupload_control-rec_count,
l_current_curr TYPE kcde_cells-value,
l_current_postdate TYPE kcde_cells-value,
l_current_compcode TYPE kcde_cells-value,
l_currentrow TYPE kcde_cells-row,
l_filename LIKE rlgrap-filename.
DATA: BEGIN OF lt_intern OCCURS 0.
INCLUDE STRUCTURE kcde_cells.
DATA: END OF lt_intern.
DATA: BEGIN OF lt_items OCCURS 0,
a TYPE kcde_cells-value,
b TYPE kcde_cells-value,
c TYPE kcde_cells-value,
d TYPE kcde_cells-value,
e TYPE kcde_cells-value,
f TYPE kcde_cells-value,
g TYPE kcde_cells-value,
h TYPE kcde_cells-value,
i TYPE kcde_cells-value,
j TYPE kcde_cells-value,
k TYPE kcde_cells-value,
l TYPE kcde_cells-value,
m TYPE kcde_cells-value,
n TYPE kcde_cells-value,
o TYPE kcde_cells-value,
p TYPE kcde_cells-value,
q TYPE kcde_cells-value,
r TYPE kcde_cells-value,
s TYPE kcde_cells-value,
t TYPE kcde_cells-value,
u TYPE kcde_cells-value,
v TYPE kcde_cells-value,
w TYPE kcde_cells-value,
x TYPE kcde_cells-value,
y TYPE kcde_cells-value,
z TYPE kcde_cells-value,
aa TYPE kcde_cells-value,
ab TYPE kcde_cells-value,
ac TYPE kcde_cells-value,
ad TYPE kcde_cells-value,
ae TYPE kcde_cells-value,
af TYPE kcde_cells-value,
ag TYPE kcde_cells-value,
ah TYPE kcde_cells-value,
ai TYPE kcde_cells-value,
AJ TYPE KCDE_CELLS-VALUE,
AK TYPE KCDE_CELLS-VALUE,
END OF lt_items.
l_filename = p_flpath.
* the file must be an xls file, not xlsx or comma seperated
IF p_flpath NS '.xls' AND p_flpath NS '.XLS'.
MESSAGE i261(zfi).
g_error = 'X'.
EXIT.
ENDIF.
* upload excel file to a generic table
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = l_filename
i_begin_col = 1
i_begin_row = 1
i_end_col = 150
i_end_row = 65000
TABLES
intern = lt_intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* validate that the format is in the restatement format
* this is the only template to have the ledger group in cell G-2
** READ TABLE lt_intern WITH KEY row = '0002' col = '0007'.
** IF sy-subrc <> 0 OR lt_intern-value IS INITIAL.
** MESSAGE i260(zfi).
** g_error = 'X'.
** EXIT.
** ENDIF.
* create control record values
ls_control-rec_type = 'C'.
ls_control-global_id = 'GLU-03000'.
ls_control-local_id = ''.
ls_control-rec_count = ''.
CONCATENATE sy-datum sy-uzeit INTO ls_control-date.
ls_control-version = '12'.
ls_control-email = ''.
ls_control-eor = 'X'.
ls_trailer = ls_control.
* open output file and add the control record
OPEN DATASET p_unixfilename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
TRANSFER ls_control TO p_unixfilename.
* create header record values, will be transfered to file in the item loop
ls_header-rec_type = 'H'.
READ TABLE lt_intern WITH KEY row = '0017' col = '0003'.
IF sy-subrc = 0.
ls_header-header_txt = lt_intern-value.
ENDIF.
READ TABLE lt_intern WITH key row = '0020' col = '0002'.
IF sy-subrc = 0.
ls_header-comp_code = lt_intern-value.
ENDIF.
************doc date
READ TABLE lt_intern WITH KEY row = '0011' col = '0003'.
IF sy-subrc = 0.
ls_header-pstng_date = lt_intern-value.
ENDIF.
************posting date
ls_header-doc_date = sy-datum.
READ TABLE lt_intern WITH KEY row = '0009' col = '0003'.
IF sy-subrc = 0.
ls_header-doc_type = lt_intern-value.
ENDIF.
READ TABLE lt_intern WITH KEY row = '0014' col = '0003'.
IF sy-subrc = 0.
ls_header-ref_doc_no = lt_intern-value.
ENDIF.
************currency moved to line items
READ TABLE lt_intern WITH KEY row = '0020' col = '0001'.
IF sy-subrc = 0.
ls_header-currency = lt_intern-value.
ENDIF.
ls_header-trans_date = ''.
READ TABLE lt_intern WITH KEY row = '0010' col = '0003'.
IF sy-subrc = 0.
ls_header-period = lt_intern-value.
ENDIF.
READ TABLE lt_intern WITH KEY row = '0006' col = '0003'.
IF sy-subrc = 0.
ls_header-reason_rev = lt_intern-value.
ENDIF.
READ TABLE lt_intern WITH KEY row = '0007' col = '0003'.
IF sy-subrc = 0.
ls_header-rev_date = lt_intern-value.
ENDIF.
* READ TABLE lt_intern WITH KEY row = '0002' col = '0007'.
* IF sy-subrc = 0.
ls_header-ledger_grp = ''.
* ENDIF.
* READ TABLE lt_intern WITH KEY row = '0013' col = '0013'.
* IF sy-subrc = 0.
ls_header-exch_rate = ''.
* ENDIF.
READ TABLE lt_intern WITH KEY row = '0008' col = '0003'.
IF sy-subrc = 0.
ls_header-calc_tax = lt_intern-value.
ENDIF.
ls_header-eor = 'X'.
* loop at the line items and append them to a table with multiple columns
LOOP AT lt_intern WHERE row GE 20.
IF l_currentrow <> lt_intern-row AND l_currentrow IS NOT INITIAL.
APPEND lt_items.
CLEAR lt_items.
ENDIF.
l_currentrow = lt_intern-row.
CASE lt_intern-col.
WHEN '0001'. lt_items-a = lt_intern-value.
WHEN '0002'. lt_items-b = lt_intern-value.
WHEN '0003'. lt_items-c = lt_intern-value.
WHEN '0004'. lt_items-d = lt_intern-value.
WHEN '0005'. lt_items-e = lt_intern-value.
WHEN '0006'. lt_items-f = lt_intern-value.
WHEN '0007'. lt_items-g = lt_intern-value.
WHEN '0008'. lt_items-h = lt_intern-value.
WHEN '0009'. lt_items-i = lt_intern-value.
WHEN '0010'. lt_items-j = lt_intern-value.
WHEN '0011'. lt_items-k = lt_intern-value.
WHEN '0012'. lt_items-l = lt_intern-value.
WHEN '0013'. lt_items-m = lt_intern-value.
WHEN '0014'. lt_items-n = lt_intern-value.
WHEN '0015'. lt_items-o = lt_intern-value.
WHEN '0016'. lt_items-p = lt_intern-value.
WHEN '0017'. lt_items-q = lt_intern-value.
WHEN '0018'. lt_items-r = lt_intern-value.
WHEN '0019'. lt_items-s = lt_intern-value.
WHEN '0020'. lt_items-t = lt_intern-value.
WHEN '0021'. lt_items-u = lt_intern-value.
WHEN '0022'. lt_items-v = lt_intern-value.
WHEN '0023'. lt_items-w = lt_intern-value.
WHEN '0024'. lt_items-x = lt_intern-value.
WHEN '0025'. lt_items-y = lt_intern-value.
WHEN '0026'. lt_items-z = lt_intern-value.
WHEN '0027'. lt_items-aa = lt_intern-value.
WHEN '0028'. lt_items-ab = lt_intern-value.
WHEN '0029'. lt_items-ac = lt_intern-value.
WHEN '0030'. lt_items-ad = lt_intern-value.
WHEN '0031'. lt_items-ae = lt_intern-value.
WHEN '0032'. lt_items-af = lt_intern-value.
WHEN '0033'. lt_items-ag = lt_intern-value.
WHEN '0034'. lt_items-ah = lt_intern-value.
WHEN '0035'. lt_items-ai = lt_intern-value.
when '0036'. lt_items-aj = lt_intern-value.
when '0037'. lt_items-ak = lt_intern-value.
ENDCASE.
ENDLOOP.
APPEND lt_items.
* sort rows by the post date, comp code, curr.
* SORT lt_items BY ah a ai.
* loop at the items, creating a header record if the comp code, curr. or post date changes
LOOP AT lt_items.
ls_item-rec_type = 'I'.
ls_item-post_key = lt_items-c. "lt_items-b.
IF lt_items-c GE '20' AND lt_items-c LE '39'.
ls_item-vendor_no = lt_items-d.
ELSEIF lt_items-c GE '0' AND lt_items-c LE '19'.
ls_item-customer = lt_items-d.
ELSEIF lt_items-c EQ '70' AND lt_items-c EQ '75'.
ls_item-asset = lt_items-d.
ELSE.
ls_item-gl_account = lt_items-d.
ENDIF.
ls_item-asset_type = lt_items-m. "lt_items-l.
ls_item-trans_type = lt_items-n. "lt_items-m.
ls_item-print_flag = ''.
ls_item-item_text = lt_items-j. "lt_items-i.
ls_item-comp_code = lt_items-b. "lt_items-a.
ls_item-bus_area = ''.
ls_item-alloc_nmbr = lt_items-l. "lt_items-k.
ls_item-tax_code = lt_items-q. "lt_items-p.
ls_item-taxjurcode = lt_items-r. "lt_items-q.
ls_item-profit_ctr = lt_items-g. "lt_items-f.
ls_item-costcenter = lt_items-h. "lt_items-g.
ls_item-orderid = lt_items-ac. "lt_items-ab.
ls_item-wbs = lt_items-i. "lt_items-h.
ls_item-trade_id = lt_items-o. "lt_items-n.
ls_item-part_prctr = lt_items-p. "lt_items-o.
ls_item-material = lt_items-t. "lt_items-s.
ls_item-salesorg = lt_items-aa. "lt_items-z.
ls_item-distr_chan = lt_items-ab. "lt_items-aa.
ls_item-pmnttrms = ''.
ls_item-pmtmthd = ''.
ls_item-pmtmthsupl = ''.
ls_item-alt_payee = ''.
REPLACE ALL OCCURRENCES OF '(' IN lt_items-e WITH ''.
REPLACE ALL OCCURRENCES OF ')' IN lt_items-e WITH ''.
ls_item-amt_doccur = lt_items-e. "lt_items-d
REPLACE ALL OCCURRENCES OF '(' IN lt_items-f WITH ''.
REPLACE ALL OCCURRENCES OF ')' IN lt_items-f WITH ''.
ls_item-loc_amt = lt_items-f. "lt_items-e
ls_item-loc = lt_items-k. "lt_items-j.
ls_item-sas_revtype = lt_items-s. "lt_items-r.
ls_item-rev_type = lt_items-u. "lt_items-t.
ls_item-rev_chnl = lt_items-v. "lt_items-u.
ls_item-bill_to = lt_items-x. "lt_items-w.
ls_item-payer = lt_items-z. "lt_items-y.
ls_item-ship_to = lt_items-y.
ls_item-tax_amnt = lt_items-x.
ls_item-func_area = ''.
ls_item-expend_date = lt_items-ae. "lt_items-ad.
ls_item-wtax_code = lt_items-af. "lt_items-ae.
ls_item-wtax_base = lt_items-ag. "lt_items-af.
ls_item-wtax_amount = lt_items-ah. "lt_items-ag.
ls_item-payment_block = ''.
ls_item-grp_amt = ''.
ls_item-anc_amt = ''.
ls_item-permit_payee = ''.
ls_item-value_date = ''.
ls_item-pernr = ''.
ls_item-legacy1 = ''.
ls_item-legacy2 = ''.
ls_item-legacy3 = ''.
ls_item-legacy4 = ''.
ls_item-legacy5 = ''.
ls_item-legacy6 = ''.
ls_item-legacy7 = ''.
ls_item-legacy8 = ''.
ls_item-legacy9 = ''.
ls_item-legacy10 = ''.
ls_item-eor = 'X'.
TRANSLATE lt_items-ai TO UPPER CASE.
TRANSLATE lt_items-b TO UPPER CASE.
TRANSLATE lt_items-a TO UPPER CASE.
TRANSLATE lt_items-aj TO UPPER CASE.
IF l_current_curr <> lt_items-a "lt_items-ai
OR l_current_postdate <> ls_header-pstng_date "lt_items-aj
OR l_current_compcode <> lt_items-b.
l_current_curr = lt_items-a.
l_current_postdate = ls_header-pstng_date. "lt_items-aj.
l_current_compcode = lt_items-b.
ls_header-comp_code = l_current_compcode.
ls_header-currency = l_current_curr.
ls_header-pstng_date = l_current_postdate.
ls_header-doc_date = l_current_postdate.
TRANSFER ls_header TO p_unixfilename.
l_line_count = l_line_count + 1.
ENDIF.
TRANSFER ls_item TO p_unixfilename.
l_line_count = l_line_count + 1.
ENDLOOP.
ls_trailer-rec_type = 'T'.
ls_trailer-rec_count = l_line_count.
TRANSFER ls_trailer TO p_unixfilename.
CLOSE DATASET p_unixfilename.
* change the format to fixed format for the remainder of the load program
p_fixed = 'X'.
p_rstmnt = ''.
Thanks,
Koushik -
Dynamically populated dropdown values are missing when instances are added
HI Team
I have a subform which is repeatable have a drop down as one of the field which is dynamically populated from the web service call(short lived process) from the DB.On initialize event of the subform the data connection is executed .Dropown is populated with the values but when an instance of subform is added the dropdown values are missing.
Only in the first instance of a subform dropdown values are showing up , when instances of subform is added the drop down values are missing.
Please let me how can i solve this issue,
Thanks in Advance
BharathiI've tried this option by adding some value (hard-coded) during initialize event of the subform and all values are populated in the newly added instances as well.
Not sure why it's not working for you.. Can you try adding some sample values without calling web service and confirm if it's working? -
UpdateException mandatory value is missing
Hi Experts,
i have a strange problem. I try to update an existing object, but the following error is shown:
Failed SetCustomerAvailable: com.sap.caf.rt.exception.CAFUpdateException: Mandatory attribute CustomerAvailable value is missing:
CustomerAvailable is a Attribute of my Business Object (Cardinality 1..1) i try to update the field with:
CustomerService cs = this.getCustomerService();
Customer customer = null;
try {
customer = cs.read(CusomerID);
customer.setCustomerAvailable(true);
cs.update(cusomer);
} catch .....
Thank for HelpWorkaround is to set the attribute not be mandatory (Cardinality 0..1).
Is this a bug or intention? -
Hi Gurus,
After a complete Domestic Sales process, RG1 register should be updated with quantity and value for goods removal from factory . In standard after updating ,extracting and retrieving the final report it is being noticed that value is not getting updated , only quantity is getting updated. Kindly let me know if i have missed any configuration for the value updation or else let me know the correct process to get the value updated.Sumit Ghosh
Please note, as the query raised by you is related to CIN, therefore, we are moving discussion from SAP ERP Sales and Distribution (SAP SD) to Internationalization and Unicode
Use Internationalization and Unicode for CIN queries or information sharing. -
BS- Adapter Specific Identifies - Logical System: value is missing
Hi,
I've created a simple scenario in which idoc is being received in ECC (by idoc receiver). my communication channel (i.e., soapSender) is part of my INTEGRATION_SERVER business system. i checked, for the relevant business system the Adapter Specific Identifies -> Logical System values and it was missing. therefore, i had to update the correlated technical system definition (at SLD) and updated required value (i.e., logical system). somehow the value is still missing when i re-check the business system (at Integration Builder).
i took the following actions:
1. delete and re-import BS from SLD.
2. re-start xI
and nothing was changed.
What can be done?
Regards,
UriHi Uri,
>Indeed, the LS was not exits
I do not 100% understand your statement. Plz check AGAIN (in SLD) if the logical system name is still there.
My suspect was that a ABAP job (you can look to it in RZ70) is overwriting the technical system.
Regards,
Udo -
Posted depreciation value is missing in Tax dep area
Hi
I have an asset where depreciation values (posted ) is missing from Tax depreciation area.Its ( posted values dep) there in Book depreciation .It's also there in planned values of tax depreciation areas.Do I have to run ASKB to put it (posted ) in tax depreciation area ?
Thanks
SAPUSerHi Murali
Thanks for your analysis. My answer to your questions are in italic.Kindly suggest what I am missing here ?
Thanks
Sapuser
lease check transaction OAYR for Tax Depreciation area and analyze how the system has been configured for posting rule. For example if the tax depreciation area is configured annual, the depreciation will get posted once a year and so.
I have checked OAYR for tax depreciation area and it has posting rules Monthly.
Have you checked the other assets, is the problem with only one particular assets or all the assets?
Only this asset.
If the issue is only with a particular asset, does it give depreciation values in planned depreciation?
Yes , In planned Tab it has values.
Can you check the depreciation key settings for tax depreciation area in asset master?
It is MSTL for Tax, and LINR for 01.
Hope above will certainly help you to proceed with investigattion, if you send your reply may be some one pick up further to analyze the issue. -
Dear All,
We are selling the material thru Sales BoM. For the same we have maintained Item Cat Grp ERLA & LUMF in material master.
Druing RG1 updation the Qty is getting updated but not the value for the Sub Items. Can one guide how to updated the values for Sale BoM material.
Thanks in advance.
Regards,
MahendraHere you are using- ERLA which means pricing carried out at main item level-
RG1 will update the qtty from GI doc & Value from Excise Invoice ( which will flow from Invoice) -
So, in main item level pricing - value will not get updated in RG1-
I guess Qtty also should not get updated, as GI document will trigger only for main item, but not for subitems-
( because PGI will happen for only Main Item) -
Predict / fill in values for missing values
Hi,
We have some readings taken for each patient for every month for the complete year. If there are any points missing for a patient for certain month, is there any function or something that Oracle provides to fill in for this point. We know that SAS has such function. Could you please let me know if Oracle has such facility? Thanks,
LakshmiHi Lakshmi,
Oracle offers a number of linear regression methods. (I think as of version 9i)
Maybe you should have a look at them :
REGR_SLOPE returns the slope of the line. The return value is a number and can be null. After the elimination of null (expr1, expr2) pairs, it makes the following computation:
COVAR_POP(expr1, expr2) / VAR_POP(expr2)
REGR_INTERCEPT returns the y-intercept of the regression line. The return value is a number and can be null. After the elimination of null (expr1, expr2) pairs, it makes the following computation:
AVG(expr1) - REGR_SLOPE(expr1, expr2) * AVG(expr2)
REGR_COUNT returns an integer that is the number of non-null number pairs used to fit the regression line.
REGR_R2 returns the coefficient of determination (also called "R-squared" or "goodness of fit") for the regression. The return value is a number and can be null.
REGR_AVGX evaluates the average of the independent variable (expr2) of the regression line. It makes the following computation after the elimination of null (expr1, expr2) pairs:
AVG(expr2)
REGR_AVGY evaluates the average of the dependent variable (expr1) of the regression line. It makes the following computation after the elimination of null (expr1, expr2) pairs:
AVG(expr1)
REGR_SXX makes the following computation after the elimination of null (expr1, expr2) pairs:
REGR_COUNT(expr1, expr2) * VAR_POP(expr2)
REGR_SYY makes the following computation after the elimination of null (expr1, expr2) pairs:
REGR_COUNT(expr1, expr2) * VAR_POP(expr1)
REGR_SXY makes the following computation after the elimination of null (expr1, expr2) pairs:
REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2)
REGR_SXY, REGR_SXX, REGR_SYY are auxiliary functions that are used to compute various diagnostic statistics.
Best Regards,
Kris -
Thiefs! Field Value is missing.
Hello,
I have a RFC -> XI -> Email Szenario and built a function modul in SAP
to test the RFC. But SXMB_MONI don't receive all field values or the values
are in wrong fields. First I thought my mapping is crashed, but the it seems
the RFC delivers wrong information. In Moni the payload looks like this
<i>
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Z_RFC_CALL_XI xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
- <GS_REASON>
<REASON1>Reason1</REASON1>
<REASON2>Reason3</REASON2>
<REASON3 />
<REASON4 />
</GS_REASON>
..</i>
In RFC I filled it like this:
<i>
<REASON1>Reason1</REASON1>
<REASON2>Reason2</REASON2>
<REASON3>Reason2</REASON3>
<REASON4>Reason2</REASON4>
</i>
So what happend? The result screen of my RFC tells me that all
fields were filled and send successfully.
How can I debug this?
thanks
chrisNo, but I can only see the payload after my first mapping and not the stuff direct send from SAP. But it is only a 1:1-mapping to an abstract interface.
The payload there is crashed. Interessting is that my RFC function moduls
uses structures and tables which are send to XI, but only the structures
with the field MANDT are wrong.
Example:
<i>
GS_SC_DATA>
<MANDT>001</MANDT>
<ISOSID>0715-2006-0000000173 GO</ISOSID>
<ACTION />
<TYPE />
<SID>OTN20DT113083 USRI32365 0</SID>
<DEVNAME>TEXTTEXTEXT</DEVNAME>
<USERID />
</i>
The ISOSID should look like <ISOSID>LI20715-2006-0000000173</ISOSID> so the first three character of the field MANDT are missing in next field and so on.
Tables (even with MANDT field) are transfered correct like this dummy values:
- <GT_SERVICE>
- <item>
<MANDT>444</MANDT>
<ISOSID>444</ISOSID>
<ITEM_COUNT>444</ITEM_COUNT>
<SERVICECODE>444</SERVICECODE>
<SERV_CLUSTER>444</SERV_CLUSTER>
<SERVICE>444</SERVICE>
<SERVICEOPTION>444</SERVICEOPTION>
<SERVICEOWNER>444</SERVICEOWNER>
<COUNTRY>444</COUNTRY>
<BU>444</BU>
<PRICE>444</PRICE>
<PRICEUNIT>444</PRICEUNIT>
<LOCATION>444</LOCATION>
</item>
</GT_SERVICE>
It really looks like a bug -
Sql to fetch values for missing records.
Hi All,
I'm working on oracle 10gR2.I'm having trouble writing a query for the below and I know you genious guys can help me.
I have the below table data.
The data is read as....for Name R-VA013SC between from_m 0 and to_m 0.5 the average daily value is 30 and volume is 34 for the year 1929.
similarly next record for Name R-VA013SC between from_m 0 and to_m 0.5 the average daily value is 40 and volume is 43 for the year 2001.
"NAME" | "FROM_M"|"TO_M"|"DATA_DATE"|"ADT""VOLUME"
"R-VA013SC" | 0 |0.05 | *01-JAN-29......|* 30 | 34
"R-VA013SC" | 0 |0.05 | *12-SEP-01..*....| 40 | 43
"R-VA013SC" | 0 |0.05 | *14-JAN-08.......|* 20 | 15
if you notice above, there are data missing for years from 1930 to 2000, the daily average and volume is assumed to be the previously available year, for example for the year 2000, we need to have a record with the data for 1929 with the current date like
"R-VA013SC" | 0 |0.05 | *01-JAN-00.....|* 30 | 34
for the year 2005 , the data has to copied from 2001 like .
"R-VA013SC" | 0 |0.05 | *12-SEP-05*......| 40 | 43
for the year 2009, the value has to be fetched from the previously available year ie 2008 like
"R-VA013SC" | 0 |0.05 | *14-JAN-09*.......| 20 | 15.
I aslo need to write a query to find the average values between 2 years,
like if someone asks for the average volume adt ADT between 2000 and 2005, I need to find the average of the same
like ... add the averages for 2000-2005/no of years requested(5).
Appreciate all your help!
Thanks in advance
HHi,
user32322435 wrote:
Thanks again..
Here is the table data
ID NAME FROM_M TO_M ADT VOLUME DATA_DATE
2055801 SC-723N 0 0.05 30 34 01/01/1929
2055801 SC-723N 0 0.05 40 43 09/12/2001
2055801 SC-723N 0 0.05 20 15 01/14/2008I'm considering the following
start date ='1999-07-01'
end date ='2003-07-01'
end_date-start_date = 1461
So,
days considered in 1999 is 184 *adt for 1999 is 30 = 5520
days considered in 2000 is *366(leap year)* *adt for 2000 is 30 = 10980
days considered in 2001 is 365 *adt for 2001 is 40 = 14600
days considered in 2002 is 365 *adt for 2001is 40 = 14600
days considered in 2003 is 184 *adt for 2003 is 40= 7360January 1 through July 1, 2010 is only 182 days, isn't it? That would make the total for 2003 = 7280 (net loss of 80).
>
5520+10980+14600+14600+7360 = 53060/no of days taken into account (1461)July 1, 1999 through July 1, 2003 inclusive is 1462 days, right? 4 * 365 = 1460, plus one February 29th, plus an extra July 1st.
Expected ADT 53060/1461 =*36.31* With the corrections mentioned above, that's 52980 / 1462 = 36.23 (rounded).
......very sorry about the 38.01 . I missed something earlier.
(select to_date('2003-07-01','YYYY-MM-DD') - to_date('1999-07-01','YYYY-MM-DD') from dual;) = 1461That's the number of days between the two. You have to add 1 if both endpoints are to be included.
1999-07-01 through 1999-07-01 is 1 day, but the difference is 0.
select to_date('1999-12-31','YYYY-MM-DD') - to_date('1999-07-01','YYYY-MM-DD') +1 from dual; = 184Now I understand!
Until this message I had no idea that you wanted data_date rounded down to the beginning of the year, no matter how late in the year it actually is.
In that case, replace data_date in the sub-query with TRUNC (data_date, 'YEAR'), and the previous query will do what you requested:
WITH params AS
SELECT DATE '1999-07-01' AS begin_date
, DATE '2003-07-01' + 1 AS end_date
FROM dual
, got_next_data_date AS
SELECT id
-- , data_date -- REPLACED WITH FOLLOWING LINE
, TRUNC (data_date, 'YEAR') AS data_date
, adt
, LEAD (
-- data_date -- REPLACED WITH FOLLOWING LINE
TRUNC (data_date, 'YEAR')
, 1
, DATE '9999-12-31'
) OVER ( PARTITION BY id
ORDER BY data_date
) AS next_data_date
FROM table_test
SELECT n.id
, SUM ( n.adt
* ( LEAST ( next_data_date
, p.end_date
- GREATEST ( n.data_date
, p.begin_date
) / (p.end_date - p.begin_date) AS avg_adt
FROM got_next_data_date n
JOIN params p ON n.data_date <= p.end_date
AND p.begin_date <= n.next_data_date
GROUP BY id
;Of course, you don't need the lines marked "REPLACED WITH FOLLOWING LINE". I left them there in case you were wondering how the query had changed.
I also used id, instead of name, for GROUPing and PARTIONing, since that seems to reflect your posting. If one is functionally dependent on the other, then it doesn't matter which one you use.
... our expectation for select * from new view should be some thing like ...for those missing year the dates can be defaulted to 01_JAN. the available years are spaced just to differentiate
ID NAME FROM_M TO_M ADT VOLUME DATA_DATE
2055801 SC-723N 0 0.05 40 43 01/01/1999
2055801 SC-723N 0 0.05 40 43 01/01/2000
2055801 SC-723N 0 0.05 40 43 09/12/2001
2055801 SC-723N 0 0.05 20 15 01/01/2002
2055801 SC-723N 0 0.05 20 15 01/01/2003
2055801 SC-723N 0 0.05 20 15 01/01/2004
2055801 SC-723N 0 0.05 20 15 01/01/2005
2055801 SC-723N 0 0.05 20 15 01/01/2004
2055801 SC-723N 0 0.05 20 15 01/01/2005
2055801 SC-723N 0 0.05 20 15 01/01/2006
2055801 SC-723N 0 0.05 20 15 01/01/2007
2055801 SC-723N 0 0.05 20 15 01/14/2008
2055801 SC-723N 0 0.05 20 15 01/01/2009
This does what you requested.
It includes all years from the earliest data_date through either (a) the last data_date, or (b) the current year, whichever is later.
CREATE OR REPLACE VIEW yearly_view
AS
WITH got_years_in_effect AS
SELECT id, name, from_m, to_m, adt, volume, data_date
, MONTHS_BETWEEN ( LEAD ( TRUNC (data_date, 'YEAR')
, 1
, ADD_MONTHS ( TRUNC (SYSDATE, 'YEAR')
, 12
) OVER ( PARTITION BY id
ORDER BY data_date
, TRUNC (data_date, 'YEAR')
) / 12 AS years_in_effect
FROM table_test
, cntr AS
SELECT LEVEL AS n
FROM (
SELECT MAX (years_in_effect) AS max_years
FROM got_years_in_effect
CONNECT BY LEVEL <= max_years
SELECT y.id, y.name, y.from_m, y.to_m, y.adt, y.volume
, CASE
WHEN c.n = 1
THEN y.data_date
ELSE ADD_MONTHS ( TRUNC (y.data_date, 'YEAR')
, 12 * (c.n - 1)
END AS data_date
FROM got_years_in_effect y
JOIN cntr c ON c.n <= y.years_in_effect
;
Maybe you are looking for
-
My ipod was disabled by my son entering the wrong pass code. I no longer have the original computer i sync to. I have tried to restore using the instructions sent by Apple Rep, and on these help pages. I get a message from itunes saying that canno
-
Lookup in another list when filtering in a view
Hello, I need help with a public view for a list. This is my filter now: <View Name="{F9165834-6860-4EB5-A7FE-D96CE334DF70}" Type="HTML" DisplayName="My group - not assigned" Url="/sites/RomaniaL1SD/Lists/Opened tickets/My group not assigned.aspx" Le
-
SAP Business Connector with Java (material master data)
Hey, I have a question about the SAP BC. What are the steps I have to do, to use the BC with a Java program? My task is to create a program which downloads material master datas from SAP. I just installed the BC, and hope, that I did it correctly Man
-
I Have a iphone 5 and was wondering if there is a way i can get my music to automatically play again after watching a video or something that requires audio
-
SQL LDR Control file date format
Hi All I need to Insert date with time using sqlldr. In my data file am getting date value as 20110103 10:27:44. In control file am doing like this creation_date "decode(:creation_date, 'null', null, 0,null,to_date(:creation_date, 'YYYYMMDD HH24:MI:S