Job Selection via BAPI using BackgroundJob

Hi to all,
I'm using "Set oJobList = oBAPICtrl.GetSAPObject("BackgroundJob")" to receive the list of job from SAP to my Access database.
Someone have already used it ?
I'm not able to understand how set selection parameter.
Set oJobSelectParam = oBAPICtrl.DimAs(oJobList, "Select", "JobSelectParam") give me a message "Error 0"
and so ...
    oJobSelectParam.Value("JOBNAME") = "UNIVERSE"
    oJobSelectParam.Value("USERNAME") = "COKKA00M15"
have no impact on parameter "oJobSelectParam".
Please help me.
Thank's in advance

Hi,
May help you:----
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/edab9790-0201-0010-479a-98fcc7ebc7bd?quicklink=index&overridelayout=true
Regards,
Suman

Similar Messages

  • Job Creation via BAPI using BackgroundJob

    Hello,
    I'm working on Access and I'm submitting a JOB in SAP; till we were in release 4.7 my database worked but after the relase change I'm not able to us it again.
    When I call my function in order to do "AddABAPStep" the system give me a Run-time error '4701'
    "Non-BAPI methods with export parameters are currently not supported"
    Hereafter the instruction that doesn't work :
            oJobrun.AddABAPStep ExternalUserName:=pMUsrUser, JobName:=Jname, Jobcount:=Jcount, AbapProgramName:=xabap, AbapVariantName:=xvar, Return:=oReturn
    Is there someone that is able to help me ?
    Thank you in advance
    Guido Chiappa
    Edited by: Guido Chiappa on Jul 14, 2011 11:31 AM

    Hi,
    May help you:----
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/edab9790-0201-0010-479a-98fcc7ebc7bd?quicklink=index&overridelayout=true
    Regards,
    Suman

  • Create PS project via BAPI - using project templates (CJ01)

    hi anybody,
    if is pos. to create a new project with BAPI* (if yes, which one? and how?) and use a project template (not an existing project).
    thanks for help.
    regards thomas

    Thanks for welcome.
    This BAPI create a new PROJ_DEF, thats clear. But i want to create a new project (with WBS and networks etc.) via BAPI and this with using a existing project template (please look in CJ01), not an existingproject (CJ20N).
    You know what I want?
    Thomas

  • Data transfer thru lsmw via bapi

    how to perform data transfer thru lsmw via bapi.
    Thanks.
    Regards
    Rama

    HI
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    u can check the below the material also
    Example Code
    U need to give the step_nr, item_nr, cond_count and cond_type so the correct conditon will be updated. If no condition exists for the given parameters, a new condition will be created.
    U can find these parameters for a particular condition type in table KONV.
    *& Form saveTransactionJOCR
    text
    --> p1 text
    <-- p2 text
    FORM saveTransactionJOCR .
    data: salesdocument like BAPIVBELN-VBELN,
    order_header_inx like bapisdh1x,
    order_header_in like bapisdh1,
    return type standard table of bapiret2 with header line,
    conditions_in type standard table of bapicond with header line,
    conditions_inx type standard table of bapicondx with header line,
    logic_switch like BAPISDLS,
    step_nr like conditions_in-cond_st_no,
    item_nr like conditions_in-itm_number,
    cond_count like conditions_in-cond_count,
    cond_type like conditions_in-cond_type.
    salesdocument = wa_order_information-VBELN.
    LOGIC_SWITCH-COND_HANDL = 'X'.
    order_header_inx-updateflag = 'U'.
    conditions
    clear conditions_in[].
    clear conditions_inx[].
    clear: step_nr,
    item_nr,
    cond_count,
    cond_type.
    step_nr = '710'.
    item_nr = '000000'.
    cond_count = '01'.
    cond_type = 'ZCP2'.
    CONDITIONS_IN-ITM_NUMBER = item_nr.
    conditions_in-cond_st_no = step_nr.
    CONDITIONS_IN-COND_COUNT = cond_count.
    CONDITIONS_IN-COND_TYPE = cond_type.
    CONDITIONS_IN-COND_VALUE = 666.
    CONDITIONS_IN-CURRENCY = 'EUR'.
    append conditions_in.
    CONDITIONS_INX-ITM_NUMBER = item_nr.
    conditions_inx-cond_st_no = step_nr.
    CONDITIONS_INX-COND_COUNT = cond_count.
    CONDITIONS_INX-COND_TYPE = cond_type.
    CONDITIONS_INX-UPDATEFLAG = 'U'.
    CONDITIONS_INX-COND_VALUE = 'X'.
    CONDITIONS_INX-CURRENCY = 'X'.
    append conditions_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = salesdocument
    ORDER_HEADER_IN = order_header_in
    ORDER_HEADER_INX = order_header_inx
    LOGIC_SWITCH = logic_switch
    TABLES
    RETURN = return
    CONDITIONS_IN = conditions_in
    CONDITIONS_INX = conditions_inx
    if return-type ne 'E'.
    commit work and wait.
    endif.
    ENDFORM. " saveTransactionJOCR
    Bdc to Bapi
    The steps to be followed are :
    1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).
    [for VA01 use BAPI_SALESORDER_CREATEFROMDAT2]
    2. Create a Z program and call the BAPi (same as a Funtion module call).
    2. Now, if you see this BAPi, it has
    -> Importing structures.
    eg: SALESDOCUMENT: this will take the Sales order header data as input.
    -> Tables parameters:
    eg: ORDER_ITEM_IN: this will take the line item data as input.
    Note :
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data
    Possible UPDATEFLAGS:
    U = change
    D = delete
    I = add
    Example
    1. Delete the whole order
    2. Delete order items
    3. Change the order
    4. Change the configuration
    Notes
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
    For further details... refer to the Function Module documentation for the BAPi.
    Bapi to VB(Visual Basic)
    Long back I had used the following flow structure to acheive the same.
    Report -> SM59 RFC destination -> COM4ABAP -> VB.exe
    my report uses the rfc destination to create a COM session with com4abap. com4abap calls the vb.exe and manages the flow of data between sap and vb exe.
    You need to have com4abap.exe
    If com4abap is installed you will find it in sapgui installatin directory , C:\Program Files\SAPpc\sapgui\RFCSDK\com4abap.
    else refer OSS note 419822 for installation of com4abap
    after making the settings in com4abap to point to the vb program and setting up rfc destination in sm59 to point to com4abap session , you can use the following function modules to call the vb code.
    for setting up com4abap and rfc destination please refer to the documentation for com4abap.
    Invoke NEW DCOM session
    call function 'BEGIN_COM_SESSION'
    exporting
    service_dest = service_dest "(this will be a RFC destination created in SM59)
    importing
    worker_dest = worker_dest
    exceptions
    connect_to_dcom_service_failed = 1
    connect_to_dcom_worker_failed = 2
    others = 3.
    call function 'create_com_instance' destination worker_dest
    exporting
    clsid = g_c_clsid
    typelib = g_c_typelib
    importing
    instid = g_f_oid
    exceptions
    communication_failure = 1 message g_f_msg
    system_failure = 2 message g_f_msg
    invalid_instance_id = 3
    others = 4.
    call function 'com_invoke' destination worker_dest
    exporting
    %instid = g_f_oid
    %method = 'UpdatePDF'
    sntemp = g_v_const_filent
    snsysid = sy-sysid
    snflag = 'N'
    tables
    rssaptable = g_t_pdfdetail1
    %return = g_t_pdfdetail1 "t_test
    exceptions
    communication_failure = 1 message g_f_msg
    system_failure = 2 message g_f_msg
    invalid_instance_id = 3
    others = 4.
    then close the com session , using
    FM delete_com_instance
    FM END_COM_SESSION
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.
    BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.
    LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
    The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
    More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
    The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
    So although it was designed for uploading of legacy data it is not restricted to this use.
    We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
    The SAP transaction code is 'LSMW' for SAP version 4.6x.
    Check your procedure using this Links.
    BAPI with LSMW
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
    For document on using BAPI with LSMW, I suggest you to visit:
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    What are the methods to migrate data from a legacy system to SAP?
    LSMW is used for migrating data from a legacy system to SAP system, or from one SAP system to another.
    Apart from standard batch/direct input and recordings, BAPI and IDocs are available as additional import methods for processing the legacy data.
    The LSMW comprises the following main steps:
    Read data (legacy data in spreadsheet tables and/or sequential files).
    Convert data (from the source into the target format).
    Import data (to the database used by the R/3 application.
    But, before these steps, you need to perform following steps :
    Define source structure : structure of data in the source file.
    Define target structure : structure of SAP that receives data.
    Field mapping: Mapping between the source and target structure with conversions, if any.
    Specify file: location of the source file
    Of all the methods used for data migration like BDC, LSMW , Call Transaction which one is used most of the time?
    How is the decision made which method should be followed? What is the procedure followed for this analysis?
    All the 3 methods are used to migrate data. Selection of these methods depends on the scenario, amount of data need to transfer. LSMW is a ready tool provided by SAP and you have to follow some 17 steps to migrate master data. While in BDCs Session method is the better choice because of some advantages over call transaction. But call transaction is also very useful to do immediate updation of small amout of data. (In call transaction developer has to handle errors).
    SO Bottom line is make choice of these methods based of real time requirements.
    These methods are chosen completely based on situation you are in. Direct input method is not available for all scenario, else, they are the simplest ones. In batch input method ,you need to do recording for the transaction concerned. Similarly, IDoc, and BAPI are there, and use of these need to be decided based on the requirement.
    Try to go through the some material on these four methods, and implement them. You will then have a fair idea about when to use which
    You can create lsmw for data migration as follows (using session method):
    Example for xk01 (create vendor)
    Initially there will be 20 steps but after processing 1 step it will reduced to 14 for session method.
    1. TCode : LSMW.
    2. Enter Project name, sub project name and object name.
    Execute.
    3. Maintain object attributes.
    Execute
    select Batch Input recording
    goto->Recording overview
    create
    recording name.
    enter transaction code.
    start recording
    do recording as per ur choice.
    save + back.
    enter recording name in lsmw screen.
    save + back
    Now there will be 14 steps.
    2. MAINTAIN SOURCE STRUCTURES.
    Here you have to enter the name of internal table.
    display change
    create
    save + back
    3. MAINTAIN SOURCE FIELDS.
    display change
    select structure
    source_fields->copy fields.
    a dialogue window will come .
    select -> from data file
    apply source fields
    enter No. of fields
    length of fields
    attach file
    save + back
    4. MAINTAIN STRUCTURE RELATIONS
    display change
    save + back
    5. MAINTAN FIELD MAPPING & CONVERSION RULE
    display change
    click on source field, select exact field from structue and enter
    repeat these steps for all fields.
    save+back
    6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
    execute
    save + back
    7. SPECIFY FILES.
    display change
    click on legacy data
    attah flat file
    give description
    select tabulatore
    enter
    save + back
    8. ASSIGN FILE
    execute
    display change
    save + back
    9. IMPORT DATA.
    execute
    display change
    save + back
    10. DISPLAY IMPORTED DATA
    enter ok, it willl show records only.
    back
    11. CONVERT DATA
    execute
    display change
    save + back
    12. DISPLAY CONVERTED DATA
    execute
    display change
    save + back
    13. CREATE BATCH INPUT SESSION
    tick keep batch input folder
    F8
    back
    14. RUN BATCH INPUT SESSION.
    sm35 will come
    Object name will be shown here
    select object & process
    Regards
    Pavan

  • Create Support Message via BAPI with additional partners

    Hi all,
    i need to create a support message (slfn) via  bapi / function module. The basic creation is no problem with BAPI_NOTIFICATION_CREATE.
    But i need to set additional partner(functions) like "approved by" in the support message. With this bapi i can only set the processor and creator of the message.
    How can i add additional partners via BAPI call?
    Any help would be much appreciated.
    Daniel

    Hi Daniel,
    i do not think there is a standard functionality for this.
    you can use function module CRM_DNO_UPDATE_PARTNER to set partner functions to a message. You will have to build your own RFC enabled function module around this, though.
    Then you can use it to add your partners after the message was created.
    Regards,
    Christoph

  • Handling unit creation in existing shipment via BAPI or IDOC

    Dear all,
    Dose any one tried and succeed packing deliveries items in an existing shipment in the shipment level via BAPI or IDOC.
    I tried to use IDOC massage type SHPADV. The problem was that it's creates a new shipment with the same deliveries and pack their items, although I entered the existing shipment number.
    With regards to "BAPI_SHIPMENT_CHANGE", it is seems like this BAPI is not an option. It is update the shipment in any shipment field but not creating HU in shipment level.
    Dose there any solution via those options or there is any other solution.
    Thanks in advance,
    Itai

    I tried simulating this LSMW (message type-  PREQCR1, Baisc type -PREQCR101) and it is working fine. I used creation indicator = R in item segment - E1BPMEREQITEM and have not updated value for this field in Header. So try without any value for CREATE_IND in HEADER and just pass R in item.
    yogesh

  • Send smartforms via email using action profiles

    hi,
    i am trying to send smartforms via email using action profiles and i would like to know if anyone has any document or know any steps to do the same. i have created the smartform and i created the action in an action profile. i selected the option "Smartforms Mail". and i have mentioned my smartform in it.
    I have previously worked with action profiles to trigger workflows which sent a mail. That was relatively easier as i could mention that the mail be sent to my mailbox. But in the smartforms option, i dont know how to give the instruction that it be sent to my mailbox.. is there any place i can set it? The action is not person dependant and is done whenever saving a document.
    Please guide.
    Thanks,
    Nisha

    Hi Nisha,
    As u worked on Action profiles, i recommend u use action profile with permitted Process type as Smart Forms Mail to send the mails which contains the data in Smartform u created.
    Use below mail setting
    Form Name              (u r ZSmartform)
    Processing Class      CL_DOC_PROCESSING_CRM_ORDER
    Processing Method    CRM_ACTIVITY_EXEC_SMART_FORM
    Archive Mode            1 Mail only User
    In Action definition details u can mentioned the Processing time, Partner dependent for action to who u want to send the mail, further in action condition using schedule and start condition u can set the criteria to mail trigger.
    Hope it'll help u.
    Regards,
    Dipesh.

  • BAPI used to fetch / display Documents from Repository

    Hi
    Please let me know the BAPI used to fetch / dispaly Data from DMS Repository.
    Also, do let me know the inputs required.
    I have tried - BAPI_DOCUMENT_CHECKOUTVIEW (but while executing is always displays - 300
    The Knowledge Provider is using document type LGL as a storage system)
    Inputs given -
    Documenttype - LGL
    Documentnumber - 10000000003
    DocumentPart - 000
    DocumentVersion - 00
    Originaltype - 0 (im not sure if zero is correct)
    Getstructure - 1
    Original Path - blank
    HostName - blank
    Get Header - X
    Thanks
    Prashant

    Thanks Arun.
    Able to download file using these BAPI's from SE37.
    One query - It is downloading files in name of user (original files name not getting downloaded)
    Eg:, My file name was demo.docx but  is downloaded as myusername.doc
    Further, i hope these bapi can be called via RFC (using Java Code).
    Thanks Again.
    Regards
    HI Arun
    Further to my earlier Mail, I'm not able to upload the same using Java Code, getting the error -
    Type ::::::::E
    Message ::::::::File d:\dms\z_IPI_PRASHANT01.doc cannot be created
    While Checking the Trace in SM59, got the following error -
    Trace file opened at 20111010 142232 India Standard Time, SAP-REL 701,0,134
    ======> cannot open SAPGUI
    ABAP Programm: SAPLSYSE (Transaction: )
    User: IPI_PRASHANT (Client: 220)
    Destination: SAPFTP (handle: 3, , )
    SERVER> RFC Server Session (handle: 1, 43220900, {5D1DF3E0-ACBD-F11F-8EA0-00A0D1
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: java)
    SERVER> Called function module: RFC_START_PROGRAM
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1742
    FUNCTION: 'exec_sapgui'
    cannot open SAPGUI
    PROG =sapftp erpdev sapgw00 43232164 IDX=4
    Please helpe in getting this sorted out.
    I have been tring the same now for more than a month.
    Regards
    Edited by: Prashantroy on Oct 10, 2011 2:37 PM

  • BP data services:Can I config Job server via commandline?

    Hi Experts,
    Can I config Job server via commandline?
    I need to create a new Job server JS_TEST01/port3501 and add the repository to this Job server and restart Job server via command line,like I can create repository via command RepoManBatch.exe
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>
    Thanks
    Miller

    我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
    就好像使用DOS 命令RepoManBatch.exe创建repository一样。
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>

  • Access BAPIs Using the SAP Java Resource Adapter

    Hi experts,
    Can someone tell me how to Access BAPIs Using the SAP Java Resource Adapter?

    hi Shweta,
    Please refer the step by step procedure:
    1. Start the deploy tool of the SAP J2EE Application Server with the DeployTool.bat in the directory //<SAP J2EE Engine Installation Directory/.../j2ee/deploying.
    2. Choose Project &#8594; New Project and enter a name for the new project.
    3. Click on the Deployer tab.
    4. From the menu path, choose Deploy &#8594; EAR &#8594; Load Module and select the sapjra.rar file.
    5. For the newly created node sapjra.rar, choose Server Settings &#8594; Identity Subjects and select Caller Impersonation as authentication type, so that the J2EE user data is used to log on to the ABAP system.
    6. Make sure that the J2EE Application Server is running. Connect to the J2EE Application Server with Deploy &#8594; Connect.
    7. Deploy the sapjra.rar using the menu Deploy &#8594; Deployment &#8594; Deploy Module.
    8. Enter SAPJRADemo as application name and start the application.
    9. Close the deploy tool.
    10. Start the Visual Administrator again.
    11. Select the Cluster tab and switch to <Server Node> &#8594; Services &#8594; Connector Container.
    12. Click on the Runtime tab and choose sap.com/SAPJRADemo &#8594; eis/SAPJRADemoFactory.
    13. Choose Managed Connection Factory &#8594; Properties. On this page, you need to specify the logon data for the ABAP system. There is already some dummy data visible in the property list if no real system data has been specified so far.
    14. To change the value of a property, select the property in the list, change the value underneath it, and add the changes using the Add button. At the end, do not forget to save all changes by pressing the button Save Changes. The user configured for the SAP JRA must be the user authorized to read metadata of function modules.

  • BODS-Can I config Job server via commandline in WindowsXP

    Hi Experts,
    Can I config Job server via commandline?
    I need to create a new Job server [JS_TEST01/port3501] and add the repository to this Job server and restart Job server via command line.
    Thanks
    Miller

    我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
    就好像使用DOS 命令RepoManBatch.exe创建repository一样。
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>

  • Can I config Job server via commandline in Windows XP?

    Hi Experts,
    Can I config Job server via commandline in Windows XP?
    I need to create a new Job server (like JS_TEST01/port3501) and add the repository to this Job server and restart Job server via command line.
    Thanks
    Miller
    Edited by: Miller Li on Dec 8, 2009 4:40 AM

    我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
    就好像使用DOS 命令RepoManBatch.exe创建repository一样。
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>

  • Create extractor via rso2 using fm

    Hello
    How to create a datasorce via rso2 using an r3 standard fm ?
    When i enter an standard r3 fm  (CS_BOM_EXPL_MAT_V2) in rso2 and try to save i get error saying  " The specified table  does not exist "
    Is there any how to guide or can anyone plz give me som help
    // S

    Hi  Stisse,
    1. Go to Transaction RSO2 , Here you can select whether you want to create a datasource for transaction data, Attributes or texts.Give a technical name to the datasource and choose create.Create a Generic DataSource.
            Choose an application component to which the DataSource is to be assigned.Enter the description texts.
            You can choose whether you want to create the DataSource based on View, Function Module or InfoSet query.Choose Generic delta.
           Specify the delta specific field and its type. Maintain the settings for generic delta. Specify the safety interval.
             NOTE: safety interval should be set so that no document is missed even if it was not stored in the DB table when extraction took place.
            Select delta type : New status for changed records (i.e. after image) This can be used with data target ODS (AIE).Additive delta i.e. aggregated data records (ADD) and then choose save.
             Now choose save again. This will generate the DataSource. After generating the DataSource you will see the delta update flag selected.
            Select the fields in the selection which you want to appear in the Infopackage selection.
    Transport the DataSource to BW in Tcode RSA6(Post
    Processing of DataSources).
    The steps in BW :
    Replicate the DataSources.
    Create necessary Info objects
    Generate Info source in BW, Maintain Communication Structure and Transfer Rules
    Create Info package and schedule it.
    Hope it will help....reward points
    Regards,
    Anil.

  • F-28 No account specified, items selected via document no. or reference

    Hi Experts,
    Good day! We would like to ask again your help regarding F.28. We tried to post in the said transaction but when we didn't indicated any account, message "No account specified, items selected via document no. or reference" appeared. But when we press enter, only "Document Number" and "Reference" in the choices and "Sales Order" is missing.
    May we know how we can add Sales Document/Order in the choices?
    Your response or expert advise will be greatly appreciated. Thank you and have a nice day.

    Hi:
          For the sake of recording incoming collection in F-28 with reference to Sale order number i have an idea. Instead of enter sale order(which is not possible except using FI_HEADER_SUB_1300)  in front end screen of F-28 why not to enter it at line item level. You can make this field enabled and ready for data entry in F-28 by making it required in field status of posting key that is used in F-28 (15) in OB41....Select posting key....additional account assignment...sale order make it require. Hope ti will help you.
    Regards

  • Create BOM alternative via BAPI

    How can we create a BOM alternative via BAPI?
    I now use CSAP_MAT_BOM_MAINTAIN but then I get the following error:
    BOM already exists for 1234 W041 9
    I do not want to use batch input.
    Kind regards,
    Lieselot

    Hi,
    U can use the  following BAPI'S
    BAPI_MATERIAL_BOM_GROUP_CREAT
    BAPI_MAT_BOM_EXISTENCE_CHECK
    i hope they solve your purpose!!
    thanks

Maybe you are looking for

  • After R12 Install: FRM-41809 and FRM-41067 While Opening Forms.

    Hi all, I have upgraded apps to R12. When I try to open forms, I am getting the following errors: FRM-41809: Error initializing Menu. FRM-41067: Cannot find Menu item: invalid ID. I did the following: - Generated messages files - Generated jar files

  • Java -jar NewOW.jar

    Hello! I get an error when trying to run my apps jar ... Directory of F:\Documents and Settings\Richard\NewOW\dist 01/17/2006  07:38 PM    <DIR>          . 01/17/2006  07:38 PM    <DIR>          .. 01/17/2006  07:38 PM           595,646 NewOW.jar    

  • Email PDF Documents

    I've been using Acrobat Reader for quite some time but am a Newbie with Adobe Acrobat's features. I need some information, if someone out there would be so kind. Once you create a PDF document, of lets say 10 pages, is it possible to email only CERTA

  • 'READ_ERROR_FROM_CLIENT   exception

    Hi, I am getting the below exception I am using the web logic and iplanet server for communication .wl-proxy reports: exception occurred: 'READ_ERROR_FROM_CLIENT [os error=11, line 664 of proxy.cpp]: reading client POST data failed'

  • Business connector exceptions(java)

    Hi, I am getting java exceptions from Business connector server continously.Need to know the root cause of these errors and how they can be eliminated. The error i am getting is as below: com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: intern