Job_open language

Hello,
i have to submit a program in different language from logon language.
can i set language in below code flow:
job_open
submit ......
job close
thank you.

Hello,
U can set the like this:
Basic form 8
SET LOCALE LANGUAGE lg.
Additions:
1. ... COUNTRY c
2. ... MODIFIER m
Effect
Sets the text environment according to the specified language lg.
The text environment includes the language stored in SY-LANGU, the locale categories LC_CTYPE and LC_COLLATE and the SAP character set.
You determine the text environment by accessing the SAP text environment table TCP0C with the specified key
If the country is not specified, it is taken from the table TCP0D. If TCP0D is empty, the setting COUNTRY = SPACE is used to access TCP0C. If the modifier is not specified, the setting MODIFIER = SPACE is used to access TCP0C.
The text environment affects all operations specific to the character set (such operations include ABAP character processing statements, screen output to the front-end, data transmission between the application server and the front-end, data transmission by RFC, and printing).
The locale category LC_COLLATE affects the behavior of the SORT ... AS TEXT and CONVERT TEXT statements.
When an internal session is opened (in other words, when a roll area is opened), the text environment is automatically set to the active user's language as specified in the user master record. Therefore, you usually do not need an explicit SET LOCALE statement.
You only have to use SET LOCALE if you want to program a special text environment regardless of the active user's language.
You should take particular care when switching back and forth between different text environments or if you use a text environment which is not compatible with the frontend character set.
Addition 1
... COUNTRY c
Effect
If a language spoken in different countries (or, to be more politically precise, in different territories) has different text environments for different countries, you can use the addition COUNTRY c to specify the country for a language.
Addition 2
... MODIFIER m
Effect
If a language in a country has different text environments (for example, in Germany, letters with umlauts are treated in different ways - in a dictionary, ä is treated like a, but in a telephone directory, it is treated like 'ae'), you can use the addition MODIFIER m to specify a further modifier for the language and country.
The values 'BINARY', 'C', 'POSIX' and 'RAW' are not allowed as modifiers because they are reserved for a later development intended to support 'binary' text environments.
Notes
The special form SET LOCALE LANGUAGE SPACE (or lg contains SPACE) resets the text environment to the language of the active user as specified in the user master record. In this case, specifying COUNTRY c and/or MODIFIER m has no effect.
The effect of SET LOCALE is not restricted to the current program, but covers all programs in the current roll area.
If one of the specified key fields lg, c or m is not a character field, or if one of the key values is longer than the corresponding fields LANGU, COUNTRY or MODIFIER in the SAP text environment table TCP0C, the processing terminates with a runtime error.
Although entries in the SAP text environment table TCP0C are platform-specific, the platform is treated as an implicit key component. The system then retrieves the value for the key component PLATFORM = p at runtime when accessing the table TCP0C and you do not have to bother about this when programming.
If the SAP text environment table TCP0C contains no entry for the specified key
(on the current platform), or the text environment cannot be set according to the values in TCP0C, the processing terminates with a runtime error.
If the boolean SAP profile parameter abap/set_text_env_at_new_mode is set to 0 (the default is 1), the text environment is not set according to the language of the active user when a new internal session is opened, but according to the language of the application server (which is determined by the SAP profile parameter zcsa/system_language). Resetting the text environment with SET LOCALE LANGUAGE SPACE restores the text environment for the language of the application server.
If the boolean SAP profile parameter install/collate/active is set to 0 (the default is 1), SET LOCALE has no effect at all; furthermore, the text environment remains unchanged, even when a new internal mode is opened, and the locale category LC_COLLATE is not set at all by the SAP kernel. Accordingly, the SORT ... AS TEXT and CONVERT TEXT statements then also have no effect.
Regards,
Vasanth

