How to use BAPI get out system language as Chinese?
hi, expert,
i use BAPI get R3 sytem data,but BAPI get data as English,i want get R3 system Chinese data.i set language property value ZH in Model porpery,but BAPI always get english data.
how to solve this problem?
thanks
Hi Jun,
has you read the following wiki entries:
<a href="https://wiki.sdn.sap.com/wiki/display/VC/WrongLanguage">https://wiki.sdn.sap.com/wiki/display/VC/WrongLanguage</a>
<a href="https://wiki.sdn.sap.com/wiki/display/VC/LanguageMapping">https://wiki.sdn.sap.com/wiki/display/VC/LanguageMapping</a>
Best Regards,
Marcel
Similar Messages
-
How can i get the system language of machine in script
Hi,
During postinstall, i want to install file based on the system language.
How can i get the system language of machine in script ?
Thanks,Michael Conniff wrote:
I don't get it: what you posted gives a list of all the languages (and I don't see what awk brings to the party).
Hmm. On my laptop the first bit gets me the list of languages as they appear in the listing in the International preferences pane:
(en, de, es, ja, fr, it, nl, sv, nb, da, fi, pt, "zh-Hans", "zh-Hant", ko)
So I piped that to awk to pull out just the first one (they're ordered just like they are in the prefs pane, with the current language first). But that gives me some extra text:
(en,
So I piped that to sed to remove the comma and parenthesis. That gives me the current code, which in my case was "en" (or "de" if I switched the language).
defaults read -g AppleLocale
gives me en_GB. So maybe this last is better for you?
Well, sure, if you want to do it the easy way. But where's the fun in that? Seriously though, I get en_US, which is a more accurate and complete view of my settings...
charlie -
How to use SET & GET Parameters in Module Pool
Hi Friends,
Can anyone please tell how to use SET / GET parameters and PARAMETER ID for a text box (Input / Output field ) in module pool? What is the purpose and where do we need to do coding for it?
Note : I will definitely give the marks for good responses.
Thanks in advance,
PradeepHi Pradeep,
You can save values in the SAP memory using a parameter ID. These
are user and terminal-session specific, but available to all internal and
external sessions.
SET Parameter copies the corresponding field contents into the SAP
System memory in the PAI processing block.
GET Parameter copies the corresponding field contents from the SAP
memory at the end of the PBO processing block, after data has been
transferred from the program, if the screen field still has its initial value
You can link an input/output field to an area of the SAP memory in the
ABAP Dictionary.
When you use an input/output field that is defined in the ABAP
Dictionary, its parameter ID is displayed in the Dictionary attribute
Parameter ID in the Screen Painter.
Usage
SET PARAMETER ID: CAR FIELD space,
CON FIELD space,
DAY FIELD space.
Here is the link that explains the usage of GET/SET in detail
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm</a>
Regards,
Sharadha -
Hi
How to use bapis
BAPI_COMPANYCODE_GET_PERIOD
BAPI_CCODE_GET_FIRSTDAY_PERIOD'
BAPI_GL_ACC_GETPERIODBALANCES'BAPI_COMPANYCODE_GET_PERIOD:
To retrieve the fiscal year variant for a given date u can use the following function module
Retrieve fiscal year and period
The below code shows how to use function modules BAPI_COMPANYCODE_GET_PERIOD and
DETERMINE_PERIOD to retrieve fiscal year and fiscal period for a specific date.
*: Report: ZFISCALYR :
*: Author: www.SAPdev.co.uk :
*: Date : 2004 :
*: Description: Demonstrates how to return the corresponding fiscal :
*: year and posting period for a company code and posting :
*: date or posting date and fiscal year variant. :
REPORT zfiscalyr NO STANDARD PAGE HEADING.
TABLES: ekko.
PARAMETERS: p_bukrs TYPE ekko-bukrs,
p_bedat TYPE ekko-bedat.
DATA: gd_fiscalyr TYPE bapi0002_4-fiscal_year,
gd_fiscalp TYPE bapi0002_4-fiscal_period.
DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
gd_fiscalp2 TYPE bapi0002_4-fiscal_period.
DATA: gd_periv TYPE t009-periv.
*START-OF-SELECTION.
START-OF-SELECTION.
get fiscal year and period - (requires date and company code)
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
companycodeid = p_bukrs
posting_date = p_bedat
IMPORTING
fiscal_year = gd_fiscalyr
fiscal_period = gd_fiscalp.
Alternative fiscal year function module
- (requires date and fiscal year variant code from T009 table)
gets first entry in fiscal year variant table (will need to choose
correct one from table rather than just using first entry)
SELECT SINGLE periv
FROM t009
INTO gd_periv.
get fiscal year and period
CALL FUNCTION 'DETERMINE_PERIOD'
EXPORTING
date = p_bedat
PERIOD_IN = '000'
version = gd_periv
IMPORTING
period = gd_fiscalp2
year = gd_fiscalyr2
EXCEPTIONS
period_in_not_valid = 1
period_not_assigned = 2
version_undefined = 3
OTHERS = 4.************************************************************************
*END-OF-SELECTION.
END-OF-SELECTION.
WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
/ 'Fiscal year is:', gd_fiscalyr,
/ 'Fiscal period is:', gd_fiscalp.
SKIP.
WRITE:/ 'From function module: DETERMINE_PERIOD',
/ 'Fiscal year is:', gd_fiscalyr2,
/ 'Fiscal period is:', gd_fiscalp2.
how to get the fiscal year
BAPI_CCODE_GET_FIRSTDAY_PERIOD:
CALL FUNCTION 'BAPI_CCODE_GET_FIRSTDAY_PERIOD'
EXPORTING
companycodeid = v_bukrs
fiscal_period = marv-lfmon
fiscal_year = marv-lfgja
IMPORTING
first_day_of_period = v_postdate
return = i_return1.
BAPI
function module which could calculate the previous month's start date.....
BAPI_GL_ACC_GETPERIODBALANCES:
Transactions or BAPI for GL account
Please give me reward point... -
How to use BAPI to add a new version for a claim number in WTY transaction.
How to use BAPI to add a new version for a claim number in WTY transaction.
I am using function module " BAPI_WARRANTYCLAIM_ADD_VERSION ".
It needs to copy all contents of previous version to a new version.
While doing so i am unable to copy fields like valic valoc etc. Any ways by which i can copy this values.
WTY will update PNWTYH , PNWTYV and PVWTY tables.
Thanking you,
Lokesh.Hi Vishnu,
You can do that through EEWB. Please go through SAP Note 484597. You would get the details of using Easy Enhancement Work bench.
Rewards point if you think this info is useful
Regards,
Dipender Singh -
How to use bapi response in XI
HI ALL,
Can any one suggest me, how to use bapi response in XI as a sender.
I m using bapi BAPI_BCA_BANKSTATEMENT_EXECUTE , I am executing this bapi manually ,but want to use this BAPI RESPONSE in XI as a sender and map it with receiver.
can i have any idea about how to do it, or can i have the idoc which is used by this bapi BAPI_BCA_BANKSTATEMENT_EXECUTE.
THANX
HONEYHi Honey,
Have a look at these
-Configuring the Sender RFC Adapter - step by step
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
-Troubleshooting - RFC and SOAP scenarios
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
-sender RFC (forum thread)
Is it possible to use the RFC sender adapter for asynchronous calls?
Regards,
Sreenivas -
How to use BAPI with Decision Dialogue
Hi Gurus
would you please let me know how to use BAPI with decision dialogue in guided procedure .
I have a BAPI checking logon credentials for the user . how to use this BAPI for making decisions that is if the logon is correct then perform one process else go to logon screen again .
Thanks in advance
Regards NamitaHi Namita,
1. Follow the steps mentioned in section <a href="http://help.sap.com/saphelp_crm50/helpdata/en/33/198141f906040de10000000a1550b0/frameset.htm">Exposing an RFC-Enabled Function Module as a Callable Object</a> to use the BAPI as a Callable Object.
2. Follow the steps mentioned in tutorial # 93 and 93a in the CAF Tutorial Center for the decision part.
Hope these helps.
Nilay -
How to use BAPI function module for maintaing product type to material
Hi,
Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
for maintaining the product type for the material using change number.
Pts will be rewarded.
Best Regards,
PadhyHi,
Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
for maintaining the product type for the material using change number.
Pts will be rewarded.
Best Regards,
Padhy -
Will you tell me how to use BAPI "L_TO_CREATE_POSTING_CHANGE" ,please?
Is lt06 bapi "L_TO_CREATE_POSTING_CHANGE"?just do a where used list of the FM and see how its used in those programs.
one of the programs where it is used = RLLQ0200
Regards
Raja -
How to use a dictionary for multi languages when displaying mess
how to use a dictionary for multi languages when displaying messages??
1st you have to define new messages in the dictionary:-
1. We have to open the application.
2. Functional administrator responsibility.
3. Core services.
4. Messages.
• Create message button.
• Now fill the name of the message that we want to call it from our code in the Code field.
• Fill the application name with short name of the application.
• Choose the language.
• Set the text you want to be displayed.
2nd, Now in the CO in the in the process form request you will code throw new OAException ("application short name","Code").
Now run and see the result.
3rd we want to use Arabic messages, use the same one you have created for saving as an example but you choose duplicate and set the language Arabic.
• Run the page.
• Choose preferences.
• Current Session language = Arabic.
Now you can see the result. -
How to use getTaskId() method in xpress language.
how to use getTaskId() method in xpress language.
Edited by: negiqueries on Jan 19, 2009 10:37 PMThe API documentation has a link at the top of every page that says "Index". If you follow that and look for toFront(), you will find it exists in java.awt.Window and javax.swing.JInternalFrame.
To use it in a Java application, create an object x of either of those two classes and write "x.toFront();". -
Hello ! pls give some ti[ps how to use bapi's for data uploading?
hello !
pls give some ti[ps how to use bapi's for data uploading?
regards,
ArjunHi,
See the below report extract:
where it_data is having uploaded data.
LOOP AT<b> it_data</b> INTO wa_data.
line_count = sy-tabix.
"Date Validation
CONCATENATE wa_data-uplft_date4(4) wa_data-uplft_date2(2) wa_data-uplft_date+0(2)
INTO wa_data-uplft_date.
"READ TABLE it_ekko INTO wa_ekko WITH KEY lifnr = wa_data-vendor.
LOOP AT it_ekko_temp INTO wa_ekko_temp WHERE lifnr = wa_data-vendor.
IF wa_ekko_temp-kdatb <= wa_data-uplft_date AND wa_ekko_temp-kdate >= wa_data-uplft_date.
MOVE-CORRESPONDING wa_ekko_temp TO wa_ekko.
APPEND wa_ekko TO it_ekko.
ENDIF.
ENDLOOP.
"IF sy-subrc = 0 AND wa_ekko-kdatb <= wa_data-uplft_date AND wa_ekko-kdate >= wa_data-uplft_date.
LOOP AT it_ekko INTO wa_ekko.
wa_data_header-pstng_date = wa_data-uplft_date.
wa_data_header-doc_date = sy-datum.
wa_data_header-bill_of_lading = wa_data-bill_of_lad.
wa_data_header-ref_doc_no = wa_data-del_no.
CONCATENATE wa_data-header_text1 '-'
wa_data-header_text2 '-'
wa_data-header_text3 '-'
wa_data-header_text4
into wa_data_header-HEADER_TXT.
IF wa_data-indicator = 'Y'.
wa_data_item-material = '000000000000200568'.
ELSE.
wa_data_item-material = '000000000000200566'.
ENDIF.
LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln = wa_ekko-ebeln AND matnr = wa_data_item-material.
"Collect Item Level Data
wa_data_item-plant = '1000'.
wa_data_item-stge_loc = '1001'.
wa_data_item-move_type = '101'.
wa_data_item-vendor = wa_data-vendor.
wa_data-qnty = wa_data-qnty / 1000.
wa_data_item-entry_qnt = wa_data-qnty.
wa_data_item-po_pr_qnt = wa_data-qnty.
wa_data_item-entry_uom = 'KL'.
wa_data_item-entry_uom_iso = 'KL'.
wa_data_item-orderpr_un = 'KL'.
wa_data_item-orderpr_un_iso = 'KL'.
wa_data_item-no_more_gr = 'X'.
wa_data_item-po_number = wa_ekpo-ebeln.
wa_data_item-po_item = wa_ekpo-ebelp.
wa_data_item-unload_pt = wa_data-unload_pt.
wa_data_item-mvt_ind = 'B'.
APPEND wa_data_item TO it_data_item.
CLEAR wa_data_item.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_data_header
goodsmvt_code = goodsmvt_code
testrun = 'X'
TABLES
goodsmvt_item = it_data_item
return = return.
READ TABLE return INTO wa_return WITH KEY type = 'S'.
IF sy-subrc <> 0.
DESCRIBE TABLE return LINES sy-tfill.
IF sy-tfill = 0.
CALL FUNCTION <b>'BAPI_GOODSMVT_CREATE'</b>
EXPORTING
goodsmvt_header = wa_data_header
goodsmvt_code = goodsmvt_code
testrun = ' '
TABLES
goodsmvt_item = it_data_item
return = return.
CALL FUNCTION <b>'BAPI_TRANSACTION_COMMIT'</b>
EXPORTING
WAIT = 'X'
IMPORTING
RETURN =
ENDIF.
ENDIF.
LOOP AT return INTO wa_return.
WRITE: 'Messsage TYPE ', wa_return-type,
/,'ID ', wa_return-id,
/, 'Number ', wa_return-number,
/, 'Message ', wa_return-message,
/, 'Long Text ', wa_return-message_v1,
wa_return-message_v2,
wa_return-message_v3,
wa_return-message_v4,
/, 'Failed at line', line_count.
ENDLOOP.
CLEAR: wa_ekko, wa_ekpo, wa_data, it_data_item[], wa_data_header.
ENDLOOP.
Reward if useful! -
How to use the BerkerleyDB22.out?
I have got the BerkerleyDB22.out by Tornado2.2.
But I couldn't find how to use the BerkeleyDB22.out in the VxWorks FAQ.
Is that correct that download the BerkeleyDB22.out into the target by Tornado and download the application into the target too?
In the appliction we can use the routine of Berkeley, right?
Thanks for your attention!Hi Cruiser,
If you have successfully built Berkeley DB for VxWorks according to the instructions here:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_vxworks/intro.html
then you can build your project, and download BDB and your project onto the target.
You can use all the BDB features, with the exception of the DB_TRUNCATE flag for the DB->open() method call, according to the VxWorks notes and VxWorks FAQs:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_vxworks/notes.html
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_vxworks/faq.html
Let us know if you need additional help.
Regards,
Andrei -
Multi user catalog and how to make it - use a checked out system
Lots of people want or need a Multi user ability in lightroom here is one way to achieve multi-user catalogs by using a check-in check-out system.
The Catalog would open normally upon a second user opening LR would then ask to switch to multi-user mode.
Once in multi user mode lightroom would lock-out images, collections, or folders by a checked-out for editing system.
By checking-out images, collections, or folders: files would be unavailable to other users until edits are saved, and the images, collections, or folders are checked-in.
This check-in check-out system would need a global check-in feature in case someone forgot to check in an image, collection, or folders (global check-in could be admin level). Word documents, CAD files, etc, use a similar lock-out/read only system for the files. Since, we wouldn't want to bloat the files with programing to lock out the files, this would have to be added to the catalog and managed by the catalog.
My system
Vista Ultimate 32bit SP1
AMD 64X2 duel core 6000+ 3.2Ghz
6GB 666mhz Ram PAE force enabled
NVIDIA Gforce 7600 256MB video card (1.75GB total with system shared ram)
primary hard drive 500GB
Hard drive 2 400GB (system and photoshop paging files and lightroom catalog drive)
Hdrive 3 1TB (primary image storage)
user control turned off
system graphics set to performance
Duel display
LR 2.0
PS extended CS3Your thread pool is a pool and probably keeps
the thread alive even though the thread has nothing
after a minute toi execute - you'll have to call its
shutdown() methodThanks Oxe...
I googled that (easy when you know what the answer is) and yes the ScheduledThreadPool retains threads for re-use, so you have to check that all threads are done and then shutdown() the scheduler... like this: while (!future.isDone()) {
try { Thread.sleep(10); } catch(InterruptedException e) {}
scheduler.shutdown();
... here is the complete working class:
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledFuture;
import static java.util.concurrent.TimeUnit.*;
import java.awt.Toolkit;
class BeeperControl {
private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
public void beepForAMinute() {
final Toolkit tk = Toolkit.getDefaultToolkit();
final Runnable beeper = new Runnable() {
public void run() {
tk.beep();
System.out.println("beep");
final ScheduledFuture<?> future = scheduler.scheduleAtFixedRate(beeper, 250, 250, MILLISECONDS);
scheduler.schedule(
new Runnable() {
public void run(){
future.cancel(true);
}, 3, SECONDS
while (!future.isDone()) {
try { Thread.sleep(10); } catch(InterruptedException e) {}
scheduler.shutdown();
public static void main(String[] args)
BeeperControl bc = new BeeperControl();
bc.beepForAMinute();
}Thanx again. Keith. -
How to use the read out feature to read Korean or Arabic
I am now using Acrobat 11.And I want to use the read out loud feature to read the Korean charactors or Arabic.
But only the English words can be read in my computer.
Could some please tell me how to read other country languages besides English?
Thanks.
Have a good day.Hello Gerd.
I have posted this question at Francois site. No answer yet.
Anyone familiar with the LAF project might be aware of what i'm talking about.
I don't believe questions about this project are not to be answered on this forum. Indeed i've found and posted some questions myself about it and get answered before.
Regards, Luis ...!
Maybe you are looking for
-
Many times the Yahoo news videos will not play.
Many of the headlining news stories have accompanying videos. When I click on the video, I get a black screen with an never ending rotating blue circle in the middle of the field, as if it is looking for the video, but it never starts up. I can open
-
Size of library and Nano HD question
So my itunes library is larger than the ipod, so i sync to auto fill with music from the library. I just added some good music to my library and now want that music to be added to the ipod. How do i do a overhaul to the music that is being put on my
-
How to ungroup a set of pictures in playback on powershot sx60
I often hit the wrong button an a group of pictures I shot get into group set playback. I cannot find in the manual how to ungroup these pictures - which then stops me from magnifying a image in playback to check it out. Is there a way? Rose Solved
-
Help!! I cannot load purchased music from library to ipod
Music purchased on itunes residing in my library or in purchased folder does not update to shuffle ipod. I cannot drag and drop into ipod either. I can load from cd into ipod. I have tried restoring ipod and reloading ipod update software and latest
-
Crystal Report add-on Sample Reports
Hi Experts, I am using Crystal report add-on in SAP B1 2007, i would like to know about sample reports for the same. has SAP provided any sample reports in crystal report add-on like they have for XL reporter? pls. give me the link if anybody knows.