Using ME21N/ME22N with own Fields from MARA

Hallo,
i need help to insert some fields from MARA in
the Tcode ME21/2N. For example MARA-GROES or MARA-ZEINR
in the Item-List.
Can i use the exit MM06E005, and has anybody a
Codeexample?
Thanks for help
Dieter
We have a new Problem. We have to store the new Fields
in the EKPO. I use EXIT_SAPMM06E_013 with xekpo-ZZEINR
but it doesn't work correct.
Has anyone an idea?
Thanks
Regards Dieter
Message was edited by: Dieter Gröhn

Hi Dieter,
1. Insert new field ZZ_ZEINR with component type<b> DZEINR</b> in structure CI_EKPODB via SE11. Save and activated once done.
2. Go to <b>SE51</b> (Screen Painter), enter program <b>SAPLXM06</b> and screen number <b>0111</b> and click on change and select maintain in original language.
3. Click on <b>Layout</b> button and create text field and input/output field for EKPO_CI-ZZ_ZEINR. Save and activated.
4. Go to SE37 and enter function module <b> EXIT_SAPMM06E_016</b> and click on include <b>ZXM06U41</b>. In here you can code something like this. Save and activated once done.
CLEAR: EKPO_CI-ZZ_ZEINR.
SELECT SINGLE *
FROM MARA
WHERE MATNR = I_EKPO-MATNR.
IF SY-SUBRC = 0.
  EKPO_CI-ZZ_ZEINR = MARA-ZEINR.
ENDIF.
Hope this will help.
Regards,
Ferry Lianto

