Getting problem in using TcodeTBB7
Hi ,
When I use TCODE TBB7 for compnay code 2750 then it's not showing valuation price . If I run it combindly with other company code then it's showing the valuation price company code 2750 .If I run other compnay codes seperately for them it's showing valuation price.Only I am facing this problem with company code 2750.Can anybody please tell me the solution of it.
Try transaction TPM1 instead of TBB7. I'm not sure what version you are on, but in ERP2005 we get a message stating that TBB7 is no longer supported and to use TPM1. I hope this helps.
- April King
Similar Messages
-
Getting problem while using adf.current date
Hi,
In my ADF application where i am using ADF business components I will be having two fields :
"*creation date*" and "*last updated date*"
In my view.xml file for creation date and last updated date i have set default value as : "*adf.currentDate*"
And in updatable option:
for creation field i have set "*never*"
for last updated date i have set "*always*"
The problem i am facing is:
In my database i am getting the value for both the dates whenever i add any record but when i am updating some records the last updated date remains same instead of getting updated.
Please provide some help on this.
Thanks in advance.Hi,
I used your code like this and it is working
public static void main(String[] args) throws IOException {
String members = "this is \n and now i m using \t this is the time to use \r";
String regex = "/\n|\t|\r|,/";
String [] memberUsers = members.split(regex);
for(int i=0;i<memberUsers.length;i++)
System.out.println(memberUsers);
and it is producing o/p like
this is
and now i m using
this is the time to use -
Problem in using COLLECT statment
Hi experts,
getting problem in using COLLECT statement. attaching my code below.
LOOP AT it_final1 INTO wa_final1.
LOOP AT it_final INTO wa_final WHERE vagrp = wa_final1-vagrp AND verwmerkm = wa_final1-verwmerkm.
wa_final1-anzwertg = wa_final-anzwertg.
COLLECT wa_final1 INTO it_final1.
ENDLOOP.
CLEAR: wa_final1, wa_final.
ENDLOOP.
here , i want to use collect statement only for "anzwertg" field from internal table. but 2 more fields also getting compressed .
attaching screen shot
here, original_input and max fields also getting compressed.
could anybody please help me out in this.
Thanks in advance.
Regards
satishHi satish....
collect statement works based on char fields..
by default it will taken char fields as a key fields .........
if any char field is repeated then corresponding numc values will be added....
other wise it will act as a APPEND statement......
Here in ur code there is no char field then how it will caliculate that values...
just check it once..
Regards,
Vamsi.... -
Firefox gets problems when 2,7 GB of memory is used by Firefox
Firefox gets problems when 2,7 GB of memory is used by Firefox. Or more. Like 2,8 GB.
It started when I read jpost.com with tens of tabs open. I don't remember how many. But I know there was more than 40.
On the tab I that I was reading, the page turned completely black. Pitch black with nothing else, not even the Firefox interface. It was actually a pitch black shape that looked like a web page in shape. The blackness quickly disappeared and the page was normally readable again. But then it happened again - the page turned black again.
The same page turns black happened again later.
One of my browsing sessions had Firefox slow down so much that you could see scrolling happening when I used scrolling.
Still another time I had 60 tabs open and Firefox worked completely fine without freezes, slowdowns, or black shapes. I could close Firefox by just pressing the red X in the title bar.
Yesterday, I had 50 tabs open and I experienced a slowdown when I looked at the Breaking News headlines. The headlines would show slower than usual. The Breaking News headlines at jpost.com show the headlines a few words at a time until the headline is completely shown. Then the headline disappears and the next starts showing a few words at a time. And speed in general was not what you normally have with a computer that has 8 GB of memory. And a Core i5 processor. I opened two more tabs from the Breaking News section I had opened. After I opened a new window, Firefox froze. I had to close Firefox from the Task Manager by pressing End process. I had used Firefox for 6 hours without ever closing any of the tabs I had opened.
In all of these cases, more than 40 tabs were open. In all of these cases, the slow down or freeze meant I had to use Task Manager and then press End process on the Processes tab. In all cases except the two I describe in the next paragraph, I never close any tabs after opening them. No problems have ever happened until Firefox started using 2,7 GB of memory. Until that point, everything is normal with no freezes or slowdowns.
At two times, I tried to reduce memory usage by closing tabs. However, in both cases this would make Firefox freeze. In one of these cases, Firefox would show something bizarre: there would be about 7 tabs, and one of the tabs would be partly shown. Also, Firefox would show the busy cursor. Firefox did not show how many tabs I actually had. The second time, I tried to close the tabs by clicking Close other tabs in the menu that you get when right-click a tab. The tabs would close fine, but I remember that I opened Gmail and then I did this: I clicked on the Promotions tab. Instead of seeing the tab with the Emails, Firefox showed a busy cursor and the title bar said not responding. Firefox froze.
The reason might be Adblock Plus memory usage. In Adblock Plus home page, developer Wladimir Palant writes in his blog about how Adblock Plus uses a lot of memory: https://adblockplus.org/blog/on-the-adblock-plus-memory-consumption .One more bit of information: I have a Geforce 640 GT graphics card. My graphics card drivers are old- version 311.41. The newest version of the drivers is 340.52. Would a new graphics card driver solve the problem?
-
i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..
The warranty for the iPhone is not and has never been International.
Warranty and support are ONLY valid in the country of origin. The only exception is the EU where the entire EU is treated as one country.
If the device will be used in India, buy it in India.
An unlocked iPhone will work on any supported GSM carrier world wide. The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries. -
Problem in getting EXCEL data using I_OI_SPREADSHEET
Hello All,
My requirement is to read data from Excel document having multiple worksheets. I am successful in getting all worksheets in the excel using the method spreadsheet->select_sheet.
Now I face problems while using spreadsheet_get_ranges_data. I dont have any range to select from the worksheets. When my program executes contents internal table which is importing paramater from get_ranges_data method is not getting me data from EXCEL.
Can you please give me hint or solution to solve this issue.
Best Regards,
Krishna
[email protected]Hello Norman,
Thanks for your response. But the solution is not really working for my case.
Step1: call class method spreadsheet->select_sheet
Step2: call class method spreadsheet->get_active_sheet
Step3: call class method i_oi_document_proxy->select_all
Step4: call class method spreadsheet->get_selection
Step5: Call class method spreadsheet->insert_range_dim
passing parameters selected from step 2.
But the problem is parameters (top,left,rows,columns) values supplied in step 3 is not giving me correct rows,columns that is in my EXCEL worksheet.
I have 3 rows and 3 columns, but I get 1 row and 1 column and 26 as top.
Let me know whether I am doing anything wrong in my calls to class?!.
Best Regards,
Nagendra Krishna
[email protected] -
Using Window 8 Pro with IE 10 but facing tremendous problem in LAN settings. Every 5 minutes, it automatically gets clicked on "Use a Proxy Server for the LAN" and am unable to open any page unless the said setting is unclicked. The same applies
while using Chrome or Firefox browsers.... none of the browsers behave properly and have to repeatedly unclick on proxy server settings (in IE or Chrome) and change settings on Firefox.
Any suggestions to get rid of this problem...??? ThanksHi,
It seemed that some malware changed your registry which make proxy server enabled.
Did you install any proxy agent software recently? If you did, please try uninstalling it now. And then make a full scan
with malware removal tool.
http://www.microsoft.com/security/pc-security/malware-removal.aspx
Or locate to registry,
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings, set "ProxyEnable" = dword:00000000.
For more information, you can refer to
http://support.microsoft.com/kb/819961
Andy Altmann
TechNet Community Support -
Hi, I have tried to restore settings on my Iphone due to problems I was having with the phone cutting out when talking on the phone, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone.
Hi jclarke64,
Thank you for contributing to the Apple Support Communities.
I'm sorry to hear that your iPhone 4s was lost, and glad that you were able to upgrade.
If your iPhone 4s was backed up to iCloud or using iTunes, you can restore the backed up data to your new phone.
See the steps in this article for help with restoring from a backup:
Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
All the best,
Jeremy -
My Airport TM will not backup and i keep getting the error msg "Time Machine couldn’t complete the backup...An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk."
My Airport TM will not backup and i keep getting the error msg "Time Machine couldn’t complete the backup...An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk."
-
I using mozilla firefox so long times but it just get problem today because i can't type in english words but i can type in thai and some buttons is not english but it's other alphbets that i can't read and it's happening with yahoo and friendster and not sure for other website
== today ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)Same problem with the mouse, but with the mouse I can leave the cursor in place in the text field and move to the keyboard to type. As long as the cursor is in the field it stays editable.
The problem with the pen is it's in my hand all of the time. I just flip it up under my thumb against my palm to type. So, as soon as I move the pen, the field goes away and I can't type in it. Hoping this is making sense.
My tablet does have the touch function too, and I just found out I can use my finger to tap in the text field, then type. I guess that'll be my solution since I prefer not to leave a mouse set up on this iMac.
I'm thinking now that this is just a problem with the pen itself, and nothing to do with iPhoto. So glad to have this figured out! I really like iPhoto '11! So much easier for me, a simple P&S gal, than Aperture 3. I use iPhoto Library Manager too and love it!
Thanks so much! Debbie -
when i'm useing my ipod and i'm useing the instagram app. I feel my ipod starting to get really hot. i am also having problems useing app and them all a sudden closing on me and ipod will return to the home screen
It is not unusual for the to get worm when using some apps.
For the app problem see:
iOS: Troubleshooting applications purchased from the App Store -
I can't get oracle MajorVersion using jdbc in 9.2.0.1.0,how can i do and how many oracl version can't get MajorVersion?
thanks,erveryone! online waitingWhat errors are you getting? Can you post the codew you are using to get MajorVersion.
-
Getting dump when using do_sum in alv field cat in the output of the report
Dear Freinds,
Iam getting the alv report when i click on the segma field (Sum) on my salary
field iam getting dump. and also if i try to print my alv output iam getting dump , only
happening to my custom report.
i have used the following code pleae correct me .
This perform is used for Layout settings
perform st_layout_build using gs_layout.
form st_layout_build using st_ls_layout type slis_layout_alv.
st_ls_layout-no_input = 'X'.
st_ls_layout-colwidth_optimize = 'X'.
st_ls_layout-zebra = 'X'.
st_ls_layout-detail_popup = 'X'.
endform. " st_layout_build
Field Catalog details
perform st_fieldcat_init changing gt_fieldcat.
form st_fieldcat_init changing fp_i_fieldcat type slis_t_fieldcat_alv.
clear ls_fieldcat.
ls_fieldcat-col_pos = 1.
ls_fieldcat-fieldname = 'ORGUNIT'.
ls_fieldcat-seltext_l = 'Orgunit'.
ls_fieldcat-no_out = 'X'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 2.
ls_fieldcat-fieldname = 'ORGTEXT'.
ls_fieldcat-seltext_l = 'Orgdesc'.
ls_fieldcat-no_out = 'X'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-fieldname = 'SALARY'.
ls_fieldcat-seltext_l = 'Salary'.
ls_fieldcat-col_pos = 3.
ls_fieldcat-outputlen = 15.
ls_fieldcat-do_sum = 'X'.
ls_fieldcat-datatype = 'CURR'. "CURR
append ls_fieldcat to fp_i_fieldcat.
endform.
Variant
perform st_variant_init using gs_variant g_repid.
form st_variant_init using st_gs_variant type disvariant
st_repid like sy-repid.
clear st_gs_variant.
st_gs_variant-report = st_repid.
endform. " st_variant_init
g_repid = sy-repid.
perform st_comment_build using gt_list_top_of_page[].
form st_comment_build using st_lt_top_of_page type slis_t_listheader.
data: ls_line type slis_listheader.
Listenüberschrift: Typ H
clear ls_line.
ls_line-typ = 'H'.
LS_LINE-KEY: not used for this type
ls_line-info = text-000.
append ls_line to st_lt_top_of_page.
endform. " st_comment_build
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_buffer_active = 'X'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_callback_program = g_repid
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
i_structure_name = 'i_final' "c_i_final "'objec'
i_save = g_save
is_variant = gs_variant
tables
t_outtab = fp_i_pyrol_final
exceptions
program_error = 1
others = 2.
if sy-subrc ne 0.
message e018. " Displaying the ALV GRID has failed
endif.
Please could any one let me know why iam getting dump when iam clicking for total
on my salary field.
Regards
lathaDear Chandu,
my code iam giving in details
types : begin of ty_output_data,
staffno type pernr_d,
staffname type emnam,
grade type stell,
orgunit type orgeh,
orgtext type hr_mcstext,
psgroup type trfgr, " Pay Scale Group
salary type maxbt, "PAD_AMT7S,
rrefunded type pad_amt7s,
leavepay type pad_amt7s,
mshortfal type pad_amt7s, " Medical Shortfall
echkshfal type pad_amt7s, " Execute checkup shortfall
ofindeduc type pad_amt7s, " Other Finance Deduction
mtyprem type pad_amt7s, " maternity premium
vpbonus type pad_amt7s, " VP/Bonus
gratuity type pad_amt7s, " Gratuity
vpay type pad_amt7s, " Variable pay
mallowance type pad_amt7s, " Meal Allowance
overtime type pad_amt7s, " overtime
other type pad_amt7s, " OTHER
pfundeecon type pad_amt7s, " PFund Employee's Contribution
banktrnsfer type pad_amt7s, " Bank Transfer
count type i,
end of ty_output_data.
data : i_final type standard table of ty_output_data.
iam getting all my data in the internal table I_FINAL.
perform get_final_alv using i_final.
form get_final_alv using fp_i_pyrol_final type ty_t_output_data.
*local variable declarations
data : l_v_idx type sy-tabix.
*local work areas
data : l_wa_final type ty_output_data.
g_save = 'A'.
This perform is used for Layout settings
perform st_layout_build using gs_layout.
Field Catalog details
perform st_fieldcat_init changing gt_fieldcat.
Variant
perform st_variant_init using gs_variant g_repid.
g_repid = sy-repid.
perform st_comment_build using gt_list_top_of_page[].
if not fp_i_pyrol_final is initial.
delete adjacent duplicates from fp_i_pyrol_final comparing all fields.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_buffer_active = 'X'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_callback_program = g_repid
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
i_structure_name = 'i_final' "c_i_final "'objec'
i_save = g_save
is_variant = gs_variant
tables
t_outtab = fp_i_pyrol_final
exceptions
program_error = 1
others = 2.
if sy-subrc ne 0.
message e018. " Displaying the ALV GRID has failed
endif.
endif.
endform. " get_final_alv
form st_layout_build using st_ls_layout type slis_layout_alv.
st_ls_layout-no_input = 'X'.
st_ls_layout-colwidth_optimize = 'X'.
st_ls_layout-zebra = 'X'.
st_ls_layout-detail_popup = 'X'.
endform. " st_layout_build
form st_fieldcat_init changing fp_i_fieldcat type slis_t_fieldcat_alv.
data: ls_fieldcat type slis_fieldcat_alv.
clear ls_fieldcat.
ls_fieldcat-col_pos = 1.
ls_fieldcat-fieldname = 'ORGUNIT'.
ls_fieldcat-seltext_l = 'Orgunit'.
ls_fieldcat-no_out = 'X'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 2.
ls_fieldcat-fieldname = 'ORGTEXT'.
ls_fieldcat-seltext_l = 'Orgdesc'.
ls_fieldcat-no_out = 'X'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 5.
ls_fieldcat-fieldname = 'STAFFNAME'.
ls_fieldcat-no_out = 'X'.
ls_fieldcat-seltext_l = 'StaffName'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 4.
ls_fieldcat-fieldname = 'STAFFNO'.
ls_fieldcat-no_out = 'X'.
ls_fieldcat-seltext_l = 'StaffNo.'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 6.
ls_fieldcat-fieldname = 'GRADE'.
ls_fieldcat-seltext_l = 'Grade'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 3.
ls_fieldcat-fieldname = 'COUNT'.
ls_fieldcat-seltext_l = 'Headcount'.
append ls_fieldcat to fp_i_fieldcat.
if the field name is 'Salary' then do a sum on this field.
IF fp_fname = c_betrg.
l_wa_fieldcat-do_sum = c_x.
ENDIF.
NOTE : IAM GETTING PROBLEM IN THE BELOW SALARY.
IAM JUST CHECKING ITSELF NOT ALLOWING ME TO EXECUTE
clear ls_fieldcat.
ls_fieldcat-fieldname = 'SALARY'.
ls_fieldcat-seltext_l = 'Salary'.
ls_fieldcat-col_pos = 7.
ls_fieldcat-outputlen = 20.
ls_fieldcat-do_sum = 'X'.
ls_fieldcat-datatype = 'CURR'. "CURR
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 9.
ls_fieldcat-fieldname = 'LEAVEPAY'.
ls_fieldcat-seltext_l = 'Leave Pay'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 10.
ls_fieldcat-fieldname = 'MSHORTFAL'.
ls_fieldcat-seltext_l = 'Med.Sfall'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 11.
ls_fieldcat-fieldname = 'ECHKSHFAL'.
ls_fieldcat-seltext_l = 'EX.Chckup.Sfall'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 12.
ls_fieldcat-fieldname = 'OFINDEDUC'.
ls_fieldcat-seltext_l = 'Oth.Fin.Deduction'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 13.
ls_fieldcat-fieldname = 'MTYPREM'.
ls_fieldcat-seltext_l = 'Mat.Premium'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 14.
ls_fieldcat-fieldname = 'VPBONUS'.
ls_fieldcat-seltext_l = 'VP/Bonus'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 15.
ls_fieldcat-fieldname = 'GRATUITY'.
ls_fieldcat-seltext_l = 'Gratuity'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 16.
ls_fieldcat-fieldname = 'VPAY'.
ls_fieldcat-seltext_l = 'Variable Pay'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 17.
ls_fieldcat-fieldname = 'MALLOWANCE'.
ls_fieldcat-seltext_l = 'Meal.Allowance'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 18.
ls_fieldcat-fieldname = 'OVERTIME'.
ls_fieldcat-seltext_l = 'Overtime'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 19.
ls_fieldcat-fieldname = 'OTHER'.
ls_fieldcat-seltext_l = 'Other'.
append ls_fieldcat to fp_i_fieldcat.
pfundeecon
clear ls_fieldcat.
ls_fieldcat-col_pos = 20.
ls_fieldcat-fieldname = 'P FUND EMPLOYEES CONTRIBUTION'.
ls_fieldcat-seltext_l = 'P.Fund.Emp.Contrib'.
append ls_fieldcat to fp_i_fieldcat.
clear ls_fieldcat.
ls_fieldcat-col_pos = 21.
ls_fieldcat-fieldname = 'BANKTRNSFER'.
ls_fieldcat-seltext_l = 'Payment'.
append ls_fieldcat to fp_i_fieldcat.
endform. " st_fieldcat_init
form st_variant_init using st_gs_variant type disvariant
st_repid like sy-repid.
clear st_gs_variant.
st_gs_variant-report = st_repid.
endform. " st_variant_init
form st_comment_build using st_lt_top_of_page type slis_t_listheader.
data: ls_line type slis_listheader.
Listenüberschrift: Typ H
clear ls_line.
ls_line-typ = 'H'.
LS_LINE-KEY: not used for this type
ls_line-info = text-000.
append ls_line to st_lt_top_of_page.
endform. " st_comment_build
FORM TOP_OF_PAGE *
form top_of_page.
data: l_i_detailheader type slis_t_listheader.
To get the header for ALV
perform detail_header changing l_i_detailheader.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = l_i_detailheader.
endform. "top_of_page
form detail_header changing fp_i_detailheader type slis_t_listheader.
data: l_wa_header type slis_listheader,
l_v_time type slis_edit_mask,
l_v_date type slis_edit_mask,
l_v_abkrs type char5,
l_v_pabrj type char8,
l_v_pagno type char10.
Local Constants
constants: l_c_h type char1 value 'H',
l_c_1 type i value '1',
l_c_edit type char10 value '__.__.____',
l_c_slash type c value '/'. " constant for slash
To display the report Header
l_wa_header-typ = l_c_h.
WRITE sy-repid TO l_wa_header-info LEFT-JUSTIFIED.
write text-014 to l_wa_header-info left-justified.
append l_wa_header to fp_i_detailheader.
clear l_wa_header.
To display the Page no
l_v_pagno = sy-pagno + l_c_1.
l_wa_header-typ = c_s.
l_wa_header-key = text-008. " Page No:
l_wa_header-info = l_v_pagno.
append l_wa_header to fp_i_detailheader.
clear l_wa_header.
To Display the User ID
l_wa_header-typ = c_s.
l_wa_header-key = text-009. " User ID
l_wa_header-info = sy-uname.
append l_wa_header to fp_i_detailheader.
clear l_wa_header.
To Display the Date/Time
l_wa_header-typ = c_s.
l_wa_header-key = text-010. " Date/Time:
l_v_time = sy-uzeit.
l_v_date = sy-datum.
write: sy-uzeit to l_v_time.
write sy-datum to l_v_date using edit mask l_c_edit.
concatenate l_v_date
l_c_slash
l_v_time into l_wa_header-info+0(25) separated by space.
append l_wa_header to fp_i_detailheader.
clear: l_wa_header, l_v_date.
To Display the Report Description
l_wa_header-typ = c_s.
l_wa_header-key = text-011. " Report Description
l_wa_header-info = text-012.
append l_wa_header to fp_i_detailheader.
clear l_wa_header.
append l_wa_header to fp_i_detailheader.
endform. " detail_header
I will be greatful if any one can please help me in removing me the dump.
REGARDS
LATHA. -
Problem in using FM SELECT_TEXT
Hi friends,
I have a problem in using fm SELECT_TEXT.
Here I want to fetch Material PO text in Material master to my report.
I just dont know in which field of table "it_thead" the actual text is available.\
I tried debugging the program but was not successful.
I have also tried using READ_TEXT but it gives an error if no Text exists.
CALL FUNCTION 'SELECT_TEXT'
EXPORTING
client = sy-mandt
object = 'MATERIAL'
name = wrk_matnr
id = 'BEST'
language = sy-langu
TABLES
selections = it_thead.
How do i print the actual MAterial PO text in IT_THEAD ?
hope u understand the question...please do let me know if any details are required from myside..Hi,
My mistake.
Check below sample code.
PARAMETERS: po_matnr TYPE mara-matnr.
DATA: i_lines TYPE STANDARD TABLE OF tline,
wa_lines TYPE tline,
l_matnr TYPE thead-tdname.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = po_matnr
IMPORTING
OUTPUT = po_matnr
MOVE po_matnr TO l_matnr.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
ID = 'BEST'
LANGUAGE = sy-langu
NAME = l_matnr "Pass material with leading zeros
OBJECT = 'MATERIAL'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
LINES = i_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT i_lines INTO wa_lines.
WRITE: /1 wa_lines-tdline.
ENDLOOP.
Just execute this code by inputting ur material number.
If the text doesnot exist the error u r getting because of not commenting the MESSAGE statement after FM call. Try in the way i told above.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Feb 28, 2009 4:36 PM -
Problems in using database link
Hi all,
I have problems in using the following created database link:
Name: fzanalyze
User: fzanalyze
PWD: xxx
Host: fz.domain.com
I get the following error message, if I try to start this select:
select * from tab@fzanalyze;
FEHLER in Zeile 1:
ORA-12154: TNS:Couldn't resolve service name
The problem, the TNS is correct, because I copied the hoststring from the tnsnames.ora. Also I can connect to the database by using the given hostname as follows:
connect fzanalyze/[email protected]
connected
What could be the problem, the I get the tns-Error, although I can connect normal to the database??
Thanks for helping
DanaDana,
Unlike Kamal, I don't use SQLNET anymore (isn't it obsolete from 8i+?), so I don't have any sqlnet.ora on my client or server.
I'm not really a sysop, so no clever thoughts behind the following ideas, I just use these for development purposes at home:
IP range at home = 192.168.x.x segment (another router server connects to the internet)
Oracle server computer name = dbserver.seinpost.nl (local address = 192.168.1.110)
instance entry in $TNS_ADMIN/listener.ora @ server:
(SID_DESC =
(GLOBAL_DBNAME = inst04.seinpost.nl)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(SID_NAME = inst04)
)instance entry in $TNS_ADMIN/tnsnames.ora @ server:
INST04.SEINPOST.NL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.seinpost.nl)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = inst04.seinpost.nl)
)instance entry in tnsnames.ora @ client:
INST04 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 192.168.1.110)
(PORT = 1521)
(CONNECT_DATA =
(SERVICE_NAME = inst04.seinpost.nl)
)So again, no sqlnet.ora and as you can see only on my client I use local IP addresses to prevent my client for searching the internet for the non-existing dbserver.seinpost.nl address
Hope this helps,
Michiel
Maybe you are looking for
-
Hi, I bought this G4 in 2003 and at that time it was the best. Now I want to install USB2 and I have no clue what to do . I called an apple recommended dealer and he says that I can not update and just sell it and by new one. Is there any way to up g
-
Firefox will not open any video's on Yahoo , netflix that is all I tried so far
-
Hi, I have an SDK 7.0.5 plug-in that displays PDFs in my own C# window through COM. When I call AVDocOpenFromASFileWithParams, the control I used to select the file loses focus. After the PDF finishes loading (which can obviously take a while if th
-
Native deployment of JavaFX --- Samples ... Ensemble ?
It would be really nice if Oracle can make available some sample-apps that are made with Native-deployment feature of JavaFX (2.2 ?). The 'ensemble' app is a good example that could be used for this. /rk
-
How to update Bootcamp to 1.1
Hi all, I just downloaded the updated Bootcamp version 1.1. How do I update the bootcamp software, it seems the new version wont load on top of my old one. I just want to burn the CD, so that the camera and the other hardwares will work in bootcamp.