T-code required for Substitution

Hi all,
This is regarding the query on substitution that I want to write, as per my knowledge t-code OBBH is used for FI substitutions. But when I came across the t-code GGB1 there I found the application area as sales order specific substitution where the field were all sales order specific, BUT if i want to write a substitution for Purchase order/Stock transport order.....is there any specific t-code for PO/STO similar to Sale order,as i want to create a specific Set directory in application area Profit Centre Accounting which need to be mapped as prerequsite in GGB1.
I am finding a structure PCASUB but it does not have values related to field vendor - LIFNR which is not available.
For any further information please revert..
Would appreicate the help & quick response.
Regards
S

Hi,
There is no substitution for Purchase order. You might look for user-exit...
Regards,
Eli

Similar Messages

  • Where can I find the coupon code required for registration?

    Where can I find the coupon code required for registration? I purchased the design standard at Officeworks in Australia and given the box a thorough check, but unless there is a number not labelled 'coupon code', it's definitely not there. I am using this product personally and not for business so I have no IT dept to assist.

    Find a serial number
    For anything else contact support directly or work things out with your reseller.
    Mylenium

  • HT5622 Where do I find the code required for the registration of accounts in I store?

    Where do I find code required for registration of account on Istore

    What code are you referring to ? When creating an account there is an optional field for entering an iTunes gift card code - is that what you mean ? If you do then that field can be left blank, and as iTunes gift cards aren't available in all countries (and they are country-specific) then you might not be able to fill it anyway.

  • Adapter module to read excel file -java code required for PI 7.1

    Hi PI experts,
    I am working on PI 7.1 SP 08.
    I am trying to develope an adapter module to read excel file
    http://wiki.sdn.sap.com/wiki/display/ABAP/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns
    but here in this wiki , given java code is for pi 7.0 and it is using jar file from PI 7.0
    I tried with using corresponding PI 7.1 files
    com.sap.aii.af.lib.mod.jar:
    sap.comtcloggingjavaimpl.jar:
    com.sap.aii.af.svc_api.jar:
    com.sap.aii.af.cpa.svc_api.jar:
    com.sap.aii.af.ms.ifc_api.jar:
    jave program is not throwing any error in NWDS but After deploying file on server.
    i am getting this errot in communication channel
    2009-12-15 15:47:08 Information AO: Now calling the Convert Method to convert Excel to XML.
    2009-12-15 15:47:08 Error MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    since i am not a JAVA expert so i am unable to resolve this error
    if some one has already deployed this module for PI 7.1, then please provide me java code for PI 7.1
    Thanks
    sandeep sharma

    hi,
    please try this:
    obj = inputModuleData.getPrincipalData();
    msg = (Message) obj;
    amk = new MessageKey(msg.getMessageId(),msg.getMessageDirection());
    XMLPayload xpld = msg.getDocument();
    Workbook wb = Workbook.getWorkbook((InputStream) xpld.getInputStream());
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:"msgType" ""xmlns:ns0=\""nameSpace+"\">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++)
    xmldata = xmldata+"<Record>";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++)
    xmldata = xmldata"<"cellNames<i>.getContents()">"cells<i>.getContents()"</"cellNames<i>.getContents()+">";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata"</ns0:"msgType+">"; 
    wb.close();
    byte byt[] = xmldata.getBytes();
    xpld.setContent(byt);
    inputModuleData.setPrincipalData(msg);
    Thanks,
    Mayank

  • Section code required for South Korea - Asset Retirement, Transfer

    Hello,
    We have configure the Korea client to have one Business place and section code. However, No extended WHT is activated.
    Problem encountered 'Enter section code' during the ABAON, ABAVN and ABUMN. We have configure the business in Evaluation group and the asset master is updated with the respective value.
    I have been searching through the forum and SAP notes and get no clues. I understand some of peer's for South Korea Asset configuration do not require the business placess configred in the Evaluation group and it still works.
    I have experience the Thailand, it didn't create this problem for me, with WHT activated.
    May i know is this a bug of SAP?
    Thank you so much in advance.

    What is the error message number? Check if you can find any notes suggested by SAP.

  • User exit code required for manadatory variable

    we have vendor in rows  and sales in columns, the requirement is there is a mandatory  variable for retrieving the sales between months, that is if
    customer gives calmonth january as <b>from</b> and march as<b> to</b> the sales should be from Jan to March, if the customer only gives <b>from</b> month and nothing for<b> to</b> month, only <b>from</b> month should be calculated, if the customer gives only<b> to</b> month and no <b>from</b> month, the <b>to</b> month should be calculated. Remember the variable is mandatory.

    Hi,
    Let s say
    var1 is from varaible
    var2 is to variable
    var3 is user exit variable
    USe the code like this:
    DATA:
    l_s_range TYPE rsr_s_rangesid,
    l_s_var TYPE rrs0_s_var_range.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    DATA: LOC_VAR_RANGE2 LIKE RRRANGEEXIT.
    WHEN 'VAR3'.
        IF I_STEP = 2.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
            WHERE VNAM = 'VAR1'.
          LOOP AT I_T_VAR_RANGE2 INTO LOC_VAR_RANGE
            WHERE VNAM = 'VAR2'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(8).
            L_S_RANGE-HIGH = LOC_VAR_RANGE2-LOW(8).
    IF LOC_VAR_RANGE2(8) = '00000000'.
            L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW(8).
    ENDIF.
    IF LOC_VAR_RANGE(8) = '00000000'.
            L_S_RANGE-LOW = LOC_VAR_RANGE2-LOW(8).
    ENDIF.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT  = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
          EXIT.
          ENDLOOP.
          EXIT.
          ENDLOOP.
        ENDIF.
    With rgds,
    Anil Kumar Sharma .P

  • MEP Code Require for Z10

    Ho mates,
    Can you please tell me how to find if a Z10 i purchase to a top rated ebay seller (asavings)is legal?
    After receive it, i found Is MEP locked and i can figure how to unlock it
    I Also cant get feedback since last 23th January, after the seller told me that was going to ask the manufacturer.
    It was supposed an unlocked factory device.
    O bought it to use in Portugal Country, but now requires a MEP code, to unlock SIM card?!
    Please, please help me...
    ... i am wondering that could be stolen, or something nearby
    If it is a stolen one, waht should i do?
    Report to FBI? RIM?
    Please send me a direct message, so i dont post here the IMEI, or tell me how to verify if IMEI as any issue
    Tks in advance
    Regards
    Rui
    Blackberry Theme Developer
    http://appworld.blackberry.com/webstore/vendor/65743/?lang=en&countrycode=PT

    Hi and Welcome to the Community!
    No one here, in this user-to-user community, can tell you the answers to your questions...we have no access to anything that has that information. All we can do is provide you with guidance.
    It would be rather rare (impossible, I think) for the eBay seller to have obtained, as you say, "an unlocked factory device"...from all I understand, BB makes no such devices for legal distribution to anyone. All devices produced for the authorized sales channels are MEP locked to an original carrier, and require obtaining of an MEP unlock code to allow it to be used on other carriers. As always, if an invalid code is used too many times, then the device is permanently locked to that original carrier, and even a valid code is useless.
    Your carrier should be able to inquire as to the status of your specific device...properly reported lost/stolen devices are logged as such, and the carriers have access to that information (if you can convince the agent to work hard enough for you).
    All in all, I recommend you use the eBay Buyer Protection services for your situation. From what you describe, you were sold a device that is not in compliance with what the seller described, and eBay provides protection for such circumstances.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Badi ME_PROCESS_REQ_CUST Sample Code required for changing the values

    Dear Friends,
    I am new to the Badi technology. We would like to populate/change the standard field values, (Purchasing group) during Purchase Requisition creation/change.
    Method --> PROCESS_ITEM.
    I tried the following code, but system blnaks out all the field values entered during PR creation.
    Appreciate, if you could provide me some sample code which can be of help.
    Reg
    Kumar
    Sample code----
    METHOD if_ex_me_process_req_cust~process_item .
    DATA: k_mereqitem          TYPE mereq_item,
            om_data              type mereq_item,
            om_datax             type mereq_itemx,
        k_mereqitem = im_item->get_data( ).
        check im_count = 1.
        if k_mereqitem-bsart = 'ST' and
           k_mereqitem-loekz = ' '.
        om_data-pstyp = '5'. " assign default item category code
        om_data-bnfpo = k_mereqitem-bnfpo.
        om_data-WERKS = k_mereqitem-WERKS.
        om_datax-pstyp = 'X'.
        call method im_item->set_datax
             exporting im_datax = om_datax.
        call method im_item->set_data
             exporting im_data =  om_data.
        endif.
    ENDMETHOD.

    Hi Kumar,
    i have not a special solution for your case, but i use this BADI with great effort
    As my comments in example are in german lg. i explain in short words what i do:
    X) define data
    1) select data from base item
    1a) header-data
    1b) item data (easy)
    1c) accounting data
    2+3) check field values, post warning message + mostly change values + sometimes set cursor focus on field
    Have a look and give me some points if my example increased your BADI knowledge
    regards
    Jörg
    METHOD if_ex_me_process_po_cust~process_item .
    * Business-Add-Inn ME_PROCESS_PO_CUST
    * Jörg Sauterleute - 23.12.2005
    * Ablauf:
    * 1. Datenbschaffung
    * 2. Feldänderungen prüfen + Warnung ausgeben
    * 3. Feldinhalte prüfen + evtl. ändern u. Hinweis ausgeben
      DATA: ls_mepoitem TYPE mepoitem,
            ls_mepoheader TYPE mepoheader,
            ls_mepoaccounting TYPE mepoaccounting.
    * Interfacereferenz auf <if_purchase_order_mm>
      DATA: header_obj TYPE REF TO if_purchase_order_mm.
    * Interfacereferenz auf <if_purchase_order_account_mm> über Tabelle
      DATA: it_accountings TYPE purchase_order_accountings, "Tabelle
            accounting_obj TYPE purchase_order_accounting.
    * Include für Ausgabe von Meldungen
    * im BAdI ME_PROCESS_PO_CUST niemals ABAP-Statement MESSAGE verwenden!
      INCLUDE mm_messages_mac.
    * Hilfsvariablen
      DATA: h_change_mepoitem TYPE c,
            h_text TYPE string.
      IF sy-sysid = 'HLT'. break sau. ENDIF.
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * 1. Datenbeschaffung
    * Kopfdaten
      header_obj = im_item->get_header( ).
      ls_mepoheader = header_obj->get_data( ).
    * Positionsdaten
      ls_mepoitem = im_item->get_data( ).
    * Kontierungsdaten (Accounting) über Tabelle it_accountings
      it_accountings = im_item->get_accountings( ).
    * ...IF eingebaut, weil sonst später Abbruch, wenn sy-subrc <> 0
      IF NOT ls_mepoitem-knttp IS INITIAL.
        LOOP AT it_accountings INTO accounting_obj.
          ls_mepoaccounting = accounting_obj-accounting->get_data( ).
        ENDLOOP.
      ENDIF.
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * 2. Daten prüfen -> Warnmeldung
    * Feld Empfänger (Kontierung) prüfen -> Warnmeldung
      IF ls_mepoheader-ekorg = '1000' AND
         ls_mepoheader-bsart = 'IB'.
        IF NOT ls_mepoitem-knttp IS INITIAL.
          CASE ls_mepoheader-ekgrp.
            WHEN '500' OR '501'.
              IF NOT ls_mepoaccounting-wempf IS INITIAL.
                mmpur_metafield mmmfd_recipient.       "Warenempfänger - Cursor setzen
                mmpur_message_forced 'I' 'ME' '303' text-011 '' '' ''.
    * Warnmeldung wieder aus Protokoll entfernen.
                IF ls_mepoaccounting-wempf IS INITIAL.
                  mmpur_remove_messages_by_id ls_mepoaccounting-id.
                  mmpur_business_obj_id ls_mepoaccounting-id.
                ENDIF.
              ENDIF.
            WHEN OTHERS.
              IF ls_mepoaccounting-wempf IS INITIAL.
                mmpur_metafield mmmfd_recipient.       "Warenempfänger - Cursor setzen
                mmpur_message_forced 'W' 'ME' '303' text-010 '' '' ''.
              ENDIF.
    * Warnmeldung wieder aus Protokoll entfernen.
              IF NOT ls_mepoaccounting-wempf IS INITIAL.
                mmpur_remove_messages_by_id ls_mepoaccounting-id.
                mmpur_business_obj_id ls_mepoaccounting-id.
              ENDIF.
          ENDCASE.
        ENDIF.
      ENDIF.
    * Ende Feld Empfänger (Kontierung) prüfen -> Warnmeldung
    * Ende test
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * 3. Positionsdaten prüfen/ändern -> setzen
      CLEAR: h_change_mepoitem,
             h_text.
    * Kennzeichen Wareneingang prüfen/ändern
    * Belegart 'NB' immer mit "Wareneingang" wegen Log. Rechnungsprüfung
    * Belegart 'IB' immer ohne "Wareneingang" weil Einsatz Workflow
    * (Kennzeichen 'WEPOS' setzen/nicht setzen)
      IF NOT ls_mepoitem-knttp IS INITIAL.
        CASE ls_mepoheader-bsart.
          WHEN 'NB'.
    * Prüfung ob gesetzt
    * Wenn nicht, dann setzen und Daten übergeben
    * Cursor auf Metafeld (aus Typgruppe MMMFD) für Fehlerbehandlung
            IF ls_mepoitem-wepos IS INITIAL.
              ls_mepoitem-wepos = 'X'.
              h_change_mepoitem = 'X'.
    *           im_item->set_data( EXPORTING im_data = ls_mepoitem ).
              h_text = text-001.
              mmpur_metafield mmmfd_gr_ind .       "WE-Kennzeichen - Cursor setzen
    *           message erst später ausführen!
    *           mmpur_message_forced 'I' 'ME' '303' text-001 '' '' ''.
            ENDIF.
          WHEN 'IB'.
    * Prüfung ob nicht gesetzt
    * Wenn doch, dann entfernen und Daten übergeben
    * Cursor auf Metafeld (aus Typgruppe MMMFD) für Fehlerbehandlung
            IF NOT ls_mepoitem-wepos IS INITIAL.
              ls_mepoitem-wepos = ' '.
              h_change_mepoitem = 'X'.
    *            im_item->set_data( EXPORTING im_data = ls_mepoitem ).
              h_text = text-002.
              mmpur_metafield mmmfd_gr_ind .       "WE-Kennzeichen - Cursor setzen
    *           message erst später ausführen!
    *           mmpur_message_forced 'I' 'ME' '303' text-002 '' '' ''.
            ENDIF.
        ENDCASE.
      ENDIF.
    * Ende Kennzeichen Wareneingang prüfen/ändern
    * Kennzeichen aut. WE-Abrech. (Rechnung) prüfen/ändern
    * (für autom. Gutschriftsverfahren Verpackungseinkauf)
    * Kreditordaten
      DATA: it_lfm1 TYPE TABLE OF lfm1,
            wa_lfm1 TYPE lfm1.
      IF ls_mepoheader-ekorg = '1000' AND
         ls_mepoheader-bsart = 'NB'   OR
         ls_mepoheader-bsart = 'KA'.
        IF ls_mepoitem-xersy IS INITIAL AND
           ls_mepoitem-umson IS INITIAL.                    "kostenlose Lieferung
          SELECT * FROM lfm1 INTO CORRESPONDING FIELDS OF TABLE it_lfm1
                   WHERE lifnr = ls_mepoheader-lifnr AND
                         ekorg = ls_mepoheader-ekorg.
          IF sy-subrc = 0.
            READ TABLE it_lfm1 INTO wa_lfm1 INDEX 1.
            IF wa_lfm1-xersy = 'X'.
              ls_mepoitem-xersy = 'X'.
              h_change_mepoitem = 'X'.
    *          im_item->set_data( EXPORTING im_data = ls_mepoitem ).
              h_text = text-005.
              mmpur_metafield mmmfd_ers.       " Kennz. aut.WE-Abrechnung - Cursor setzen
    *            message erst später ausführen!
    *            mmpur_message_forced 'I' 'ME' '303' text-005 '' '' ''.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    * Ende Kennzeichen aut. WE-Abrech. (Rechnung) prüfen/ändern
    * Kennzeichen WE-bezogene Rechnungsprüfung (Rechnung) prüfen/ändern
    * (für autom. Gutschriftsverfahren Verpackungseinkauf)
    * Kreditordaten bereits deklariert
    *  DATA: it_lfm1 TYPE TABLE OF lfm1,
    *        wa_lfm1 TYPE lfm1.
      IF ls_mepoitem-knttp IS INITIAL.
    * nicht anwenden bei kontierten Bestellungen
        IF ls_mepoitem-pstyp = 0.
    * nicht anwenden bei gefülltem Positionstyp (z.B. 'L' = Lohnbearbeitung, Preis 0,00 EUR)
          IF ls_mepoheader-ekorg = '1000' AND
             ls_mepoheader-bsart = 'NB'   OR
             ls_mepoheader-bsart = 'KA'.
            IF ls_mepoitem-webre IS INITIAL AND
               ls_mepoitem-umson IS INITIAL.                    "kostenlose Lieferung
              SELECT * FROM lfm1 INTO CORRESPONDING FIELDS OF TABLE it_lfm1
                       WHERE lifnr = ls_mepoheader-lifnr AND
                             ekorg = ls_mepoheader-ekorg.
              IF sy-subrc = 0.
                READ TABLE it_lfm1 INTO wa_lfm1 INDEX 1.
                IF wa_lfm1-webre = 'X'.
                  ls_mepoitem-webre = 'X'.
                  h_change_mepoitem = 'X'.
    *          im_item->set_data( EXPORTING im_data = ls_mepoitem ).
                  h_text = text-006.
                  mmpur_metafield mmmfd_gr_based_iv.   "WE-bezogene RP - Cursor setzen
    *            message erst später ausführen!
    *            mmpur_message_forced 'I' 'ME' '303' text-006 '' '' ''.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    * Ende Kennzeichen WE-bezogene Rechnungsprüfung (Rechnung) prüfen/ändern
    ** Kennzeichen Auftragsbestätigungspflicht prüfen/ändern
    ** (bisher nur Natec)
    ** Infosatzdaten (Konditionen) deklarieren
    ** Verweis of Tabelle mit Kopfzeilen immer mit TYPE TABLE OF
    *  DATA: it_ekomd TYPE TABLE OF ekomd,
    *        wa_ekomd TYPE ekomd.
    *  IF ls_mepoheader-ekorg = '1300' AND
    *     ls_mepoheader-bsart = 'NB'   .
    *    CALL FUNCTION 'ME_GET_INFORECORD_CONDITIONS'
    *      EXPORTING
    *        i_ekorg = ls_mepoheader-ekorg
    *        i_esokz = '0'                                       " '0' = NB
    *        i_infnr = ls_mepoitem-infnr
    *        i_lifnr = ls_mepoheader-lifnr
    *        i_matkl = ls_mepoitem-matkl
    *        i_matnr = ls_mepoitem-matnr
    *        i_werks = ls_mepoitem-werks
    *      TABLES
    *        tekomd  = it_ekomd.
    *    SORT it_ekomd BY datbi DESCENDING.
    *    READ TABLE it_ekomd INTO wa_ekomd INDEX 1.
    *    CASE ls_mepoheader-ekorg.
    *      WHEN '1300'.
    **     Anforderung Natec: wenn Infosatz-Kondition
    **       a)  leer o. nicht gültig  => AB setzen, wenn fehlt
    **       b)  älter       2 Monate  => AB setzen, wenn fehlt
    **       c)  nicht älter 2 Monate  => AB entfernen, wenn gesetzt
    **     Hilfsvariablen
    *        DATA: h_vgldat   TYPE sy-datum.   " Vergleichsdatum
    *        DATA: h_ergebnis TYPE c.
    **     Alter der Infosatzkondition ermitteln.
    *        CALL FUNCTION 'CCM_GO_BACK_MONTHS'
    *          EXPORTING
    *            currdate   = sy-datum
    *            backmonths = '002'
    *          IMPORTING
    *            newdate    = h_vgldat.
    *        IF wa_ekomd-datbi < sy-datum OR    " gefunden Kondition nicht gültig oder
    *           wa_ekomd-datbi IS INITIAL.      " keine Kondition gefunden
    *          h_ergebnis = 'a'.
    *        ENDIF.
    *        IF wa_ekomd-datab < h_vgldat.
    *          h_ergebnis = 'b'.
    *        ENDIF.
    *        IF wa_ekomd-datab > h_vgldat.
    *          h_ergebnis = 'c'.
    *        ENDIF.
    **       Prüfung ob nicht gesetzt
    *        IF ls_mepoitem-kzabs = ' ' AND
    *                  h_ergebnis = 'a' OR
    *                  h_ergebnis = 'b' .
    *          ls_mepoitem-kzabs = 'X'.
    *          h_change_mepoitem = 'X'.       "Merker setzen, geändert wird am Schluss
    **               im_item->set_data( EXPORTING im_data = ls_mepoitem ).
    *          h_text = text-003.
    **               message erst später ausführen!
    **               mmpur_message_forced 'I' 'ME' '303' text-004 '' '' ''.
    *        ENDIF.
    **       Prüfung ob gesetzt
    *        IF ls_mepoitem-kzabs = 'X' AND
    *           h_ergebnis        = 'c' .
    *          ls_mepoitem-kzabs = ' '.
    *          h_change_mepoitem = 'X'.       "Merker setzen, geändert wird am Schluss
    **               im_item->set_data( EXPORTING im_data = ls_mepoitem ).
    *          h_text = text-004.
    **               message erst später ausführen!
    **               mmpur_message_forced 'I' 'ME' '303' text-003 '' '' ''.
    *        ENDIF.
    *    ENDCASE.
    *  ENDIF.
    ** Ende Kennzeichen Auftragsbestätigungspflicht prüfen/ändern
    * Bestell-/Bestellpreis-Mengeneinheit prüfen/setzen
      DATA: h_txz01 TYPE mepoitem-txz01.   " Materialkurztext
      IF   ( ls_mepoheader-ekorg = '1000' OR
             ls_mepoheader-ekorg = '1500' ) AND
             ls_mepoheader-bsart = 'IB' AND
         NOT ls_mepoitem-knttp IS INITIAL.
    * Vergleichen ob eingegebene Mengeneinheit in Kurztext "avisiert"
        CONCATENATE '(' ls_mepoitem-meins ')' INTO h_txz01.
        IF ls_mepoitem-txz01 CS h_txz01.
          IF NOT ls_mepoitem-meins IS INITIAL.
            mmpur_metafield mmmfd_unit .       "Steuer-Kennz. - Cursor setzen
            mmpur_message_forced 'W' 'ME' '303' 'ME' ls_mepoitem-meins
                                                     text-031 ''.
          ENDIF.
    * sonst standarmäßig 'LE' setzen wegen Problemen bei Obligo
        ELSE.
          IF NOT ls_mepoitem-meins = 'LE'.
            ls_mepoitem-meins = 'LE'.
            ls_mepoitem-bprme = 'LE'.
            h_change_mepoitem = 'X'.
    *      im_item->set_data( EXPORTING im_data = ls_mepoitem ).
            h_text = text-030.
            mmpur_metafield mmmfd_unit .             "Steuer-Kennz. - Cursor setzen
    *      message erst später ausführen!
    *      mmpur_message_forced 'I' 'ME' '303' text-030 '' '' ''.
          ENDIF.
        ENDIF.
      ENDIF.
    * Ende Bestell-Mengeneinheit prüfen/ändern
    * Steuerkennzeichen prüfen/setzen (für EK-Gruppe 500,501)
      IF ls_mepoheader-ekorg = '5000' AND
         ls_mepoitem-matnr IS INITIAL.
        CASE ls_mepoheader-ekgrp.
          WHEN '500' OR '501'.
            IF ls_mepoitem-mwskz IS INITIAL.
              ls_mepoitem-mwskz = 'V4'.
              h_change_mepoitem = 'X'.
    *    "      im_item->set_data( EXPORTING im_data = ls_mepoitem ).
    *          h_text = text-020.
    *          mmpur_metafield mmmfd_tax_code .       "Cursor Steuer-Kennz.
    *    "      message erst später ausführen!
    *    "      mmpur_message_forced 'I' 'ME' '303' text-020 '' '' ''.
            ENDIF.
        ENDCASE.
      ENDIF.
    * Ende Steuerkennzeichen prüfen/ändern
    * zu 3.
    * zum Schluss noch die geänderten mepoitem-xxxx setzen
    * + gleiche Meldungen (I ME 303) ausgeben
      IF h_change_mepoitem = 'X'.
        im_item->set_data( EXPORTING im_data = ls_mepoitem ).
      ENDIF.
      IF NOT h_text IS INITIAL.
        mmpur_message_forced 'I' 'ME' '303' h_text '' '' ''.
      ENDIF.
    * Ende Daten prüfen/ändern -> setzen
    ENDMETHOD.                    "IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

  • T.code required for Vendor line item display and Customer line item display

    Hi Gurus,
    Pl provide me transaction code for "Vendor line item display and " Customer line item display apart from FBL1n for vendor and FBL5n for customers.
    Kindly advise.
    Regards,
    Samar

    Hi,
    You could use these, for example:
    S_ALR_87012103 - List of Vendor Line Items
    S_ALR_87012197 - List of Customer Line Items
    Just curious: what's wrong with FBL1(5)N?
    Regards,
    Eli

  • Code required for this BDC fb02.

    Hi All,
    I am sending you the Functional and tech flow design. Can any one write the code as per the below technical flow and send me the code immediately. The time is very less. Further queries give me reply.Points will be definetely rewarded
    Functional over view:
    This document covers the check and ACH which will be generated through F110 (Automatic Payment Program). A few hours after transmitting checks (the EDI 820’s and 831), Wolseley receive an EDI 824 summary document telling if the transmitted file is ok.  That is, the count and total amount of all the checks matches the count and total in the control totals EDI 831 file.  Wolseley will also receive an EDI 824 detail report of any rejected checks (date is too old, dollar amount is negative, bank routing number is wrong, etc…).  The next morning, Wolseley receives an EDI 821 confirmation that the checks were processed and mailed.  The EDI 821 is a detail document listing all checks that were processed ok.  Any check numbers missing from this file are a result of problems with printing or mailing the checks (the style ID is bad, etc…).
    Technical Flow Description
    1.     Declare internal tables similar to structures EDI 821 and EDI 824.
    2.     Populate these internal tables with flat file data using read dataset or gui_upload. (It depends on type of file i.e sequential file or presentation file)
    3.     Get the document number (PAYR-VBLNR), Company code (PAYR-ZBUKR) and Fiscal year (PAYR-GJAHR) from table PAYR into t_tab1 based on check number in the flat file.
    4.     Get the number of line items (BSEG-BUZEI) and posting key (BSEG-BSCHL) for accounting document based on internal table t_tab1.
    5.     Take the posting key as 25.
    6.     Do the recording for Transaction FB02.
    7.     If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT then insert NOTES of BANK_NOTES of Flat file into BSEG-SGTXT
    8.     If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT. Then update SAP field BSEG-XREF2 .
    9.     When Flat file check Number = PAYR-CHECT then Insert Flat file RECEIPT_DATE into SAP field BSEG-XREF1. Then update SAP fields BSEG-XREF1, BSEG-XREF2 and BSEG-SGTXT using BDC call transaction ‘FB02’.

    Hi ,
    Can any one send me atleast the sample code for my Spec. Its very urgent. Please check my spec and tell me whether you can give me the code.
    Functional over view:
    This document covers the check and ACH which will be generated through F110 (Automatic Payment Program). A few hours after transmitting checks (the EDI 820’s and 831), Wolseley receive an EDI 824 summary document telling if the transmitted file is ok. That is, the count and total amount of all the checks matches the count and total in the control totals EDI 831 file. Wolseley will also receive an EDI 824 detail report of any rejected checks (date is too old, dollar amount is negative, bank routing number is wrong, etc…). The next morning, Wolseley receives an EDI 821 confirmation that the checks were processed and mailed. The EDI 821 is a detail document listing all checks that were processed ok. Any check numbers missing from this file are a result of problems with printing or mailing the checks (the style ID is bad, etc…).
    Technical Flow Description
    1. Declare internal tables similar to structures EDI 821 and EDI 824.
    2. Populate these internal tables with flat file data using read dataset or gui_upload. (It depends on type of file i.e sequential file or presentation file)
    3. Get the document number (PAYR-VBLNR), Company code (PAYR-ZBUKR) and Fiscal year (PAYR-GJAHR) from table PAYR into t_tab1 based on check number in the flat file.
    4. Get the number of line items (BSEG-BUZEI) and posting key (BSEG-BSCHL) for accounting document based on internal table t_tab1.
    5. Take the posting key as 25.
    6. Do the recording for Transaction FB02.
    7. If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT then insert NOTES of BANK_NOTES of Flat file into BSEG-SGTXT
    8. If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT. Then update SAP field BSEG-XREF2 .
    9. When Flat file check Number = PAYR-CHECT then Insert Flat file RECEIPT_DATE into SAP field BSEG-XREF1. Then update SAP fields BSEG-XREF1, BSEG-XREF2 and BSEG-SGTXT using BDC call transaction ‘FB02’.
    DATA : BEGIN OF T_ED824 OCCURS 1,
           PAY_ADVICE_HDR(30)  TYPE C,
           CUST_REF(30)        TYPE C,
           PROCESSED_DATE(10)  TYPE C,
           PROCESSED_TIME(5)   TYPE C,
           PAYMENT_ADVICE(30)  TYPE C,
           PAYADVICE_TYPE(3)   TYPE C,
           PAYADVICE_CODE(3)   TYPE C,
           PAYEDBACH(15)       TYPE C,
           TRACE_NUMBER(30)    TYPE C,
           BATCH_AMOUNT(18)    TYPE C,
           ACCEPT_AMOUNT(18)   TYPE C,
           BANK_AMOUNT(18)     TYPE C,
           REJECT_AMOUNT(18)   TYPE C,
           BATCH_COUNT(15)     TYPE C,
           ACCEPT_COUNT(15)    TYPE C,
           BANK_COUNT(15)      TYPE C,
           REJECT_COUNT(15)    TYPE C,
           ADVICE_DESC(30)     TYPE C,
           BANK_NOTES(30)      TYPE C,
           B_TYPE(3)           TYPE C,
           B_NOTES(60)         TYPE C,
           CHECK_ADVICE(30)    TYPE C,
           CHKADVICE_TYPE(3)   TYPE C,
           CHKADVICE_CODE(10)  TYPE C,
           CHECK_NUMBER(10)    TYPE C,
           CHECK_NOTES(30)     TYPE C,
           C_TYPE(3)           TYPE C,
           C_NOTES(60)         TYPE C,
           END OF T_ED824.
    DATA : BEGIN OF T_ED821 OCCURS 1,
           PAY_REPORT_HDR(30) TYPE C,
           REPORT_TYPE(5)     TYPE C,
           RECEIPT_DATE(10)   TYPE C,
           CURRENT_DATE(10)   TYPE C,
           PAY_REPORT(30)     TYPE C,
           CUST_ACCT_NUM(35)  TYPE C,
           ISSUE_DATE(10)     TYPE C,
           TRANSAC_AMOUNT     TYPE C,
           CHECK_NUMBER(20)   TYPE C,
           PAYEE_NAME(50)     TYPE C,
           FINANCIAL_CODE(30) TYPE C,
           CHECK_CODE(3)      TYPE C,
           INST_NAME(35)      TYPE C,
    END OF T_ED821.
    Points will be definetely rewarded

  • Reason code required for movement type 122

    I am getting the above error and looked up a thread on the forum which applies to my scenario. However there was a mention of defining a text schema and assigning it to the movemnt type. Can someone help me how to do that?
    Jai
    The thread is as follows:
    We are running SRM 550 with Extended Classic scenario. When I attempt to create a return delivery, I get an error message saying: A reason has to be entered for movement type 122. But there is no way to enter the reason, i.e no fields or indicators.
    <b>The text schema for return delivery is maintained and assigned to the document type for confirmations -</b> as far as I am aware this is all the config which is necessary to activate the reason for return delivery function. Am I missing something??

    Hi Jai
    Text Types Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management  &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Types
    Text Schema: Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management  &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Schema
    Fixed Values: Menu Path : SPRO ->SAP Implementation Guide &#8594; Supplier Relationship Management  &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Fixed Values for Texts
    Best regards
    Ramki

  • Code required for IOS 8? How can I get the code to download the software update?

    I cannot download iOS 8 because I don't have any code, where can I get that code?

    It's asking you to create a passcode. You can disable it later if you wish.

  • XSLT Code requires for CASE

    HI,
    I'm very new to BI Publishere. I've to modify the oracle case stmt into XLS.
    CASE
    WHEN TRUNC (a.X_EXPIRATION_DATE) < TRUNC (SYSDATE) THEN 'Expired'
    ELSE 'Active'
    END
    Can any one help me out on it
    Edited by: user10675696 on Jan 18, 2012 3:28 AM

    What is the format of your date column? You have to bring the expiration date and sysdate into the same formats and then compare. You could use substring function to compare the dates. See the folllowing link:
    Date Comparison in BI Publisher Report
    OR look here:
    http://blogs.oracle.com/xmlpublisher/entry/date_functions
    http://www.orafaq.com/forum/t/164844/0/
    Thanks,
    Bipuser

  • Tax code required on freight charges

    Hello,
    I upgraded to 8.8.1 pl09 last weekend.
    Yesterday when we invoice our daily orders we began receiving the following error:
    "Tax code required for freight charges [A/R Invoice - Freight - Rows - Tax Code][line: 2]  [Message 439-114]"
    This is new.  Didn't happen last week, so I'm pretty sure it's due to a new setting in the upgrade.
    Can anyone please tell me how to fix this?
    If this was a requirement in the past, it was always automated.  I need it to be that way again.
    The tax code does exist, the field is just not populating as it did in the past.
    Thanks,
    jim
    Edited by: Jmonteith on Dec 13, 2011 2:21 PM

    Hi,
    I checked in DEMO, the error is displayed if the freight tax code is not defined on the row level.
    I also checked with a tax code which was marked as 'Freight'. The checkbox was marked in the tax code set up.
    When I created a new delivery, the tax code was populated for the Items as well as the freight.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Downloading apps it asks for apple ID Pass then it says "verification required". Then says Security Code required. Doesn't accept code. itunes doesn't accept code from visa card either?Please Help

    Downloading apps it asks for apple ID Pass then it says "verification required". Then says Security Code required. Doesn't accept code. itunes doesn't accept code from visa card either?Please Help

    If it is trying to verify your payment info, I would be willing to guess that it is looking for the security code for your credit card. Did you credit card just get replaced lately or the expiration date change? When is the last time that you updated your payment information in iTunes?

Maybe you are looking for