Similar Messages

  • Job_open,job_close

    hello
    plz let me know how to use job_open,jib_sumbit,job_close,
    and the function modules related to it
    thanks
    aafaq husain

    Hi aafaqhusain,
    1. we can use like this
    2.
    report abc.
    BREAK-POINT.
    DATA  : JN(32) TYPE C.
    JN  = 'JOB001'.
    BREAK-POINT.
    DATA : J(8) TYPE C.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
      DELANFREP              = ' '
      JOBGROUP               = ' '
        jobname                = JN
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
    IMPORTING
       JOBCOUNT               = J
    CHANGING
      RET                    =
    EXCEPTIONS
      CANT_CREATE_JOB        = 1
      INVALID_JOB_DATA       = 2
      JOBNAME_MISSING        = 3
      OTHERS                 = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DATA : P TYPE PRI_PARAMS.
    P-PDEST = 'PRINTER'.
    P-PDEST = 'LOCL'.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING  NO_DIALOG             = 'X'
                      MODE                  = 'CURRENT'
                     NEW_LIST_ID           = $PRNEW
           IMPORTING  OUT_PARAMETERS       =  P.
    CALL FUNCTION 'JOB_SUBMIT'
      EXPORTING
      ARCPARAMS                         =
        authcknam                         = 'MAMIT'
      COMMANDNAME                       = ' '
      OPERATINGSYSTEM                   = ' '
      EXTPGM_NAME                       = ' '
      EXTPGM_PARAM                      = ' '
      EXTPGM_SET_TRACE_ON               = ' '
      EXTPGM_STDERR_IN_JOBLOG           = 'X'
      EXTPGM_STDOUT_IN_JOBLOG           = 'X'
      EXTPGM_SYSTEM                     = ' '
      EXTPGM_RFCDEST                    = ' '
      EXTPGM_WAIT_FOR_TERMINATION       = 'X'
        jobcount                          = J
        jobname                           = JN
      LANGUAGE                          = SY-LANGU
       PRIPARAMS                         = P
       REPORT                            = 'HINCF160'
       VARIANT                           = 'A'
    IMPORTING
      STEP_NUMBER                       =
    EXCEPTIONS
       BAD_PRIPARAMS                     = 1
      BAD_XPGFLAGS                      = 2
      INVALID_JOBDATA                   = 3
      JOBNAME_MISSING                   = 4
      JOB_NOTEX                         = 5
      JOB_SUBMIT_FAILED                 = 6
      LOCK_FAILED                       = 7
      PROGRAM_MISSING                   = 8
      PROG_ABAP_AND_EXTPG_SET           = 9
       OTHERS                            = 10
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
      AT_OPMODE                         = ' '
      AT_OPMODE_PERIODIC                = ' '
      CALENDAR_ID                       = ' '
      EVENT_ID                          = ' '
      EVENT_PARAM                       = ' '
      EVENT_PERIODIC                    = ' '
        jobcount                          = J
        jobname                           = JN
      LASTSTRTDT                        = NO_DATE
      LASTSTRTTM                        = NO_TIME
      PRDDAYS                           = 0
      PRDHOURS                          = 0
      PRDMINS                           = 0
      PRDMONTHS                         = 0
      PRDWEEKS                          = 0
      PREDJOB_CHECKSTAT                 = ' '
      PRED_JOBCOUNT                     = ' '
      PRED_JOBNAME                      = ' '
      SDLSTRTDT                         = NO_DATE
      SDLSTRTTM                         = NO_TIME
      STARTDATE_RESTRICTION             = BTC_PROCESS_ALWAYS
       STRTIMMED                         = 'X'
      TARGETSYSTEM                      = ' '
      START_ON_WORKDAY_NOT_BEFORE       = SY-DATUM
      START_ON_WORKDAY_NR               = 0
      WORKDAY_COUNT_DIRECTION           = 0
      RECIPIENT_OBJ                     =
      TARGETSERVER                      = ' '
      DONT_RELEASE                      = ' '
      TARGETGROUP                       = ' '
      DIRECT_START                      =
    IMPORTING
      JOB_WAS_RELEASED                  =
    CHANGING
      RET                               =
    EXCEPTIONS
      CANT_START_IMMEDIATE              = 1
      INVALID_STARTDATE                 = 2
      JOBNAME_MISSING                   = 3
      JOB_CLOSE_FAILED                  = 4
      JOB_NOSTEPS                       = 5
      JOB_NOTEX                         = 6
      LOCK_FAILED                       = 7
      INVALID_TARGET                    = 8
      OTHERS                            = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    BREAK-POINT.
    regards,
    amit m.

  • How to devolop a report which has two languages in it

    Hi Friends
    I got a requirment where in i need to devolop a report with two languages in it English and Arabic Report is divided into two halves one is in english and another one is in Arabic

    Hi
    Check the code using this...
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

  • JOB_OPEN and JOB_SUBMIT

    could anybody tell me how to writ the code for scheduling the background job by using function modules JOB_OPEN and JOB_SUBMIT in my report program.
    this is not BDC program..it is just a normal report.
    Cheers & Thanks

    Use JOB_OPEN to indicate you want to create a background job. Use
    JOB_INSERT to define the steps in your background job and JOB_CLOSE to
    indicate that you have completed your definition of it.
    The parameters of these functions mimic the input requirements from
    SE37. If you look at their definition in SE11 the vast majority of these
    parameters are self-explanatory.
    Kind Regards
    Chaitanya

  • Partner Application written in other language than PL/SQL and Java

    I have an application written in another language than PL/SQL or Java. I want to integrate this application as an Partner apps where I use the same user repository as Portal.
    Can I integrate the application by calling a stored PL/SQL-procedure based on the PLSQL SSO APIs examples that authenticates the user based on the username/password in portal and redirects the user to the application ?
    Are there any examples / references where this has been done ?
    Jens

    Check out the PDK referance for URL-Services, which allow you to integrate with any web based service/content.
    http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • When I login to EBS as Japan language session some Forms Application is Eng

    Hi ,
    have recently applied japan NLS on r121.1 and later upgraded to 12.1.3 also applied 9239090(japan as well).
    But customer has complained the error below.
    Any ideas on it .
    Forms Application is still English.
    When I login to EBS as Japan language session, some Forms Application is English.
    e.g
    user MFG
    pass welcome
    Resp Manufacturing and Distribution Manager
    Path Inventory>品目>品目関連
    Thanks

    ls: /u100/app/HONDA1/orhonda1/oracle/aphonda1/apps/apps_st/appl/po/12.0.0/forms/JA/POXRQVRQ.fmx: No such file or directoryThis indicates that the fmx file was not generated via adadmin -- Can you upload the adadmin log file here?
    and also, after logging into the application selecting japan,to the left side i can see some responsibilities in english still..Is this the normal behaviour.No.
    Have you generated all NLS menus via adadmin? If possible, upload the log file.
    In the preferences tab when i check,logging to application with english can see the below..
    Current Session Language :- American English
    Default Session Language :- American English
    Is the above correct ?
    Do we need to perform any steps to so that we can see the responsibilites in english.Change the session language to Japanese and check then.
    Thanks,
    Hussein

  • HT5312 I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? th

    I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? then I was unable to enter until 8 hours then called Apple Japan 4 times each time threy asked me would you like to speak with an English speaker,I said yes then they told me sorry today is Sunday no English speakers ,but they refused to speak Japanese, then I called 5th time and a kind guy could speak English we were on 1and 1/2 hours he got me to log in but the reset key chain could not be completed still pending.
    He said do not mess with that ! then I got a text from somewhere to reset 4 pins suddenly it was very strange I said to him that I got this pin this morning but it said you can use maximum 3 hours it had a UK number and I told him I do not like this and will not enter the code he said do not do it if it is from the UK and then I said to him ok you did a lot to help but we can not go any further ! and we cut of I went back to my computer to re do the ID but I found everything a mess so I call and a stupid sounding Japanese women with a squeaky voice came on I was calm at first and they want your phone number your IMEI number your iPhone serial number date of birth Address email address it takes 10 munutes to check then they ask what are you caling about so I try to explain my keychain is broken or problems with language security questions and can not change my pasword because the security question have failed me so it is ONE BIG HEADACHE AND I START I GET STRESSED she says Do want an ENGLISH speaker ,I say yes ,that guy i talked to earlier but I never got his name and first time I ever talked to him but they said he is not here so I said ok and then she said today is sunday so call back in the morning ,I said ,well ok in Japanese but they make you feel stupid because they do not want to speak Jap@anese with none natives and they are to busy,And they feel that I should not bother them ,then I say that Apple Japan is trying to refuse Apple foreign customers and then she wants to hang up and ask me to visit the shop ,but they are the same I have a very bad time with Apple Japan since they do not discuss software problems or security with customer meaning if you have a problem they ask you to come on a time 20 minutes max so they do hardware test and say you phone is fine then I say no I can not reset my ID they say you must call call centre so I am going around in circles ,When I call English it is usually Australia so if my problem is in Japan surely if do not want me to talk to them in Japanese and they ask me to call Australia but every time my call charge is expensive after asking them is this free because I have Apple care they say yes but when the call goes to Australia 0120 277 535 it might change to paid call so I call then I have to ask is this charging they say we can not give you that information ! so what can I do I have have been at the computer and phone all day on my day off work and in tre week I am so busy and can not use my phone I can not work without it ,this new technology for you ,they can not cope with the fact that the customer have problems yet they do not want to deal with us because they can not solve it and so it shows them to be useless they like to walk around in their cool tee shirts and retro shop but when it comes to functionality we are unwelcome they got the money so do not return because apple is perfect that nothing should go wrong .
    But it does somehow my English security answers do not work on a Japanese Question especialy if I did not choose that question I set  up the multiple choice In English and wrote the answers in English or Roman and set them langauge preferences in English, do you really think you can correctly write english name or word in Japanese they write a police patrol car  pato caa パトカア they do not have r and l .So it is my choice to make my security easy for me and as difficult for others to hack.But they also have patororoo choo meaning ' now patrolling ' so why they have pato caa patrol car and patoro patrol and have thousands of Chinese words kanji they can find patrol.
    I am getting off the topic but I am at a loss to fix this problem when they hold the keys and i have all the info to verify my ID.

    You have to enter the Apple ID and password. You are running into the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • Brand New MacB Air and i haven't been able to get passed the format which has had to be done twice because, I have a French Numeric Keyboard and Language in English.  The minute I type in my password, the keyboard gives me letters that i did NOT type.

    I live in Switzerland and can only buy a Mac Air with a French or German keyboard, no chance to buy an English keyboard Mac here,.  When setting up  I chose the French numerique keyboard, although there are two choices French or French numerique.  I put in my language as English.  When all was set up I came to the start page and had to put in my password, by the grace of g....I just happened to see the first letter I typed before it turned into a dot.  My password which was supposed to start with the number 2 showed a french e with accent before it quikly became a dot.
      Because of the dot system, this meant that I had no clue what the keyboard was typing as my password ...........and true enough my password was not accepted despite my trying all combinations.  I have had to reformat twice now thanks to Apple Chat and both times my password was not accepted.  I am in the process of formatting it again, this time on my own.  If the Start page does not accept my password again this can only mean that the Mac left the factory with faults.  I could not be more disappointed with the money spent and the time and trouble that Apple Chat and I have spent in trying to correct a brand new out of the box Mac.  I have a cheap Toshiba laptop also with a french keyboard and english language which gave me no trouble at all.  I am not impressed with the so called King of computers!  First of all the dot system is daft.  People want to be able to see and confirm their passwords before they are set for good.  Second,  this problem is going to give me a lot of grief.  Switzerland business is not renowned for its after sales service or the time it takes to do repairs.  When I had an issue with my Vaio laptop which was still under warranty, they kindly picked it up from my house, repaired and promptly returned it.  How's that for good proper service.

    i didn't read a lot of your 2nd paragraph, but it seems like the password is the issue, right?
    do a true clean install
    reboot your machine and hold down command+option+r, you should see a spinning globe - if you don't see the globe or anything that reads internet recovery, shut down and try again
    at menu, chose disk utility and once there, find your HD on the left side, select the physical name and erase it as mac journaled
    exit disk utlity
    at menu, choose install OSX
    this time, when it asks for a password just hit continue, it will let you complete without a password
    you should be able to get into your laptop, now figure out what password you'll be able to use with your kb issue

  • BIP Report in Siebel mobile is not working in languages other than English

    Hi,
    We have upgraded our Siebel from 7.8 to Siebel 8.1 and in that we have moved from Actuate to BIP Reports. We have created a customized report in which we have put in the Filters on '.rtf' file to show a particular set of data. This report is deployed for 3 languages : English (ENU), Portuguese (PTB) and Spanish (ESN).After deploying this report, on Web application, it is working fine for all the languages but we are facing an issue on mobile client, the report is only working fine in ENU but for other languages(PTB & ESN) it is failing (means the filter which we put on '.rtf' is not working on other languages).
    Is anybody face this issue and what will be the solution for this?

    Hi
    I think you need to first translate the smartform into other languages. Before translation, it wont work.
    Steps for translation:
    1. goto Transaction SE63
    2. in R3 Enterprise select form menu
    Translation - ABAP Objects - Other long texts
    3. select FS - SSF-Smart Form
    4. Object Name: choose your smart form
    5. select target language
    6. press edit
    Regards,
    Vishwa.

  • Direct Print smartform to printer via  JOB_OPEN function and using SUBMIT

    Hello,
    I can not able to printout from forms . I can able to get spool number but it is not printing directly to printer (printer Output should come automatic). I am getting error message in SP02 as Status ->Waiting    when i check is showing as "Frontend unavailable".
    please find sample code below to test same:
    REPORT  ZTEST_1                                  .
    constants : wc_x type c value 'X'.
    DATA: wv_val(1) TYPE c,
          wv_pripar TYPE pri_params,
          wv_arcpar TYPE arc_params,
          wv_lay   TYPE pri_params-paart value 'DINA4',
          wv_lines TYPE pri_params-linct,
          wv_rows  TYPE pri_params-linsz.
    data: wv_jobname like tbtcjob-jobname.
    data: wv_jobcount like tbtcjob-jobcount,
          wv_host like msxxlist-host.
    data: begin of ws_starttime.
            include structure tbtcstrt.
    data: end of ws_starttime.
    data: wv_starttimeimmediate like btch0000-char1 value 'X',
          wv_flag(1),
          WV_DO_PRINT type i.
    concatenate sy-tcode+0(4) ' ' 'sample test - print'
    into wv_jobname.
    *Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = 'X'
                jobname          = wv_jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = wv_jobcount
      if sy-subrc eq 0.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
                in_archive_parameters  = wv_arcpar
                in_parameters          = wv_pripar
                LIST_NAME           = 'JOB NAME'
                LIST_TEXT             = 'test_text'
                RECEIVER             = sy-uname
                IMMEDIATELY           = wc_x
                RELEASE               = wc_x
                USER                 = sy-uname
                layout                 = wv_lay
                no_dialog              = wc_x
           IMPORTING
                out_archive_parameters = wv_arcpar
                out_parameters         = wv_pripar
                valid                  = wv_val
    break-point.
    wv_pripar-PRSAP = space.
    wv_pripar-PRIOT = 1.
    wv_pripar-prrec = sy-uname.
    if not wv_val is initial.
    *call external program and pass data
    submit SF_EXAMPLE_01
          USER sy-uname
         via job wv_jobname
         number wv_jobcount
      TO SAP-SPOOL
    SPOOL PARAMETERS wv_pripar
    ARCHIVE PARAMETERS wv_arcpar
    WITHOUT SPOOL DYNPRO
    AND RETURN.
    endif.
    *Close job
      ws_starttime-sdlstrtdt = sy-datum .
      ws_starttime-sdlstrttm = sy-UZEIT.
        ws_starttime-IMSTRTPOS = WC_X .
      call function 'JOB_CLOSE'
           exporting
                event_id             = ws_starttime-eventid
                event_param          = ws_starttime-eventparm
                EVENT_PERIODIC       = space
                jobcount             = wv_jobcount
                jobname              = wv_jobname
                laststrtdt           = ws_starttime-laststrtdt
                laststrttm           = ws_starttime-laststrttm
                prddays              = 0                       "set to 0 not repeat
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = ws_starttime-sdlstrtdt
                sdlstrttm            = ws_starttime-sdlstrttm
                strtimmed            = wv_starttimeimmediate
      endif.

    Hi,
    As far as printing to devices not all devices support Bluetooth. Many devices support Bonjour protocal, IPP. The main print port is 9100. Additionally you can see what IO protocols are supported on a product by looking at the EWS (Embedded WebServer) there should be a networking page with that information.  Port 9100 is your basic print port and different devices will support different formats (PDF, JPEG, PCL5, PCL6). If there is an API you can find (i am not familiar with J2ME availible calls, then you can use those and send the data to port 9100. Again that is the basic path most printers will accept. not all devices support bonjour not all device support bluetooth etc... Hope that helps and good luck.
    I am an HP Employee.

  • Need help with JOB_OPEN, JOB_SUBMIT and JOB_CLOSE

    I am calling a standard Report which popups list of sessions.
    Out of which, i select one session and the data belonging to that session is deleted from data base.
    I need to perform the above task using a single report which consists of  JOB_OPEN, JOB_SUBMIT and JOB_CLOSE function modules.
    I mean i know the session number which i have to select. Where should i pass it and in which FM so that no popup should come and the data is automatically deleted as soon as the report is executed.
    Can anyone tell me how to do this??

    I have clearly mentioned that I am executing a standard report which generates list of sessions.
    SO deleting data from Database tables is the functionality of the report.
    We dont need to worry about that.
    I just need to perform that same functionality using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE
    i.e. is i write submit (reort)
    via job number and return.
    Where should i pass session number???
    My only purpose is no break or halt should be there or i shouldnt select sessions while executing report.
    I just pass session names at the beginning and the report is executed successfully.

  • How we will use these Job_open and Job_submit job_close??

    Hi Experts,
    i am new in Developement, i need one help here my problem is
    I have one issue which is a report here i am getting the data into internal table, that data fetching i want to schedule it in background job..
    can any body tell me how can i use the JOB_OPEN and JOB_SUBMIT function modules....
    plz provide any example..
    Thanks in Advance,
    Venkat N

    Hi,
    Here is the sample program
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Regards
    Sudheer

  • Different material description in one language for single material

    Hi folks,
        Is it possible to maintain different material descriptions (In one language-english) for a single material.
    if it so how can u provide me steps.
    Thx in advance,
    Neelima.N

    Hi,
    For a single material code maintaining multiple text in the same language is not possible,
    this contradicts the basic principle of consistancy.
    Howevery you are free to do R&D, if sucessful please let me know.
    Regards
    Bikas

  • How can i disable Illustrator from changing my language / keyboard layout.

    I have an azerty laptop and a qwerty external keyboard. Switching from any application to illustrator changes the language and therefore also my keyboard layout. No other application does this.

    Thanks for the reply Mike
    But i have a laptop with azerty layout (Belgian) and an external qwerty keyboard (Brittish).
    So i need both languages selected in the System Pref >> Keyboard >> Input source
    When "Brittish" is selected and i switch from Apple Mail to Photoshop to Skype to Chrome to ... it all works fine.
    Only when i switch to Illustrator it also changes my language/layout from "Brittish" to "Belgian" and stays like that. I need to manually change it back in the menu in Finder.
    I like the brittish better (with a qwerty keyboard) because of the shortcuts (eg. sqare brackets -> shortcuts for order in Illustrator are not even on an azerty (Belgian) keyboard).
    Any idea?
    b.

Maybe you are looking for

  • How can I adjust the entire table in the middle of the file before printing?

    I had a file and want to print it out. But the margin seems a little bit strange, and I want to move the whole table into the very middle of the paper ready for printing (as A4 size). Is there any one who knows how to deal with this issue? Thanks.

  • Unable to print to an HP Color LaserJet 2600n in 10.4.11

    Hi (I really, truly have gone through the other topics and can't find a solution). I'm trying to print on a G3 iMac via USB to an HP Color Laserjet 2600n. The printer driver is not included with Apple, and when I went to download it from the HP site

  • Using Kuler + swatch exchange files in Dreamweaver CS3

    What is the "best practice" for taking a swatch exchange file from Kuler and getting either the swatches into Dreamweaver CS3 or the html color values. I like using Kuler to develop test color schemes for my web sites and switching css sheets to dete

  • Iweb problems and idisk problems are they related?

    I have not been able to publish siince upgrading to iweb1.1 two days ago I get the same message everytime "Publish failed due to a network error. Check your Internet connection and try again." Also I can't get into "idisk" on the web or the finder ba

  • Starting up Oracle9i for linux

    I installed oracle 9i on red hat 8 at first i sucessfully logged on the enterprise manager console with an oracle management server(not standalone). but when i tried to logged again the next time i cannot logged. the same problem that i encountered o