Assign own FM for mapping BAPIMTCS- BDoc

Hi All!
Help me please, how can i assign own FM for mapping BAPIMTCS  to BDoc (for object BUPA_MAIN). In tr. R3AC1 i can't do this. I can't make changes to table SMOFSUBTAB via SE11.
Thanks!

I still cannot debug my FM :-(.
I put entry in table TPS34:
Process    Ctr           Appl.    Function module.
SMOUTIL3          BUPA     Z_BUPA_MWX_BDOC_SMOUTIL2
header of Z_BUPA_MWX_BDOC_SMOUTIL2 is:
""Local Interface:
*"  IMPORTING
*"     VALUE(I_OBJNAME) TYPE  SMO_OBJNAM
*"     VALUE(I_OBJCLASS) TYPE  SMO_OBJCLA
*"     VALUE(I_SENDER_TYPE) TYPE  SMW1STID
*"     VALUE(I_SENDER_SITE_ID) TYPE  SMO_SITEID
*"     VALUE(I_TARGET_SITE_ID) TYPE  SMO_SITEID
*"  EXPORTING
*"     REFERENCE(E_DO_NOT_CALL_FLOW) TYPE  CDXFELD
*"  TABLES
*"      TI_BAPIMTCS STRUCTURE  BAPIMTCS
*"      T_MESSAGES STRUCTURE  BAPICRMMSG
*"      TI_KEY_INFO STRUCTURE  BAPICRMKEY
*"      TI_OTHER_INFO STRUCTURE  BAPIEXTC
*"      TI_BAPIIDLIST STRUCTURE  BAPIIDLIST
*"  CHANGING
*"     REFERENCE(HEADER) TYPE  SMW3_FHD
*"     VALUE(MESSAGE)
*"     VALUE(MESSAGE_EXT) OPTIONAL
*"     VALUE(ERROR_SEGMENTS) TYPE  SMW_ERRTAB
*"     VALUE(OBJECT_LINKS) TYPE  TRL_BORID
*"     VALUE(E_BAPICRMDH2) TYPE  BAPICRMDH2
i put eternal loop in this module like this:
while int < 3.
   int = int + 1.
   int = 0.
  endwhile.
but it's not any process in sm50.
I was put a breakpoints in OPEN_FI_PERFORM_SMOUTIL3_P and  
SMOF0_NEXT_GENERATION_HANDLER and not stop at them.
I suspect that i incorrectly register my FM and process not come to that.

Similar Messages

  • Functions for mapping Latin-1 character codes to and from WinLatin-1  character codes

    HI ALL
    I will like to know how could i write own functions for mapping Latin-1 character codes to and from WinLatin-1
    character codes.
    Can show me some source code or how to mapping it. Because i just begineer.
    Hope you able to help me..

    I see your issue. I tried to reproduce this issue using sqlplus.
    Setup NLS_LANG as you mentioned using WE8ISO8859P1 and connect to a UTF8 db.
    [oracle@server ~]$ locale -a | grep en_US
    en_US
    en_US.iso88591
    en_US.iso885915
    en_US.utf8
    [oracle@server ~]$ export LC_ALL=en_US.iso88591
    [oracle@server ~]$ locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.iso88591"
    LC_NUMERIC="en_US.iso88591"
    LC_TIME="en_US.iso88591"
    LC_MEASUREMENT="en_US.iso88591"
    LC_IDENTIFICATION="en_US.iso88591"
    LC_ALL=en_US.iso88591
    [oracle@server ~]$ echo $NLS_LANG
    AMERICAN_AMERICA.WE8ISO8859P1
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    AL32UTF8
    SQL> select nchr(223) from dual;
    NCHR
    ß
    SQL> select chr(223) from dual;
    ERROR:
    ORA-29275: partial multibyte character
    SQL> SELECT CHR (223 USING NCHAR_CS) from dual;
    C
    ß
    SQL>  select  CONVERT('ß', 'WE8ISO8859P1','UTF8') FROM DUAL;
    CO
    SQL> select  CONVERT(CHR(223 USING NCHAR_CS), 'WE8ISO8859P1','UTF8') FROM DUAL;
    select  CONVERT(CHR (223 USING NCHAR_CS), 'WE8ISO8859P1','UTF8') FROM DUAL
    ERROR at line 1:
    ORA-12703: this character set conversion is not supportedI found that beta is in WE8ISO8859P1 character set
    here[url http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch2charset.htm#NLSPG164]What Characters Does a Character Set Support?
    But I don't really understand whats the problem in the conversion.

  • Own F4 for one field in ALV-OO

    Hi,
    i try to create an own F4 for a specific field in my ALV-OO.
    I do it like this:
    CLASS LCL_EVENT_HANDLER DEFINITION .
      PUBLIC SECTION .
        METHODS:
       HANDLE_ONF4
             FOR EVENT ONF4 OF CL_GUI_ALV_GRID
             IMPORTING E_FIELDNAME
                       E_FIELDVALUE
                       ES_ROW_NO,
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION .
      METHOD HANDLE_ONF4.
        PERFORM HANDLE_ONF4 USING E_FIELDNAME
                                  E_FIELDVALUE
                                  ES_ROW_NO.
      ENDMETHOD.
      GR_EVENT_HANDLER->HANDLE_ONF4               FOR GR_ALVGRID.
      SET HANDLER
      CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IT_TOOLBAR_EXCLUDING = GT_EXCLUDE
    FORM HANDLE_ONF4 USING E_FIELDNAME E_FIELDVALUE ES_ROW_NO.
      BREAK-POINT.
    ENDFORM.
    My problem is, that the break-point will not be reached. Has anyone an ides what mistake i do.
    Have i to set anything in fieldcat?
    Thanks.
    Regards, Dieter

    Hi Dieter,
    modify according to your needs:
    Look at ... * loop once and append F4 result to event reference table
    METHOD handle_f4.
    * Importing VALUE( E_FIELDNAME )    TYPE LVC_FNAME  OPTIONAL  Feldname
    * Importing VALUE( E_FIELDVALUE )   TYPE LVC_VALUE  OPTIONAL  ALV-Control: Zelleninhalt
    * Importing VALUE( ES_ROW_NO )      TYPE LVC_S_ROID OPTIONAL  Zeilen ID
    * Importing VALUE( ER_EVENT_DATA )  TYPE REF TO CL_ALV_EVENT_DATA OPTIONAL  Event Daten
    * Importing VALUE( ET_BAD_CELLS )   TYPE LVC_T_MODI OPTIONAL  Fehlerhafte Zellen
    * Importing VALUE( E_DISPLAY )      TYPE CHAR01     OPTIONAL  Display only
      DATA:
        lt_return_tab TYPE TABLE OF ddshretval,
        lr_dat        TYPE REF TO data,
        lv_tabname    TYPE tabname,
        lv_fieldname  TYPE fieldname,
        lv_field TYPE scrfname.
      FIELD-SYMBOLS:
        <dat> TYPE ANY,
        <tab> TYPE table,
        <rec> TYPE ANY,
        <col> TYPE ANY,
        <tbn> TYPE ANY,
        <ret> TYPE ddshretval,
        <mod> TYPE LINE OF lvc_t_modi,
        <tmd> TYPE lvc_t_modi.
    *  use grid table currently displayed
      ASSIGN:
        mr_tabref->* TO <tab>.
    * position at field where F4 was pressed
      READ TABLE <tab> INDEX es_row_no-row_id ASSIGNING <rec>.
    * get table and field name of value inquestion
      IF e_fieldname = mc_fieldname_value_new.
        ASSIGN COMPONENT:
          'TABNAME'   OF STRUCTURE  <rec> TO <tbn>,
          'FIELDNAME' OF STRUCTURE  <rec> TO <col>.
      ELSEIF e_fieldname = mc_fieldname_value_new2.
        ASSIGN COMPONENT:
          'TABNAME2'   OF STRUCTURE  <rec> TO <tbn>,
          'FIELDNAME2' OF STRUCTURE  <rec> TO <col>.
      ENDIF.
      lv_tabname = <tbn>.
      lv_fieldname = <col>.
    * call default F4
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname    = lv_tabname
          fieldname  = lv_fieldname
        TABLES
          return_tab = lt_return_tab
        EXCEPTIONS
          OTHERS     = 5.
      IF sy-subrc = 0.
    * use table refernece in event object
        ASSIGN er_event_data->m_data->* TO <tmd>.
    * loop once and append F4 result to event reference table
        LOOP AT lt_return_tab ASSIGNING <ret>.
          APPEND INITIAL LINE TO <tmd> ASSIGNING <mod>.
          <mod>-row_id              = es_row_no-row_id.
          <mod>-fieldname           = e_fieldname.
          <mod>-value               = <ret>-fieldval.
        ENDLOOP.
        er_event_data->m_event_handled = abap_true.
      ENDIF.
    * if er_event_data->m_event_handled is not set to abap_true, system will handle it.
    * In this context the message 'Keine Eingabehilfe verfügbar' will be displayed
    ENDMETHOD.
    Regards,
    Clemens

  • Report to check the assignment of resource for a WBS

    Hi all
    As per  my knowledge there is no standard report to find the resource assigned to the WBS .
    Correct if I am wrong.
    If there is any other way where I can find the resource assigned to the particular WBS.
    Thanks & Regards
    Satish

    Dear,
    as per requirement
    if the requirement is for a particular WBS element or for the activities under it
    for activities you can assign resources through work force planning
    if the resources are already assigned or vacant can be checked through the transaction code CMP9
    CMP2 can also be used for the  same
    for checking the capacity for work center assigned to that particular activity you can use CM01
    the best transaction to check the resource assignment is CN41 you shall get the entire details of all the resource assigned for a activity thus there by getting it for a WBS element.you can have your own layout for display of the reports with the working hours and balance work
    if you directly require it over to WBS element the best means is to go for development

  • Role Assignment Discovery Issue for Files and Folders through Sharepoint REST services

    To preface, I am a decided Sharepoint newbie in every sense. I am trying to use the Sharepoint REST services (Sharepoint 2013) to walk the folder and file structure of my Sharepoint server and, determine as I go, the Role Assignments (and subsequently
    Permissions) on those folders and files. I'm using an Administrator credentials and I'm actually able to successfully do it but I've run into some caveats. All the caveats begin with this; when I'm examining a folder, for example:
    /_api/Web/GetFolderByServerRelativeUrl('/sites/cmisdev/Development')/ListItemAllFields
    I receive either an empty list or an error response doc when following the link supplied for ListItemAllFields.  When following that kind of link for folders, I either get:
    <d:ListItemAllFields
    m:null="true"
    />
    or an error response document that says "The object specified does not belong to a list." When I hit the /ListItemAllFields endpoint for files, I receive a response with a link for Role Assignments which subsequently also works and I get the
    info I need. So, is this a bug? Why does the link returned from Sharepoint work for files and not folders? So, google, google, google, and I discover that there is another possible way to get at the Role Assignments (and that the object does, indeed, belong
    to a list!).
    If I know the Title (or the guid) of the folder in question, I can use the following endpoint:
    /_api/Web/Lists/GetByTitle('Development')
    If I use that endpoint, I get the information I would have expected to get from following /ListItemAllFields and the subsequent Role Assignments links all work and I get what I need. If there's a bug and this is how I have to work around it, that's fine
    but I have yet to discover how to dynamically determine the Title of a given folder nor am I sure if all Titles are supposed to be unique within a given Sharepoint server. I'm assuming that the folder name as represented in the server relative URL and the
    Title may be different and this is where my newbishness may start to shine if I'm misunderstanding what a "List" is supposed to be in Sharepoint. Anyway, I did find that I could use the Properties endpoint to perhaps get the Title, for example:
    /_api/Web/GetFolderByServerRelativeUrl('/sites/cmisdev/Development')/Properties
    gives me:
    <d:vti_x005f_listtitle>Development</d:vti_x005f_listtitle>
    whose value I assume I could then supply to the /GetByTitle endpoint and be golden. However, "vti_x005f_listtitle" just sounds a little too deep to be something I should be relying on but maybe that's kosher. That's part of what I'm trying to
    find out. Also, if there is a way to use the Sharepoint REST API to discover the guid of a given object, then I could look it up in that way.
    So, in summary:
    1. Am I going about getting folder Role Assignment information in the wrong way? Based on the CSOM examples I've seen, I believe I'm doing it correctly and that the answer to #2 below is a resounding "Yes!" :)
    2. Is it a bug if I'm not able to use /ListItemAllFields on folders using the server relative url?
    3. If I'm supposed to use GetByTitle as a workaround, am I discovering that Title correctly through /Properties? Seems quite circuitous and awkward. Are Titles required to be unique throughout a given Sharepoint server?
    4. If I'm supposed to use the guid, how can I use the REST interface to discover an object's guid? Once we get down to the Role Assignments and other links, the guid appears in those links but I don't know how to discover it independently if that's the
    path I should use to get the data I described above.

    Upon further research, I'll answer my own question for the benefit of some other potential future newbie.  The answer to question number 1 above is "Not exactly.".  The server relative URLs I was using corresponded to lists (which are
    returned as a collection through /_api/web/lists).  I was treating them mentally like regular folders.  That, coupled with the fact that accessing their data as I showed above returns a ListItemAllFields link, made me think that was the way to get
    the Role Assignments just as I would for files and, as it turns out, "real" folders and sub-folders created under these lists.  That was the other problem with thinking of these lists as regular folders.  So, ListItemAllFields works on
    all files and folders in a list.  However, if you want Role Assignments for the lists themselves, you can keep track of the Titles and\or Guids from the /_api/web/lists that you're interested in (in my case, all non-hidden "document library"
    type lists) and then access those Role Assignments as I discussed in questions 3 and 4 above.  For example, from the /_api/web/lists collection from my test server, the "Development" document library Role Assignments are accessable via /_api/Web/Lists(guid'cd242eeb-aafa-4efa-aecc-9bbdf8e3d459')/RoleAssignments
    or /_api/Web/Lists/GetByTitle('Development')/RoleAssignments.

  • What are the best approaches for mapping re-start in OWB?

    What are the best approaches for mapping re-start in OWB?
    We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    We have number of mappings. We built process flows for mappings as well.
    I like to know, what are the best approches to incorportate re-start options in our process. ie a failure of mapping in process flow.
    How do we re-cycle failed rows?
    Are there any builtin features/best approaches in OWB to implement the above?
    Does runtime audit tables help us to build re-start process?
    If not, do we need to maintain our own tables (custom) to maintain such data?
    How did our forum members handled above situations?
    Any idea ?
    Thanks in advance.
    RI

    Hi RI,
    How many mappings (range) do you have in a process flows?Several hundreds (100-300 mappings).
    If we have three mappings (eg m1, m2, m3) in process flow. What will happen if m2 fails?Suppose mappings connected sequentially (m1 -> m2 -> m3). When m2 fails then processflow is suspended (transition to m3 will not be performed). You should obviate cause of error (modify mapping and redeploy, correct data, etc) and then repeat m2 mapping execution from Workflow monitor - open diagram with processflow, select mapping m2 and click button Expedite, choose option Repeat.
    In re-start, will it run m1 again and m2 son on, or will it re-start at row1 of m2?You can specify restart point. "at row1 of m2" - I don't understand what you mean (all mappings run in Set based mode, so in case of error all table updates will rollback,
    but there are several exception - for example multiple target tables in mapping without corelated commit, or error in post-mapping - you must carefully analyze results of error).
    What will happen if m3 fails?Process is suspended and you can restart execution from m3.
    By having without failover and with max.number of errors=0, you achieve re-cycle failed rows to zero (0).This settings guarantee existence only two return result of mapping - SUCCSES or ERROR.
    What is the impact, if we have large volume of data?In my opinion for large volume Set based mode is the prefered processing mode of data processing.
    With this mode you have full range enterprise features of Oracle database - parallel query, parallel DML, nologging, etc.
    Oleg

  • How to setup own voice for navigation?

    I have downloaded the "Own Voice" guidance for navigation but seem to have lost my setting it up. Could anyone please help me find out how to set up my own voice? By that I mean, to record my own voice? All I can do as of now is choose "Own Voice" in the Settings -> Walk/Drive -> Voice Guidance. But where to RECORD my own voice?
    Bubun (N8-00)

    @Bubun_N8
    This feature is no longer supported and only functions if you had previously created and saved your "Own Voice" recording after processing upon Nokia's servers which are no longer active.
    This was outsourced application that Nokia eventually pulled the plug upon:http://betalabs.nokia.com/trials/nokia-maps-suite-2-0/review/48660/own-voice-for-nokia-maps-availabi...
    Happy to have helped forum with a Support Ratio = 42.5

  • Assigning a Tcode for SQ02/SQ01 query

    Dear All,
    To create query i have used following steps
    1. In SQVI check the Infoset name associated with the query you are trying to run.
    2. Go to SQ02 using the infoset name.
    3. Select "Field Groups" on the toolbar. Add the field in this field group.
    4. Go to the "Code" tab on the next screen.
    5. Select "Code Section" as "Record Processing" and write the code to populate the
    column.
    6. Activate the Infoset and then activate the Query also.
    After this how to assign a tcode for the query
    pls explain in detail.
    Thanks.

    Hi,
       Follow the below mentioned steps:
    Go to Tcode SE93  give the name of the tcode which you want to be create. Give description in the next screen and select last or 5th radio button(Transaction with Parameters) and press enter in the next screen give the Transaction as START_REPORT,  next check the skip initial screen check box, next select all the GUI support check boxes, next in default values section D_SREPOVARI-REPORTTYPE = ‘AQ’(Give your own text), D_SREPOVARI-REPORT = your query name, then save it and check it.
    Cheers,
    Bujji

  • How to assign own Process code to a function module

    Hi,
      In we42.
      How to assign own Process code to a inbound idoc
    function module?
      Here function module name is not coming in the list.
    Ansar.

    Hi,
    USe transactn: WE42, define ur process code, double click and assign func module...
    To know all the transactions for ALE IDOC.. use
    WEDI.. Goto SAP easy screen there just type WEDI in command box and enter.
    Plz mark if useful..
    Regards
    Divaakr

  • How to map bapimtcs-data to bapimatmra ?

    Hello friends,
    In order to implement the user exit z_uexit_material_vtl_status mentioned in Note Nr. 623026, I need a function which can convert (or map) bapimtcs-data to bapimatmra. This is necessary beacuse the standart code includes lines which contain syntax errors ("LS_BAPIMARA" and "LS_BAPISTRUCT-DATA" are not mutually convertible in a Unicode program. error) The conversion (mapping) of
    bapimatmvk to bapimtcs is necessary, too. Here is the link leading to the problematic user exit. Any useful help would appreciated and rewarded.
    Regards;
    Özcan.

    Hi,
    This MIGHT work, I am doing something similar in one of my user exits:
    in your variable declarations put this:
    DEFINE move_casting.
      assign &1 to <unicode_x1> casting.
      assign &2 to <unicode_x2> casting.
      move <unicode_x1> to <unicode_x2>.
    END-OF-DEFINITION.
    And then at the point where you need to convert the data:
    move_casting ls_bapimtcs-data ls_bapimatmra
    I hope it helps!
    Jeroen

  • Fix for excessive data usage for "mapping services"?

    I'm experiencing a problem where my iPhone 4S running iOS 7.1.2 (though I saw this problem with 7.1.1 as well) uses huge amounts of cellular data (500 MB+) while sitting idle. Looking at usage in the Cellular section of settings reveals that the data is being used for "mapping services" under system services. I've turned off location services for all but a very few apps that truly require it. I've also turned off background refresh for all apps, cellular data for most apps and system services, as well as turning off the frequent locations feature. Unfortunately, even after making these changes, the problem occurs. Some searching does reveal a few other people reporting this (e.g. here). Unfortunately, I haven't found any reports of working solutions.
    I'm traveling in Africa, and using relatively expensive prepaid data, so this problem is actually costing me real money, having used up 2 GB (~$60). If anyone has seen this and discovered a real fix, I would love to hear about it!

    I had the same problem. Mapping Services used 1G of data over night while I was sleeping. My location services are turned off and anything else that could use mapping services. I reported the problem to Vodacom (Network service provider in South Africa) and they told me they had numerous complaints regarding this and they are going to refund my money, BUT they cannot tell me how to solve the problem going forward. Vodacom advised that Apple are upgrading their maps from Google Maps to their own iMaps application and that is why the data is being depleted in the background. This makes no sense to me though. How can they take data from customers to upgrade their systems. Very frustrating.
    My next step is to go into the apple store and see if they can do anything. If I happen to find a solution from apple I will be sure to let you know!

  • How do I use my own photos for screensaver in Mountain Lion

    How do I use my own photos for screensaver in Mountain Lion.  I cannot see how to use my photos.  It seems that the screensaver is set with factory settings.  There appears to be no alternative.

    Check out 'More like this'    >>>>>>>>>>  (Next to your original post).
    There are several references to this problem ... and some ideas.   Always a good place to look.   Don't overlook the links within the posts.

  • How to get the connected Adapter Object for a particular BDoc Type?

    Hi All,
    I have a scenario in which CRM system is connected to ERP system.
    In SMW01 transaction, I can see one BDoc with BUS_TRANS_MSG as the BDoc Type in CRM.
    Now, how do I get to know if this one BDoc is a SALESDOCUMENT or SALESCONTRACT.
    Is there any way thorough which I can get to know the Adapter Object for this particular BDoc.
    Regards,
    Madhuri

    Hi Madhuri,
               Happy new year.
    In Transaction : R3AC1.
    You can observe the Linked BDOC for the adaptor objects. For example Sales docuemnt and Sales contrcat will have the same linked BDOC as "BUS_TRANS_MSG".
    If you see an error in SMW01, you want to find whether it is salesdocument or contract.
    1. Please take the Queue name from SMW01.
    from the queue name you can find whether it is sales contract or sales document.
    Queue name is customized in tables: SMOFQFIND.
    I hope this helps you.
    regards,
    Sri...

  • HOW CAN I USE MY OWN EMAIL FOR IMESSAGE IF I DONT HAVE MY OWN ACCOUNT

    HOW CAN I USE MY OWN EMAIL FOR IMESSAGE IF I DONT HAVE MY OWN ACCOUNT

    You have to achieve at least 500 points before you are able to do that.
    Award points, level up, and earn new privileges

  • I have an iPad 2 and want to be able to design my own templates for invitations, labels, and such. What do I need to do to be able to do this? Apps??

    I have an iPad 2 and want to be able to design my own templates for invitations, labels, and such. What do I need to do to be able to do this? Apps??

    Take a look at these three sites and you might find something in one that will work for you.
    http://appadvice.com/appnn/2011/06/appguide-updated-vector-drawing-apps-ipad
    http://jaevin.com/blog/2011/02/20/ipad-sketching-drawing-apps/
    http://www.designer-daily.com/10-great-ipad-applications-for-creative-people-623 4
    I downloaded iDraw - which is an Adobe Illustrator wannabe for the iPad. You can export to PDF and other formats using iDraw. iDraw also supports file sharing. File Sharing is the iPad/iTunes way to send files back and forth from the iPad to your computer and back again.
    This site will tell you about iDraw.
    http://www.indeeo.com/idraw/
    This is a link to iOS File Sharing which you will find useful as well.
    http://support.apple.com/kb/ht4094
    There are third party apps in the app store that will allow you to use virtually any printer even if you don't have one of the HP AirPrint compatible printers.
    You can even use an app like Pages to create your templates. You can insert art and photos into Pages and it supports file sharing as well. Pages is a Word Processing app and I would be inclined to not use it for your purposes but it will work for some basic designs however it's certainly not ideal for creating artwork.
    http://www.apple.com/ipad/from-the-app-store/pages.html

Maybe you are looking for