Tab in ABAP

How to add tab between two string?
e.g.
DATA: part1(2) TYPE C.
DATA: part2(3) TYPE C.
DATA: combine(100) TYPE C.
part1 = 'aa'.
part2 = 'bb'.
I would like to add tab as the delimiter between part1 and part2.
Thanks!

Hi,
Try:
DATA: part1(2) TYPE C.
DATA: part2(3) TYPE C.
DATA: combine(100) TYPE C.
DATA: lv_ctab(1)          TYPE c.
FIELD-SYMBOLS   <f_hex>   TYPE x.
ASSIGN lv_ctab TO <f_hex> CASTING.
<f_hex> = '09'.
part1 = 'aa'.
part2 = 'bb'.
concatenate part1 part2 into combine separated by lv_ctab.
write combine.
Regards,
Mireia

Similar Messages

  • INPUT Parameter of INBOUND ABAP PROXY

    Hello Friends,
    We have created the inbound proxy via SPROXY and we have implemented the class ZACCL_MI_VENDOR_MASTER_PROXY_I for the same. Now In the structure tab of ABAP Proxy I can see the following structure of the INPUT.
    INPUT-MT_VENDOR_MASTER_PROXY -VENDOR -VENDOR_DETAIL -RECORD_TYPE.
    Now in the record_type we are passing a single parameters C or N. i.e if i is N then new and if it C then change.
    In my class implementation i am doing the followin check.
    CASE input--MT_VENDOR_MASTER_PROXY -VENDOR -VENDOR_DETAIL -RECORD_TYPE.    WHEN 'N'.
          CALL METHOD me->create_vendor
            EXPORTING
              input          = input
            IMPORTING
              title          = title
              it_recp        = it_recp
              it_contenttext = content_text.
    WHEN 'C.
          CALL METHOD me->change_vendor
            EXPORTING
              input          = input
            IMPORTING
              title          = title
              it_recp        = it_recp
              it_contenttext = content_text.
    but I am getting following error message.
    input-MT_VENDOR_MASTER_PROXY-VENDOR-VENDOR_DETAIL-RECORD_TYPE is unknown.
    Could you please help me on this issue.
    Thanks & Regards,
    Nagaraj

    If one of  MT_VENDOR_MASTER_PROXY,VENDOR or VENDOR_DETAIL  is a table type and not a flat structure, then your statement will not work.
    Suppose if VENDOR_DETAIL is a table type, then you have to access RECORD_TYPE this way.
    * Create it_vendor_detail type table of <VENDor_DETAIL>...
    it_vendor_detail[] = input-MT_VENDOR_MASTER_PROXY-VENDOR-VENDOR_DETAIL[].
    loop at it_vendor_detail into wa_vendordetail.
    case wa_vendordetail-record_type.
    when 'N'....
    when 'C'...
    endcase.
    endloop.
    Regards,
    Ravi

  • Calling xRPM standard iView from custom WD ABAP iView

    Hi,
    We have an issue regarding - calling xRPM standard iView from WD ABAP Application.
    Here are the details.
    When xRPM 4.0 application is displayed by clicking the Portfolio Management role,
    the item dashboard gets displayed. On the leftside, tabs for Reviews, Reporting Cockpits, Colections etc.
    are displayed. Below these tabs, we have a custom tab that navigates to custom WD ABAP applicaiotn.
    On click of this custom tab, WD ABAP application gets launched in same window instead of Item dashboard iView.
    Everything works good till this point.
    The requirement is - an event on this custom WD ABAP applications should navigate to standard xRPM iView (like Item Create or Item overview iView)
    we tried Object based navigation & firing a Portal event. But no navigation takes place. It stays on the current page.
    Is there any Portal setting need to be done for navigation between custom WD ABAP application and standard xRPM iView?
    Your inputs on this will rellay be helpful.
    Thanks
    Bhushan

    Hi,
    We could resolve the issue to certain extent.
    We used the following.
    Interface  - if_wd_portal_integration
    Method - navigate_absolute
    and a PCD location of Item Creation page is passed as a parameter navigation_target.
    This opens standard xRPM Item Creation iView.
    Similarly we tried opening Item Overview iView by passing ITEM GUID in Business_Parameters parameter.
    This opens the Item Overview iView but does not refer to the Item GUID passed and throws following error.
    An exception with the type CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause 
    CX_SY_NO_HANDLER CL_RPM_OBJ_MANAGER============CP CL_RPM_OBJ_MANAGER============CM01Z 1 
    CX_SY_NO_HANDLER CL_RPM_OBJ_MANAGER============CP CL_RPM_OBJ_MANAGER============CM01Z 46
    So I need to either pass the ITEM GUID parameter through  navigate_absolute method or somehow set ITEM GUID in xRPM context so that when Item Overview iView is displayed, the iView will refer the ITEM GUID.
    Thanks in advance.
    Bhushan.

  • DMS: ECC6 New tabs of Document browser & Authourizations ??????

    Hi all,
    there are new tabs of Document browser & Authourizations in ECC6 can anyone tell the significant use of it, where can i find the relevant info on it.
    Can i remove those tabs from the DIR screen, is there any configration to remove those tabs.
    Plz help.
    Thanks & regards.

    The authorisation tab is new functionality from ECC6. It allows you to incorporate authorisations on document level which expand the authorisation functionality considerably. I.e. you can now set display/change access on a department/user/etc level.
    The Document Browser tab replicates the folder structures found in EasyDMS and allows you to display/change/edit this structure from within SAP itself.
    You can remove either tab using ABAP but not using standard configuration.

  • ABAP : Adobeforms error

    Dear ABAP Experts,
    I want to design adobeform in abap.
    When I click on the layout tab in abap  then  following error occurs. Two images are attached.
    Any body can help out that how to solve this problem.
    Regards
    Aneel

    I have installed adobe 7.0 pro.   following error occurs  when I call the adobe form through abap program.
    I was testing this tutorial.
    http://wiki.scn.sap.com/wiki/display/ABAP/Call+Adobe+Form+through+ABAP+Program

  • BP Screen Layout - How to move information from one TAB to another for a BP

    Hi all,
    I am trying to understand what the actual driver of the tabs to be displayed for maintaining a BP role is in CRM 5.0.
    In my case the 'Business hour' dataset appears in the 'Control tab' but I want it to appear in the 'Calling-/Visiting hours tab'. If I delete the dataset from the BP view it disappears from the Control tab, but how do I get it to appear on the Calling-/Visiting hours tab? Could the Screen Layout be used?
    According to the steps below I created a new BP role and assigned a new BP view:
    - I created a new screen for Calling/Visiting hours (t-code BUS5) and included the section for Business hours. At the same time I created a new screen for Control and removed the section for Business hours.
    - I assigned the new screens to a new Screen sequence and at the same time deleted the two screens not relevant anymore (t-code BUS6).
    - I assigned the Screen sequence created to a new Screen sequence category (t-code BUS6).
    - Finally I assigned the Screen sequence category to the BP view (t-code BUSD) and the BP view to the BP role (IMG - Define BP roles)
    However, the screen sequence assigned does not seem to impact how the BP is displayed at maintenance (t-code BP).
    - Is it the screen sequence or the datasets assigned to the BP view in t-code BUSD that determines what tabs are displayed when maintaining the BP?
    - What is the purpose of the screen sequences?
    I would appreciate very much your support!
    Thanks,
    //Anders
    Edited by: Anders Grönwald on Mar 27, 2008 9:25 PM
    Edited by: Anders Grönwald on Mar 27, 2008 9:27 PM

    hi
    For this you need Abaper's assitance first you should know
    field , tables of 1 st data tab data from which table it is coming
    field name and all , later in new data tab in abap editor coding you shoud give that table name and field names as reference
    it's like linking, try it you can do it.
    Cheers
    Venkat

  • ABAP web dynpro Debugger

    I want to know how to debugge for AWD.
    I know the normal one, which you set the break point and so on.
    My point to to run Web Dynpro Debugger

    hi Ali ,
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
      Selecting the New Debugger
           1.      In the menu, choose Utilities -> Settings.
           2.      A dialog box now appears that contains two nested tab page areas. Choose the u201Cparentu201D tab page ABAP Editor.
           3.      The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
           4.      Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
           5.      Save your changes and close the dialog.
    reference :
    Debugging Web Dynpro ABAP Applications
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/95a6c84f7c60b7e10000000a11466f/content.htm
    pls refer the useful article :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30;jsessionid=(J2EE3414700)ID1604793850DB11193400944542901527End
    as well
    regards,
    amit

  • How to Debug a BAPI from a Web Dynpro application

    I have a Web Dynpro application calling a BAPI, and I would very much like to see what data the Web Dynpro application is passing into the BAPI, and then debug the BAPI.
    Is there a way to do this? I'm wondering if it is possible to somehow set up the ABAP stack so that on receipt of the BAPI call, it appears on the tRFC queue waiting for execution.
    However it is done, I need a way to step through the BAPI on the ABAP stack.
    BR,
    Tony.

    Hi Anthony,
    The ABAP runtime environment contains various tools that you can use for analysis purposes, such as for debugging source code. All source code written for Web Dynpro applications in ABAP can normally be tested using the debugger.
    To allow it to test other Web Dynpro-specific program entities too, the debugger has been equipped with a special enhancement. In the phase model in the active application, you can typically see the following information at various points in time:
    -The structure of the content of the current controller,
    -The properties of the UI elements in the layout of the current view
    -The currently instantiated component usages
    Starting the Debugger
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
    Selecting the New Debugger
    1. In the menu, choose Utilities -> Settings.
    2. A dialog box now appears that contains two nested tab page areas. Choose the “parent” tab page ABAP Editor.
    3. The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
    4. Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
    5. Save your changes and close the dialog.
    Starting the Debugging Process
    To run an application in debugging mode, you first need to set an external breakpoint in display mode in one of the methods in the component.
    Now start a test run of the application from ABAP Workbench as usual.
    The method in which you set the breakpoint depends on the purpose of the test run. To debug a view, for example, it is best to set the breakpoint in method WDDOMODIFYVIEW. Provided that the context of the view controller is not filled using a supply method, the view is fully instantiated in the phase model at this point in time.
    Selecting the Web Dynpro Tool in the New Debugger
    When you start the application, another session opens automatically for the debugger. If you have not yet saved any personal settings with regard to the layout of the debugger, the Editor tool will now appear on the left, with the Display Variables tool on the right.
    1. Select one of the three desktops in order to reconfigure it for debugging the Web Dynpro application (see Designing Work Areas).
    2. The right-hand edge of the debugger window has a bar of function icons. Choose the Replace Tools icon:
    3. In the next dialog box (New Tool) open the lowest node (Special Tools) and choose Web Dynpro.
    4. Confirm the dialog box.
    On the right of the debugger desktop, you will see that the previous tool has now been replaced by the Web Dynpro debugger. You can save this setting for future debugging activities. To do this, choose Save Layout In the debugger’s general toolbar.
    Thankyou,
    Ramganesh.

  • 7.2 provisioning

    Hey guys,
    Could someone who has gotten a 7.2 to work tell me what their values are in the repository Privilege and Event Tasks tabs? ABAP is my main concern at the moment but I'm having the same issues on LDAP and ABAP repositorys.
    I can assign the <repo>ONLY privilege to a user and the user will be created, I can remove that privilege and the user is deleted again. Only problem is I can not do it with any other privileges. Any time I try it with a different privilege my provisioning job gets set to deactivated in the Provisioning Queue and the privilege assignment is set to pending.
    Thanks (again) for any possible help and happy holidays!

    Jonathan Gijsemans wrote:
    I understand what you're saying Ian and I do have to agree I see the logic in it now as well.
    > But in no way is this "easier" than what we used to have in 7.1; also keeping in mind the fact that the master privilege field exists I feel like defining it there should make adding it to each and every business role (or seperate privilege assignment) obsolete.
    I see two approaches, depending on the Business Role structure:
    a) If there are "common" roles for each repository (like granting privileges that are common to all users for that repository) hook-up the account privileges there.
    b) Include the needed account privileges to each business role. Either make the business role admin to include them manually or have your role maintenance configuration to include account privileges depending to which repositories do the role have privileges for.

  • RFC Scenario

    Hi All,
    I am facing a weird problem; in the RFC scenario...when I am passing an internal table in the Import/Export tab of ABAP (SE37)....the data is correctly being passed to XI in the source structure. However, when I am passing the same internal table in Tables tab of ABAP (SE37); the data in incorrectly passed to XI (few fields are missing and few fields are misplaced. All this is bfor mapping, just between ABAP and XI. the version of ABAP I am using is 4.6C and that of XI is 7.0
    Could someone please explain why it is behaving so???
    Thanks,
    Vishal.

    Hi,
    1). you  modify the structure of RFC
    2) after modify the RFC activate it .
    3) once againg import it in integration repository
    And also check these links
    http://help.sap.com/saphelp_nw70/helpdata/EN/b0/6c52418328db2be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/06/28bc3ff6beeb0ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/8b/0010519daef443ab06d38d7ade26f4/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/8a/145db7b9c3c64e8af1c0be1dae6f37/frameset.htm
    Regards,
    Surya

  • Data source in EP7

    Hi all gurus!
    We are trying to use Solution Manager as data source for logon in our EP7 but we can't get the settings right. We have used an existing installation as a "template" but it doesn't work and it might be because the other portal is of version 6.
    They are able to keep the config file dataSourceConfiguration_databese_only.xml and still see and use the tab "SAP System". Here they enter the data for their Solution Manager system and test it. They then go to config tool and change the file to dataSourceConfiguration_r3.xml, restart the server and everything work.
    To begin with, we can't se the tab "SAP System" at all but if we choose "ABAP System" in the drop down list "Data Source" (wich by the way doesn't contain a r3-alternative) a tab named "ABAP System" appears. Here we enter the data for Solution Manager but the test fails. So here is my first question:
    Is the template ABAP ok to use with SolMan?
    In the instructions from the other company, and which you saw above, it says that data source shall be database only and that you change to ...r3.xml in configtool. We tried that also, we chose "ABAP System", made the settings and then changed to ...r3.xml in configtool but the server won't start then. So, two more questions:
    Are the test fool proof? Since we disregarded the fact that the test failed and went on to configtool...
    Is the ...r3.xml a "valid" template to use in our version (was 7.0), since the server didn't start properly?
    And the last question:
    The user in SolMan that is used for the connection, of what type should he be? Service, Communication Data or something else or is without relevance? And what groups and roles should be added to him?
    Can anybody give some advice with this information?
    Best regards
    Benny

    The username isn't important, but if you add the SID at the end it means you can change the password for the SAPJSF user for a particular portal without affecting the other users.
    Anyway, to your problem.
    No tests are foolproof - if the test fails but the portal starts that is OK for me! When you select ABAP as the type, it will change automatiaclly to dataSourceConfiguration_abap.xml - leave this as is.
    Have you followed the instructions in <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/frameset.htm">this link</a>? It is reasonably well documented.
    Cheers

  • Retrieve HRTMC_PPOM succesor comment text.

    Hi All,
    In the transaction code HRTMC_PPOM, how can we retrieve the comment text in succesor tab in ABAP?
    Please advise.
    Thanks! 
    Regards,
    Nickcy.

    Hi Nick,
    You could proceed as below:
    1) Get Successor for position from HRP1001 (Relationsip B740)
    2) From relationship line ADATANR, get the document class and id.
    Refer Include LHRTMC_PPOMREL  method get_current_comments Lines 1551 to 1556
    loop at <lt_relationships> assigning <ls_relationship_wa>.
          assign component gc_additional_data_fieldname of structure <ls_relationship_wa> to
    <ls_relationship_padnnn_wa> casting type (gv_relationship_padnnn_name).
          assert sy-subrc = 0.
          move-corresponding <ls_relationship_padnnn_wa> to <ls_padnnn_wa>. " to correctly initialize values (assign
    does not take care of it)
          append <ls_padnnn_wa> to <lt_padnnn_table>.
        endloop.
    3) Get Text based on Document class and id as below:
    Refer Include LHRTMC_PPOMBUF method get_comment Lines 259- 272
      ls_comment_key_wa-class = iv_document_class.
            ls_comment_key_wa-objid = iv_document_id.
            append ls_comment_key_wa to lt_comment_keys.
            lv_rfc_destination = get_rfc_destination(
              iv_plan_variant = iv_plan_variant
              iv_object_type  = iv_object_type
              iv_object_id    = iv_object_id ).
            create object lo_message_handler.
            cl_hrtmc_document_utils=>get_content_of_texts(
              exporting it_texts           = lt_comment_keys
                        iv_rfc_destination = lv_rfc_destination
                        io_message_handler = lo_message_handler
              importing et_contents        = lt_comment_texts
                        ev_is_ok           = lv_is_ok ).
    Regards, Zen

  • Unable to successfuly test webservice through SOAP UI while the FM works

    Hi,
    We have recently upgraded to EHP6. We created a few function modules through which web services were created. Now when we test the FM's they work perfectly fine whereas some of the webservices are not responding correctly when being tested thriough an external tool: SOAP UI.
    This particular issue is just persisting in case of only a few webservices whereas the others are working perfectly fine. After checking all the configuration seetings (though I am sure they are maintained correctly since some of the webservices are working fine) I have tried regenerating a new service and then going about testing the new wsdl file in SOAP UI but the output is same everytime. I also tried deactivating and reactivating the FM and then creating the wsdl out of the service but nothing seems to work.
    How can I test my webservice in such a case and be sure of it to be working correctly?
    Kindly help out with this issue.
    Regards,
    Shivangi

    Hi Shivangi,
    What precisely do you mean by the following?
    some of the webservices are not responding correctly when being tested thriough an external tool: SOAP UI
    Is it like you do not get any response from your web service, or an error response? Or you do receive a response, but it differs from what you get when testing the FM directly in ECC?
    In the first case, make sure you have configured your web services correctly in SOAMANAGER (or WSCONFIG + LPCONFIG in case of lower system versions).
    In case of the latter, make sure you use statements like "IS INITIAL" or "IS SUPPLIED" correctly, because input parameters may look somehow different in ECC when the FM is executed externally.
    You might also want to put an external break point for the user that authorizes your external connections and debug the FM from there to see what's wrong. For this purpose, when displaying your FM, choose: Utilities -> Settings from the top menu, and in the window that appers, go to tab page ABAP Editor, sub-tab page Debugging and type a user for external debugging (it has to be a dialog user), then place an external break point in the code.
    Hope this helps,
    Greg

  • Reg : No config stores found and extractors missing in EFWK administration

    Hi,
    We have configured RCA for ERP Production system.No tabs are apperaing when we click on change analysis such as Overview tab,EC6 ABAP Stack tab.System also throws an error message "No config stores found".
    Also when I check RCA -> common tasks -> Extractor FWMK Administration -> Managed system,the following extractors are not shown such as E2E_CCDB_TO_CUBE,SDF/DUMP_EXTRACTOR,/SDF/SYSLOG_EXTRACTOR,E2E_ME_RFC_ASYNC
    Kindly help.
    Regards
    Shailaja

    Dear Shailaja,
    You must make sure that your Managed System Configuration is done in transaction solman_setup for this managed system.
    Once everything is executed and in green status, including the Managed System Setup Wizard, the extractors will be working properly for your system.
    Best regards,
    Guilherme Balbinot

  • R3 as a Database

    Hi Team ,
               I am trying to make R3 as a backend database could some one help me wioth the procedure
    and steps please
    Thanks & Regards
    Madhu

    Hi,
    Yes,even I feel there is no need of system creation.
    You can provide the R/3 details at the following url
    http://<Server host>:<serverport>/useradmin
    click on configuration -> Modify configuration
    In the data sources tab provide ABAP system as data source.
    And in ABAP system tab you need to provide SAP R/3 system details and also make sure you have the corresponding role assigned to the user and the user type is sytem
    check this link for more details
    http://help.sap.com/saphelp_nw04s/helpdata/en/9e/fdcf3d4f902d10e10000000a114084/frameset.htm
    Also check the note
    Note 718383 NetWeaver Supported UME Data Sources and Change Options
    Hope it is clear
    Regards,
    Santhosh

Maybe you are looking for