Similar Messages

  • Change list of items in purchase order with own fields

    Hi,
    we use exit MM06E005 with own customer screens (SAPMM06E/ 0101 and 0111).
    We can change/insert the fields on this screen and store the data in EKPO.
    All is OK.
    Now we want to use these fields in the Item overview (tablecontroll?).
    Has anyone an idea how to do this?
    thanks.
    Regards, Dieter

    Hi
    If it can do it, it can try to use the BADI ME_GUI_PO_CUST
    Max

  • BDC with MM01/ MM02 from MARA table

    Can anybody suggest me for the following problem.
    I want to construct a BDC with MM01/ MM02 from MARA table.
    And I want the source file to be a notepad or Excel sheet. But i am not
    getting, that how to write the data in Notepad/Excel sheet, to feed to the
    master table according to the MM01/MM02 fields .

    This is the sample code for creation of flatfile for MM01 this will be definetly helping you to create a flatfile.
    REPORT  ZBDC_FF MESSAGE-ID BCTRAIN .
    TYPES: BEGIN OF STU,
           MATNR LIKE RMMG1-MATNR,
           MBRSH LIKE RMMG1-MBRSH,
           MTART LIKE RMMG1-MTART,
           MAKTX LIKE MAKT-MAKTX,
           MEINS LIKE MARA-MEINS,
           END OF STU.
    DATA WA_ITAB TYPE STU.
    DATA ITAB TYPE TABLE OF STU.
    WA_ITAB-MATNR = 'T1'.              "MATERIAL NUMBER"
    WA_ITAB-MBRSH = 'K'.                 "INDUSTRY SECTOR"
    WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    WA_ITAB-MEINS = 'EE'.                "BASE UNIT OF MEASURE"
    APPEND WA_ITAB TO ITAB.
    CLEAR WA_ITAB.
    *WA_ITAB-MATNR = 'TOL2'.              "MATERIAL NUMBER"
    *WA_ITAB-MBRSH = 'M'.                 "INDUSTRY SECTOR"
    *WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    *WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    *WA_ITAB-MEINS = 'EA'.                "BASE UNIT OF MEASURE"
    *APPEND WA_ITAB TO ITAB.
    *CLEAR WA_ITAB.
    *WA_ITAB-MATNR = 'TOL3'.              "MATERIAL NUMBER"
    *WA_ITAB-MBRSH = 'M'.                 "INDUSTRY SECTOR"
    *WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    *WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    *WA_ITAB-MEINS = 'EA'.                "BASE UNIT OF MEASURE"
    *APPEND WA_ITAB TO ITAB.
    *CLEAR WA_ITAB.
    *WA_ITAB-MATNR = 'TOL4'.              "MATERIAL NUMBER"
    *WA_ITAB-MBRSH = 'M'.                 "INDUSTRY SECTOR"
    *WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    *WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    *WA_ITAB-MEINS = 'EA'.                "BASE UNIT OF MEASURE"
    *APPEND WA_ITAB TO ITAB.
    *CLEAR WA_ITAB.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    FILENAME     = 'C:\Documents and Settings\chiranjeevi\Desktop\BDC.TXT'
      TABLES
        DATA_TAB     = ITAB
    IF SY-SUBRC <> 0.
    MESSAGE S999 WITH 'EXECUTED'.
    ENDIF.
    Cheers!!!

  • Can we view Color & SIZE1 field from MARA in MM43??

    Can we view Color & SIZE1 field from MARA in MM43??

    Hi Ashish,
    In MM43 on Basic data screen scroll down to see More Basic Data push button.
    Once you enter in More Basic Data screen you have field there for size/dimension.
    I'm not sure if this is what you are looking for.
    Thanks,
    Vikrant.

  • Custom sendemail in sharepoint 2013 designer workflow using dictionary object with email template from list

    I  am looking for custom sendemail in sharepoint 2013 designer workflow using dictionary object with email template from list
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Greetings.
    pls check if it helps you.
    http://msdn.microsoft.com/en-us/library/office/jj554504(v=office.15).aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • SOLUTION: tab not showing in ME21N/ME22N with badi ME_GUI_PO_CUST

    Hi,
    I implemented BADI's ME_GUI_PO_CUST and ME_PROCESS_PO_CUST to show a custom tab in the header section of ME21N, ME22N and ME23N.
    But after implementing the BADI's, the tab showed up in ME23N, but not in ME21N and ME22N.
    So I started looking for a solution in the SDN forum, and I saw that there were a LOT of people with the same problem, but nobody ever posted a solution.
    So here is the solution:
    So, I added the fields I wanted to show in the structure CI_EKKODB, implemented the BADI ME_GUI_PO_CUST (the methods SUBSCRIBE and MAP_DYNPRO_FIELDS), and the BADI ME_PROCESS_PO_CUST.
    After that the tab showed up in ME23N, not in ME21N or ME22N.
    So I found an SAP note saying the following:
    Question:
    I implemented the 'ME_GUI_PO_CUST' Business Add-In to display customer-
    specific tab titles in the EnjoySAP purchase order. They are only shown in display mode (ME23N) however, not in create or change. Why?
    Solution:
    You may have forgotten to assign a field status to the user-defined fields on these tabs. As a result, the system automatically interprets the field status as 'hidden' in create and change modes. However if a tab contains only hidden fields, then the entire tab is set to hidden. In display mode, fields without a field status are automatically set to display. That is why the tab is displayed in this case.
    To assign a field status to the user-defined fields, use the methods provided for this purpose in the Business Add-In 'ME_PROCESS_PO_CUST' (compare sample source code in the FIELDSELECTION_ITEM method).
    So in my case, I had to add some code to the  FIELDSELECTION_HEADER method of the BADI ME_PROCESS_PO_CUST.
    This is the code:
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_HEADER.
      DATA: l_persistent TYPE mmpur_bool.
      FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
    * if the item is already on the database, we disallow to change field badi_bsgru
      l_persistent = im_header->is_persistent( ).
    *   IF l_persistent EQ mmpur_yes.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_01.
        IF sy-subrc IS INITIAL.
          <fs>-fieldstatus = '*'. " Input
        ENDIF.
    *   ENDIF.
    endmethod.
    But then, I realized that this BADI was never triggered. When I entered one of the transaction codes ME21N, ME22N or ME23N, the code in the fieldselection_header method was never executed.
    So I went to transaction SE18, and entered ME_PROCESS_PO_CUST in 'Enhancement Spot' and pushed the button display.
    And there in the tab 'Enhancement Implementations', I saw an implementation that was not mine, and that did not show up in the overview of the SE18 'BADI NAME' tab for the same BADI... which to me seems strange.
    So as you may know, there can never be more than one active implementation of the BADI ME_PROCESS_PO_CUST.
    So I disactivated my implementation and put my code in the existing implementation.
    And after that it worked!

    implement first badi :ZME_GUI_PO_CUST:
    METHOD if_ex_me_gui_po_cust~subscribe.
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
    * we want to add a customer subscreen on the item detail tab
       CHECK im_application = 'PO'.
       CHECK im_element     = 'HEADER'.
    * each line in re_subscribers generates a subscreen. We add one subscreen in this example
       CLEAR re_subscribers[].
    * the name is a unique identifier for the subscreen and defined in this class definition
       ls_subscriber-name = subscreen1.
    * the dynpro number to use
       ls_subscriber-dynpro = '0001'.
    * the program where the dynpro can be found
       ls_subscriber-program = 'SAPLMEPOBADIEX'.
    * each subscreen needs his own DDIC-Structure
       ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
    * a label can be defined
       ls_subscriber-label = text-001.
    * the position within the tabstrib can be defined
       ls_subscriber-position = 4.
    * the height of the screen can be defined here. Currently we suport two screen sizes:
    * value <= 7 a sevel line subscreen
    * value > 7  a 16 line subscreen
       ls_subscriber-height = 7.
       APPEND ls_subscriber TO re_subscribers.
    ENDMETHOD.
    implement 2nd badi : ZME_PROCESS_PO_CUST:
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_HEADER.
       DATA: l_persistent TYPE mmpur_bool.
       FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
    * if the item is already on the database, we disallow to change field badi_bsgru
       l_persistent = im_header->is_persistent( ).
    *   IF l_persistent EQ mmpur_yes.
         READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_01.
         IF sy-subrc IS INITIAL.
           <fs>-fieldstatus = '*'. " Input
         ENDIF.
    *   ENDIF.
    endmethod.

  • Combining DD-MON field with YYYY field from GL table

    I am running into issues with GL_Cancelled_Date which is displaying the wrong 4 digit year. The GL_Encumbered_Date for these rows is correct and I am looking at ways to combine these fields to output the correct full DD-MON-YYYY date. The below code displays all of the bad rows of data and the last two coloumns display the correct DD-MON and YYYY dates. But I am unsure of how to combine the DD-MON from GL_Cancelled_Date with the YYYY from GL_Encumbered_Date.
    I have written out:
    SELECT
          PRH.SEGMENT1,
          prd.GL_ENCUMBERED_DATE,
          TO_CHAR(PRD.GL_ENCUMBERED_DATE,'YYYY'),
          PRD.GL_CANCELLED_DATE,
          TO_CHAR(PRD.GL_CANCELLED_DATE, 'DD-MON-YYYY'),
          to_char(prd.gl_cancelled_date,'YYYY'),
          to_char(prd.gl_cancelled_date,'DD-MON-') as date_day_month,
          to_char(prd.gl_encumbered_date,'YYYY') as date_year
    FROM
         PO_REQUISITION_HEADERS_ALL PRH,
         PO_REQUISITION_LINES_ALL   PRL,
         PO_REQ_DISTRIBUTIONS_ALL   PRD
    WHERE
         PRH.REQUISITION_HEADER_ID = PRL.REQUISITION_HEADER_ID
          AND   PRL.REQUISITION_LINE_ID   = PRD.REQUISITION_LINE_ID
          AND   PRD.GL_CANCELLED_DATE IS NOT NULL
          AND   to_char(PRD.GL_CANCELLED_DATE,'YYYY') LIKE '00%';

    Hi,
    Here's one way to correct the table:
    UPDATE  po_req_distributions_all
    SET     gl_cancelled_date = ADD_MONTHS ( gl_cancelled_date
                                           , 12 * ( EXTRACT (YEAR FROM gl_encumbered_date)
                                                  - EXTRACT (YEAR FROM gl_cancelled_date)
    WHERE   EXTRACT (YEAR FROM gl_encumbered_date)
        <>  EXTRACT (YEAR FROM gl_cancelled_date)
    When this finishes, gl_cancelled_date will always have the same year as gl_encumbered_date, but hte original months, days, hours, minutes and seconds of gl_cancelled_date will be unchanged.  (Exception: If the original gl_cancelled_date is February 29, and gl_encumbered_date is NOT in a leap year, then the day will be changed to 28, since there is no February 29 in the correct year.  If the original gl_cancelled_date is February 28, and gl_encumbered_date IS in a leap year, then the day will be changed to 29.  This can be fixed if it's a problem.)
    I hope this answers your question.
    If not, post  a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    If you're asking about a DML statement, such as UPDATE, the sample data will be the contents of the table(s) before the DML, and the results will be state of the changed table(s) when everything is finished.
    Point out where the statement above is getting the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Addition of the tab in the PO Create / Change using ME21N/ME22N Via BADi.

    Hi All,
    I am trying to add an additional tab in the scree of the Transacton ME21N / ME22N at the Item Level. The Label  of the tab is 'Test123'.
    I have already created a Separate screen ZTEST1_111 Dynpro 0100 and have a box with two input fields and the twp radio buttons
    and a Push button.
    I have Created the Implementation of the BAdi ME_GUI_PO_CUST and have Written the code inside the Method Suscribe where I have put in the code as follows:
    wa_susc-name = 'BOX1'.
    wa_susc-program = 'ZTEST1_111'.
    wa_susc-dynpro = '0100'.
      wa_susc-STRUCT_NAME = 'ZMEPO_BADI_STRUCT1'.
      wa_susc-label = 'Test123'.
    wa_susc-position = 5.
    wa_susc-height = 7.
    append wa_susc to RE_SUBSCRIBERS.
    I have also written some piece of code to the other methods as well.
    Please do let me know where have I gobe wrong. why there is no result inspite of doing the right coding.
    Am I missing on something...?
    Please guide me the right way..? If in case I need to do anything more..?
    Regards,
    Deepak.

    Hi,
    You have to implement ME_PROCESS_PO_CUST for this.
    method if_ex_me_process_po_cust~fieldselection_item this method enables you to influence the field selection properties for a field.
    By making changes to this table CH_FIELDSELECTION - Field selection table, you can influence the display properties of a field.
    it has following for selection status
    '-'   Field is suppressed
    *''   Field is purely a display field
    '.'   Input field
    '+'  Mandatory field.
    Hope this helps.
    Regards,
    Pawan

  • Proble with managment fields custom mara

    Dear Expert,
    i have created the implementation for segment E1MARAM added the new fields custom  and implemented the badi BADI_MATMAS_ALE_IN for managment this field, but the idoc not valorize thise fields???
    i know what i forgot ???
    best regards

    HI Ahmed,
    We have written the Select BAPI & are using the standard Update BAPI but we cannot get
    CUSTOM fields in MARA to update.
    So my question is :-  Does anyone have experiece on how to use the Extensionin and Extensioninx functionality
    in ithe BAPI in Visual Composer for Custom fields in table MARA or another solution.
    Thanks,
    Robert

  • Using javaScript to change a field from required to not required

    Hi,
    I have what seems like a simple question .I would like to know if it is possible to have a function call from my jsf code to a javascript function which could change a text field input from required to not required .
    I can do this through the server but would prefer to do it in the front end .
    e.g . I have a pull down list and when I click on one of the values it calls a function in javascript which changes a text field from required to not required .
    Hope this is clear .
    Thanks for your help.

    Instead of having the field required on the component defeiniton, put that requirement on code.
    Either way you can't do that on javascript. If you could do that then you could fool the aplication...

  • Using app.openDoc with LC field as path

    Using LC ES2, Acrobat X.
    I was hoping someone might be able to point me in the right direction.  Synopsis:  I have a LC form that I use to import parent/child XML data. This form is a report, but it is basically a summary of a group of PDFs that I send off to my clients (on CD).  Each child record has a field containing the name of its corresponding PDF file.  I have been trying my best to make a link that will open the child file in a new Acrobat window.  I've used app.openDoc, but cannot seem to pass my field into the cPath. I've even tried using the "address" of the field containing the path. Example:
    app.openDoc({cPath:TextField1.rawvalue,oDoc: this});
    I've tried the device independent paths as well as just "filename.pdf", where both source and targets were in the same folder.
    I thought one of my attempts was going to work, but I got the "NotAllowedError: Security settings prevent access to this property or method." message in the debugger.
    This brings me to disclosed=true.  Is is still the case that all of the target PDFs that I am linking to need to have this property set?  Or, am I missing something alltogether here?

    Sorry, I marked it as bold text but unfortunately it happens to be unformatted
    It's the app.openDoc within my function checlIfFileExists:
    try {
            if( n == 0) {
               var checkDoc = app.openDoc({cPath :  "../GAG-out/"+filename+"-001.pdf"});
            } else  { 
               var checkDoc = app.openDoc({cPath :  "../GAG-out/"+filename+"-001_"+n+".pdf"});
             checkDoc.closeDoc();
            existingDoc = true;
         } catch (e) {  
             app.alert("Processing  error: "+e)

  • Problem in using a structure with a field of  data type 'RAW STRING'

    Friends
    I have written a ZBAPI that imports a structure which has 5 fields. I have defined this in the IMPORT tab of Tr.Code <SE37>.  One of the field of this structure is of data type 'RAW STRING'.
    When I try to activate this BAPI, I get an error message as follows:
    Function Module ZBAPI_ADD_CONFIG_DNA
    "ZDAMPER_CON_DNA" Must be a flat structure. You cannot use internal table
    strings, references, or structures as components.
    Where ZDAMPER_CON_DNA is the table name that I am using.
    FOR TESTING PURPOSE, WHEN I CHANGE THE DATA TYPE FROM 'RAW STRING' TO JUST A CHAR OF LENGHT 5, IT WORKS FINE.
    Here is the source code of the simple BAPI that i am trying to activate.
    FUNCTION ZBAPI_ADD_CONFIG_DNA.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(CONFIG_DNA_DATA) TYPE  ZCONFIG_DNA_STRUCTURE
    *"  EXPORTING
    *"     VALUE(MESSAGE) TYPE  ZRETURNMESSAGE
    tables: ZDAMPER_CON_DNA.
        ZDAMPER_CON_DNA-CONFIG_ID       =     CONFIG_DNA_DATA-CONFIG_ID.
        ZDAMPER_CON_DNA-STRING_NAME     =     CONFIG_DNA_DATA-STRING_NAME.
        ZDAMPER_CON_DNA-STRING_FORMAT   =     CONFIG_DNA_DATA-STRING_FORMAT.
        ZDAMPER_CON_DNA-STRING_VALUE    =     CONFIG_DNA_DATA-STRING_VALUE.
        ZDAMPER_CON_DNA-OBJECT_NAME     =     CONFIG_DNA_DATA-OBJECT_NAME.
        INSERT ZDAMPER_CON_DNA.
        MESSAGE-SUBRC = sy-subrc.
        if sy-subrc = 0.
            MESSAGE-RETURNMESSAGE = 'SuccessfullyInserted'.
        else.
            MESSAGE-RETURNMESSAGE = 'Insert Failed'.
        endif.
    =============
    ANY KIND OF FEED BACK WILL BE HIGHLY APPRECIATED.
    THANKS
    RAM

    Hi ram,
    there is no data element exists with the name RAW STRING ,
    but check one of these names..
    Data element                   Short text
    C2S_RAWSTRING                  C2-Server: Data Element of Type Rawstring
    N2_RAWSTRING                   Byte String of Variable Length
    QISRDRAW_STRING                Data in Format RAW Character String
    RCF_RAWSTRING                  Rawstring
    RPAP_TEMPLATE_RAWSTRING        Blob of Template File
    RSRAWSTRING                    Raw String
    RSRD_RAWSTRING                 Binary Content in the Broadcasting Framework
    SWH_RAWSTRING                  Workflow: Data Type RAWSTRING
    WDR_RAWSTRING                  Byte Sequence of Variable Length
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 7, 2008 5:15 PM

  • Importing into Address Book with Custom Fields from a Text File.

    Hello
    I'm a teacher and like to create contacts for my students. The information that I want in each contact besides their name, email address and phone number are their
    student id's, semester enrolled, class number and class title. For these four fields I create a "Custom" field with the appropriate names: "ID", "Term", "Course" and "Class" respectively.
    All this information I can download from the school's server in a CSV file.
    To import the information into Address Book, I choose "File -> Import -> Text File" and then select the CSV file that I downloaded. The import utility opens up correctly showing all the fields I would like to import, however, many of the fields are marked as "Do not import." When I click on that term to select my Custom fields, they do not show up. Is this a bug or "feature" of the Address Book? It seems to me that if you are allowed to create useful custom fields, you should be able to import data into them as well.
    If I'm just ignorant of how to do this, I would appreciate some help. If there is no way to currently do this efficiently, it would be nice to have this feature added to the Address book in the near future.
    Thanks for your consideration,
    Gary

    Thanks for posting your question and the reply from rojok...
    I'm a teacher as well - in Entourage I was able to just copy a column of email addresses (say from an Excel spreadsheet, downloaded from the school's server here at U MD) and then create a group and simply paste that list into the group. Address Book makes you do the extra step of importing all the addresses first. (Note: Your last imported list of contacts in this manner shows up as "Last Import" in the groups lists column to the left in Address Book - so to add contacts to a Group there, you select that Last Import group, click once in that list column one contact, say, then select all of the list - then Command + A, for select all - then drag them all to your group you've made - i.e. "MySpringClassList"). This is NOT very intuitive I might add and incredibly cumbersome of a process.
    To get around the customizable info I needed to import... I just chose options that I don't regularly use for those things I needed to import - i.e. student I.D., these I placed under "ICQ Other" - that way they're imported at least.
    Good luck,
    Andrew

  • Using Oracle Text with CLOB field containing multiple languages

    I'm using Oracle 10g (NLS_CHARACTERSET is set to. AL32UTF8) and have a table with a CLOB field which is storing text written in either English and/or Simplified Chinese.
    The following index has been created on this field:
    CREATE INDEX text_index
    ON text_table(text_field)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('FILTER CTXSYS.INSO_FILTER');
    I'm having issues in returning text which matches the Chinese text using the CONTAINS operator. For some reason the following query is returning rows which do not contain any Chinese text:
    SELECT *
    FROM text_table
    WHERE contains(text_field,'炫%') > 1;
    A newsgroup user advised me to produce an explain plan using ctx_query.explain.
    I created 2 explain plans, one which was searching the index for 'A%' and the other searching for the Simplified Chinese character '炫%'. The results for the first test were as expected whereby the values contained within the OBJECT_NAME field all began with the letter 'A'.
    The second test however produced somewhat unexpected results. The OBJECT_NAME field this time contained various words, both English and Simplified Chinese. I could be wrong but it appeared to store every individual word in the CLOB field. Both tests produced different EQUIVALENCE rows, the first test was:
    OPTIONS = Null
    OBJECT_NAME = A%
    Whereas the second test produced:
    OPTIONS = (?)
    OBJECT_NAME = %
    Am I right in thinking the Simplified Chinese character is for some reason being converted to a '?' character?
    Any help on this will be much appreciated.

    As you're not specifying a lexer to use, it will use the BASIC_LEXER, designed for space-separated European-type languages. This won't work effectively with Chinese.
    If you know which documents are Chinese and which are English, you can write this into a LANGUAGE column and use the MULTI_LEXER - this will allow you to specify BASIC_LEXER for the English texts, and CHINESE_LEXER or CHINESE_VGRAM_LEXER for the Chinese texts.
    If you don't know the language, you must use either WORLD_LEXER (10g) or AUTO_LEXER (11g). These lexers will automatically determine the language of the documents and index them appropriately. In general. MULTI_LEXER will be faster and more accurate than either of the automatic alternatives.
    When querying for Chinese characters you need to be very careful with your NLS_LANG settings. You need to make sure that the character set defined in NLS_LANG is the same as the character set from which you've pasted (or typed) the chinese characters.
    The "?" in output usually just means "I don't know how to translate this character into your output character set". Sometimes it may appear as a reversed question mark.

  • Fill CRMD_CUSTOMER_H with customer field from Incident Management (SolMan)

    Hello,
    I have an issue:
    Customer is working with Incident Management (Solution Manager), and they have created custom field ZZFLD000003 to save the additional time for incident solving.
    Please see attached pictures.
    They have explained me, that they need to save values from ZZFLD000003 to CRMD_CUSTOMER_H table, but values are not moved to database table.
    For solution they created custom FM zai_crm_im_incident_create_rfc, the copy of standard and they need to extend it to solve issue above.
    I am really beginner in ABAP, can you please help me? Source code for your info is below.
    Many thans in advance!
    Dimitrij
    function zai_crm_im_incident_create_rfc.
    *"*"Local Interface:
    *"  IMPORTING
    *"    VALUE(IV_PROC_TYPE) TYPE  CRMT_PROCESS_TYPE OPTIONAL
    *"    VALUE(IV_SHORT_TEXT) TYPE  CRMT_PROCESS_DESCRIPTION
    *"    VALUE(IV_PRIORITY) TYPE  CRMT_PRIORITY
    *"    VALUE(IV_CATEGORY) TYPE  CRMT_ACTIVITY_CATEGORY
    *"    VALUE(IV_SUBJECT_PROFILE) TYPE  CRMT_SUBJECT_PROFILE
    *"    VALUE(IV_CATALOG) TYPE  CRMT_SRV_SUBJECT_EXT
    *"    VALUE(IV_PRODUCT_ID) TYPE  COMT_PRODUCT_ID OPTIONAL
    *"    VALUE(IV_IBASE) TYPE  IB_IBASE OPTIONAL
    *"    VALUE(IV_IBASE_INSTANCE) TYPE  IB_INSTANCE OPTIONAL
    *"    VALUE(IT_PARTNERS) TYPE  CRMT_PARTNER_COMT OPTIONAL
    *"    VALUE(IT_TEXTS) TYPE  CRMT_TEXT_COMT OPTIONAL
    *"    VALUE(IV_SAP_DATA) TYPE  AIC_S_SAP_ATTR
    *"    VALUE(IV_BPM_INFO) TYPE  AIC_S_BPM
    *"    VALUE(IT_APPX_HEADER) TYPE  ZSML_APPX_HEADER
    *"    VALUE(IT_APPX_DATA) TYPE  BCSY_TEXT
    *"    VALUE(IT_APPX_DATA_BIN) TYPE  SOLIX_TAB
    *"    VALUE(IT_SAP_NOTES) TYPE  AIC_T_SAP_NOTES_T
    *"    VALUE(IV_EXEC_BADI) TYPE  FLAG DEFAULT 'X'
    *"    VALUE(IV_UNLOCK) TYPE  CRMT_BOOLEAN DEFAULT SPACE
    *"    VALUE(IV_PERTNERS_RFC) TYPE  ZSML_PARTNERS_CRM OPTIONAL
    *"  EXPORTING
    *"    VALUE(ET_MSG) TYPE  /TMWFLOW/MO_TT_MSG
    *"    VALUE(ES_ERROR_OCCURRED) TYPE  FLAG
    *"    VALUE(ES_ID_CREATED) TYPE  CRMT_RETURN_OBJECTS_STRUC
      data : ls_partner type zsms_partners_crm,
            ls_partner_in type crmt_partner_com.
      if iv_pertners_rfc[] is not initial .
        loop at iv_pertners_rfc into ls_partner.
          clear ls_partner_in.
          ls_partner_in-ref_guid = ls_partner-ref_guid.
          ls_partner_in-partner_fct = ls_partner-partner_fct.
          ls_partner_in-partner_no  = ls_partner-partner_no.
          ls_partner_in-no_type    = ls_partner-no_type.
          append ls_partner_in to it_partners.
        endloop.
      endif.
      call function 'AI_CRM_IM_INCIDENT_CREATE'
        exporting
          iv_proc_type      = iv_proc_type
          iv_short_text      = iv_short_text
          iv_priority        = iv_priority
          iv_category        = iv_category
          iv_subject_profile = iv_subject_profile
          iv_catalog        = iv_catalog
          iv_product_id      = iv_product_id
          iv_ibase          = iv_ibase
          iv_ibase_instance  = iv_ibase_instance
          it_partners        = it_partners
          it_texts          = it_texts
          iv_sap_data        = iv_sap_data
          iv_bpm_info        = iv_bpm_info
          it_appx_header    = it_appx_header
          it_appx_data      = it_appx_data
          it_appx_data_bin  = it_appx_data_bin
          it_sap_notes      = it_sap_notes
          iv_exec_badi      = iv_exec_badi
          iv_unlock          = iv_unlock
        importing
          et_msg            = et_msg
          es_error_occurred  = es_error_occurred
          es_id_created      = es_id_created.
    endfunction.

    Hi,
    I meet the same issue, but my error message is different from yours.
    My message shows as following:
    Transaction could not be sent to SAP. See long text for detail.
    Action could not be successfully executed.
    This is what I have met at last step to confirm this message and I have no idea how to solve this issue.
    I create new incident for this issue, but I don't get any useful information back.
    They said the customer I test doesn't renew its MA, but I tried another one who has purchased new MA for his/her products to test.
    Yet, we got the same error as well.
    I also seek assistant at 3rd party, but they have no idea about this issue.
    We even restore system to one month ago when the incident was sent to SAP successfully.
    It doesn't work either.
    Hope i have assistant from someone who can fix this issue.
    Thanks

Maybe you are looking for

  • Can you please share your experience in implementing / upgrading the Primavera EPPM R8.3?

    Hi, In our company various versions (V7, R8.1 and R8.3) of Primavera being used in various locations. To bring all the location to a common platform, management has decided to implement  / upgrade Primavera EPPM P6 R8.3 and also planned to integrate

  • Free Upgrade macos 10.7 to 10.8 for new macbook

    hello, I bought a new macbook pro, can I somehow upgrade version macos 10.7 to version 10.8?

  • Problem deploying OLAP report to Crystal Reports Server

    I have developed a simple OLAP cube report using Crystal Reports Developer (11.0.0.1.1282). The report correctly previews and shows values against the cube that I have chosen as the datasource. The datasource is not my local computer but another comp

  • Problem navigating

    Hi, I have 3 views: View A: contains the roadmap (Plug to view b and c) View B: Plug to view C and A View C: Plug to view A When i fire the plug from b to c, I want on that moment that an action I defined in view A to be triggered. What code do I nee

  • Idoc with dummy data

    Dear All, Can you please send to me an Idoc (xml format) with dummy data for one of the following masterdata (MATMAS05, CREMDM04, DEBMDM06 ...) because I have MDM but I do not have any backend system (R/3, CRM..) My email addres is [email protected]