Vendor Master Rec. Attachmnt: Create ext. doc. URL addr. binary translation

After we have attached a document to a Vendor Master Record using transaction code XK02 by path of Services of Object --> Create --> Create external document (URL), we see that table: SRRELROLES (Object Relationship Services - Roles) and table: SRGBINREL (Object Relationship Services: Generic Binary Link) are populated with our Web Site values.
This connection is found by using fields in table (SRRELROLES): field OBJKEY = Vendor Number which produces the binary value field of "GUID of a Role" (ROLEID).  We then use the binary value field "GUID of a Role" (ROLEID) to search in table: (SRGBINREL) using field (Role A) and it produces Binary value field (RELATIONID).  This field RELATIONID is our URL address.  Our problem is how can we find the real value of this URL address.  Which function module, subroutine, METHOD, etc. translates this binary code back to the real URL address?     Thanks.  Frank Zwetolitz

Is the problem with oci_connect or odbc_connect?
The phpinfo() output shows '--without-unixODBC' which may be a root cause. There is no 'odbc' section shown in the phpinfo() output so I wouldn't expect odbc calls to work.
But if the issue is with OCI8, then make sure that Oracle environment variables and LD_LIBRARY_PATH are set BEFORE starting Apache.
More information on OCI8 and PHP is in http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html
Also see http://wiki.oracle.com/page/PHP+Oracle+FAQ
The PHP forum on OTN is http://www.oracle.com/technology/forums/php.html

Similar Messages

  • PM Notification Attachments via "Create Attachment" vs "Creat Ext Doc (URL)

    Uwe -
    Did you create the PM notification attachment using
    “Create Attachment”
    or “Create External Document (URL)”  ???
    Mine were created as attachments, not as external documents - that may be why your code isn't working ...
    I'm going to try to do an external document create and see if that works ...
    Dave

    FUNCTION z_pm_attachment_and_url.
    *"*"Interface local:
    *"  IMPORTING
    *"     VALUE(I_QMNUM) TYPE  QMNUM OPTIONAL
    *"     VALUE(I_AUFNR) TYPE  AUFNR OPTIONAL
    *"     VALUE(I_URL) TYPE  SO_URL OPTIONAL
    *"     VALUE(I_FILE) TYPE  ZPMCT002 OPTIONAL
    *"     VALUE(I_FILENAME) TYPE  STRING OPTIONAL
    *"  TABLES
    *"      T_RETURN STRUCTURE  BAPIRET2
    * Objetos locais
      DATA:
        vl_url         TYPE so_url,
        vl_path        TYPE string,                             "#EC NEEDED
        vl_loopc       TYPE sy-loopc,
        vl_lines       TYPE sy-loopc,
        vl_filename    TYPE string,
        vl_filelength  TYPE i,
        it_url         TYPE STANDARD TABLE OF sood-objdes,
        it_obj_cont    TYPE STANDARD TABLE OF solix,
        wa_obj         TYPE borident,
        wa_obj_cont    TYPE soli,
        wa_obj_data    TYPE sood1,
        wa_folder_id   TYPE soodk,
        wa_document_id TYPE sofmk.
      DEFINE valida_retorno.
        loop at t_return into t_return.
          if t_return-type eq zgtpm_e.
            exit.
          endif.
        endloop.
        if t_return-type eq zgtpm_e.
          exit.
        endif.
      END-OF-DEFINITION.
    * === Valida parâmetros de entrada
      IF i_qmnum IS INITIAL AND i_aufnr IS INITIAL.
    *   Nenhum objeto informado: Informe Nota ou Ordem de Manutenção
        PERFORM mensagem_retorno_tab
        USING
          'ZPM_PORTAL' zgtpm_e '055' '' '' '' ''
        CHANGING
          t_return[].
        EXIT.
      ELSEIF NOT i_qmnum IS INITIAL AND NOT i_aufnr IS INITIAL.
    *   Informe apenas um objeto: Nota ou Ordem de Manutenção
        PERFORM mensagem_retorno_tab
        USING
          'ZPM_PORTAL' zgtpm_e '054' '' '' '' ''
        CHANGING
          t_return[].
        EXIT.
      ENDIF.
      IF  i_url IS INITIAL
      AND i_filename IS INITIAL.
    *   Informe Anexo e/ou URL
        PERFORM mensagem_retorno_tab
        USING
          'ZPM_PORTAL' zgtpm_e '060' '' '' '' ''
        CHANGING
          t_return[].
        EXIT.
      ENDIF.
    * === Define Categoria de objeto
      IF NOT i_qmnum IS INITIAL.
        wa_obj-objkey  = i_qmnum.
        wa_obj-objtype = 'BUS2038'. " Nota PM
      ENDIF.
      IF NOT i_aufnr IS INITIAL.
        wa_obj-objkey  = i_aufnr.
        wa_obj-objtype = 'BUS2007'. " Ordem de manutenção
      ENDIF.
    * === Anexo
      IF NOT i_filename IS INITIAL.
    *   Conteúdo do arquivo
        IF NOT i_file[] IS INITIAL.
          it_obj_cont[] = i_file[].
          DESCRIBE TABLE it_obj_cont LINES vl_lines.
          READ TABLE it_obj_cont INTO wa_obj_cont INDEX vl_lines.
          vl_filelength =
            ( 255 * ( vl_lines - 1 ) ) + STRLEN( wa_obj_cont ).
        ELSE.
          CALL FUNCTION 'GUI_UPLOAD'
               EXPORTING
                    filename                = i_filename
                    filetype                = 'BIN'
               IMPORTING
                    filelength              = vl_filelength
               TABLES
                    data_tab                = it_obj_cont
               EXCEPTIONS
                    file_open_error         = 1
                    file_read_error         = 2
                    no_batch                = 3
                    gui_refuse_filetransfer = 4
                    invalid_type            = 5
                    no_authority            = 6
                    unknown_error           = 7
                    bad_data_format         = 8
                    header_not_allowed      = 9
                    separator_not_allowed   = 10
                    header_too_long         = 11
                    unknown_dp_error        = 12
                    access_denied           = 13
                    dp_out_of_memory        = 14
                    disk_full               = 15
                    dp_timeout              = 16
                    OTHERS                  = 17.
          IF sy-subrc <> 0.
            PERFORM mensagem_retorno_tab
            USING
             sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
            CHANGING
              t_return[].
            EXIT.
          ENDIF.
        ENDIF.
    *   Pasta de Destino
        PERFORM get_folder CHANGING wa_folder_id t_return[].
        valida_retorno.
    *   SAPoffice: definição do objeto, modificar atributos
        wa_obj_data-objla  = sy-langu.      " Idioma
        wa_obj_data-objsns = 'O'.           " Objeto confidencial
        wa_obj_data-objlen = vl_filelength. " Tamanho conteúdo documento
        wa_obj_data-ownnam = sy-uname.      " Nome proprietário
        CALL METHOD cl_report_viewer=>split_path_filename
        EXPORTING
          i_filename = i_filename
        IMPORTING
          e_path     = vl_path
          e_filename = vl_filename.
        SPLIT vl_filename AT '.' INTO
          wa_obj_data-objdes    " Descrição breve do conteúdo
          wa_obj_data-file_ext. " Extensão de file de uma aplicação PC
        CONDENSE wa_obj_data-file_ext NO-GAPS.
    *   Insere Objeto (Anexo)
        PERFORM object_insert
        USING
          'EXT' " Anexo
          wa_obj_data
          wa_folder_id
          it_obj_cont
        CHANGING
          wa_document_id
          t_return[].
        valida_retorno.
    *   Relacionamento Objeto PM x Anexo
        PERFORM relation_create
        USING
          'ATTA'
          wa_obj
          wa_document_id
        CHANGING
          t_return[].
        valida_retorno.
      ENDIF.
    * === URL
      IF NOT i_url IS INITIAL.
    *   Inicializa estruturas comuns a Anexo e URL
        CLEAR:
          it_obj_cont,
          wa_obj_cont,
          wa_obj_data,
          wa_folder_id,
          wa_document_id.
    *   Conteúdo da URL
        MOVE i_url TO vl_url.
        WHILE NOT vl_url IS INITIAL.
          CONCATENATE '&KEY&' vl_url(250) INTO wa_obj_cont.
          APPEND wa_obj_cont TO it_obj_cont.
          SHIFT vl_url LEFT BY 250 PLACES.
        ENDWHILE.
    *   Pasta de Destino
        PERFORM get_folder CHANGING wa_folder_id t_return[].
        valida_retorno.
    *   SAPoffice: definição do objeto, modificar atributos
        wa_obj_data-objla  = sy-langu. " Idioma
        wa_obj_data-objsns = 'O'.      " Objeto confidencial
        wa_obj_data-ownnam = sy-uname. " Nome proprietário
        SPLIT i_url AT '/' INTO TABLE it_url.
        DESCRIBE TABLE it_url LINES vl_loopc.
        READ TABLE it_url INDEX vl_loopc
        INTO wa_obj_data-objdes. " Descrição breve do conteúdo
    *   Insere Objeto (URL)
        PERFORM object_insert
        USING
          'URL'  " Link Inter/Intranet
          wa_obj_data
          wa_folder_id
          it_obj_cont
        CHANGING
          wa_document_id
          t_return[].
        valida_retorno.
    *   Relacionamento Objeto PM x URL
        PERFORM relation_create
        USING
          'URL'
          wa_obj
          wa_document_id
        CHANGING
          t_return[].
        valida_retorno.
      ENDIF.
    * === Libera objetos locais
      FREE:
        vl_url,
        vl_path,
        vl_loopc,
        vl_lines,
        vl_filename,
        vl_filelength,
        it_url,
        it_obj_cont,
        wa_obj,
        wa_obj_cont,
        wa_obj_data,
        wa_folder_id,
        wa_document_id.
    ENDFUNCTION.
    ***INCLUDE LZGPM0010F01 .
    *&      Form  mensagem_retorno_tab
      FORM mensagem_retorno_tab
      USING
        p_msgid TYPE symsgid
        p_msgty TYPE symsgty
        p_msgno TYPE symsgno
        p_msgv1 TYPE any
        p_msgv2 TYPE any
        p_msgv3 TYPE any
        p_msgv4 TYPE any
      CHANGING
        t_return TYPE ty_return.
        DATA:
          vl_msgty  TYPE symsgty,
          wa_return LIKE LINE OF t_return.
        IF p_msgty IS INITIAL.
          MOVE zgtpm_e TO vl_msgty.
        ELSE.
          MOVE p_msgty TO vl_msgty.
        ENDIF.
        IF p_msgno IS INITIAL.
          EXIT.
        ENDIF.
        MOVE p_msgid  TO wa_return-id.
        MOVE vl_msgty TO wa_return-type.
        MOVE p_msgno  TO wa_return-number.
        MOVE p_msgv1  TO wa_return-message_v1.
        MOVE p_msgv2  TO wa_return-message_v2.
        MOVE p_msgv3  TO wa_return-message_v3.
        MOVE p_msgv4  TO wa_return-message_v4.
        MESSAGE ID p_msgid TYPE vl_msgty NUMBER p_msgno
        WITH p_msgv1 p_msgv2 p_msgv3 p_msgv4
        INTO wa_return-message.
        APPEND wa_return TO t_return.
        FREE: vl_msgty, wa_return.
      ENDFORM.                    " mensagem_retorno_tab
    *&      Form  get_folder
      FORM get_folder
      CHANGING
        w_folder_id TYPE soodk
        t_return TYPE ty_return.
        CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
             EXPORTING
                  region    = 'B'  " ?
             IMPORTING
                  folder_id = w_folder_id
             EXCEPTIONS
                  OTHERS    = 1.
        IF sy-subrc <> 0.
          PERFORM mensagem_retorno_tab
          USING
           sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          CHANGING
            t_return[].
        ENDIF.
      ENDFORM.                    " get_folder
    *&      Form  object_insert
      FORM object_insert USING
        p_objtp     TYPE so_obj_tp
        w_obj_data  TYPE sood1
        w_folder_id TYPE soodk
        t_obj_cont  TYPE zpmct002
      CHANGING
        w_document_id TYPE sofmk
        t_return      TYPE ty_return.
    *   Objetos locais
        DATA:
          it_objcont  TYPE STANDARD TABLE OF soli,
          it_obj_head TYPE STANDARD TABLE OF soli,
          wa_obj_id   TYPE soodk,
          wa_obj_cont LIKE LINE OF t_obj_cont.
    *   RAW to CHAR
        LOOP AT t_obj_cont INTO wa_obj_cont.
          APPEND wa_obj_cont TO it_objcont.
          CLEAR wa_obj_cont.
        ENDLOOP.
    *   Insere objeto
        CALL FUNCTION 'SO_OBJECT_INSERT'
             EXPORTING
                  folder_id                  = w_folder_id
                  object_type                = p_objtp
                  object_hd_change           = w_obj_data
                  owner                      = sy-uname
             IMPORTING
                  object_id                  = wa_obj_id
             TABLES
                  objhead                    = it_obj_head
                  objcont                    = it_objcont
             EXCEPTIONS
                  active_user_not_exist      = 1
                  communication_failure      = 2
                  component_not_available    = 3
                  dl_name_exist              = 4
                  folder_not_exist           = 5
                  folder_no_authorization    = 6
                  object_type_not_exist      = 7
                  operation_no_authorization = 8
                  owner_not_exist            = 9
                  parameter_error            = 10
                  substitute_not_active      = 11
                  substitute_not_defined     = 12
                  system_failure             = 13
                  x_error                    = 14
                  OTHERS                     = 15.
        IF sy-subrc = 0.
          w_document_id-foltp = w_folder_id-objtp.
          w_document_id-folyr = w_folder_id-objyr.
          w_document_id-folno = w_folder_id-objno.
          w_document_id-doctp = wa_obj_id-objtp.
          w_document_id-docyr = wa_obj_id-objyr.
          w_document_id-docno = wa_obj_id-objno.
        ELSE.
          PERFORM mensagem_retorno_tab
          USING
           sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          CHANGING
            t_return[].
        ENDIF.
    *   Libera objetos locais
        FREE:it_objcont, it_obj_head, wa_obj_id, wa_obj_cont.
      ENDFORM.                    " object_insert
    *&      Form  relation_create
      FORM relation_create
      USING
        p_relationtype TYPE binreltyp
        w_obj          TYPE borident
        w_document_id  TYPE sofmk
      CHANGING
        t_return TYPE ty_return.
        DATA wa_doc TYPE borident.
        wa_doc-objtype = 'MESSAGE'.
        CASE p_relationtype.
          WHEN 'ATTA'.
            wa_doc-objkey  = w_document_id(34).
          WHEN 'URL'.
            wa_doc-objkey  = w_document_id.
          WHEN OTHERS.
        ENDCASE.
        CALL FUNCTION 'BINARY_RELATION_CREATE'
             EXPORTING
                  obj_rolea      = w_obj
                  obj_roleb      = wa_doc
                  relationtype   = p_relationtype
             EXCEPTIONS
                  no_model       = 1
                  internal_error = 2
                  unknown        = 3
                  OTHERS         = 4.
        IF sy-subrc = 0.
          COMMIT WORK AND WAIT.
          CASE p_relationtype.
            WHEN 'ATTA'.
    *         O anexo foi criado com êxito
              PERFORM mensagem_retorno_tab
              USING
                'SGOS_MSG' zgtpm_s '043' '' '' '' ''
              CHANGING
                t_return[].
            WHEN 'URL'.
    *         A URL foi criada com êxito
              PERFORM mensagem_retorno_tab
              USING
                'ZPM_PORTAL' zgtpm_s '059' '' '' '' ''
              CHANGING
                t_return[].
            WHEN OTHERS.
          ENDCASE.
        ELSE.
          PERFORM mensagem_retorno_tab
          USING
           sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          CHANGING
            t_return[].
        ENDIF.
        FREE wa_doc.
      ENDFORM.                    " relation_create

  • Mass upload Create External doc URLs using Services for object-Inspmethod

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data 9Insp plan/Material master etc..)

    Developing the program

  • Mass upload Create External doc URLs using Services for object-Materialmast

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data ex.Material master.

    ok

  • We have multiple accounts with a vendor but like a single Vendor Master rec

    We have situation, like with utilities, where there is a single vendor but we have multiple accounts with that vendor.  We would like to have a single master record that holds the different account numbers.  Does anyone know how to do this or other way to meet the requirement?
    Thanks in advance,
    shopsabit.

    Hello,
    You can define only one reconciliation account to vendor master data. But while FI document posting for ex. with using FB01, you can change reconciliation account.
    For example there are two reconciliation acount for vendor.
    1 - 320001 - Recon acc. 1
    2 - 320002 - Recon acc. 2
    320001 Recon acc.1 assigned to vendor master data. But you want to post FI document to vendor with 320002 Recon acc. 2.
    So please check "Recon. acct ready for input" option in FS00 for Recon acc. 1 and Recon acc. 2.
    Then go to SM30 and maintain V_THKON table. Please add line items below.
    Line 1
    G/L account : 320001
    Alter. G/L account : 320002
    Line 2
    G/L account : 320002
    Alter. G/L account : 320001
    Then you can change recon acc. while posting to vendor account. On FB01 transaction, Recon account of vendor is ready for input.
    Regards,
    Burak

  • User exit for creating/deleting vendor master

    Hello Gurus,
    I have this task that to update this customized transaction we have for the certification list of the vendors. What they want is every time that there is new vendor master to be created or deleted in XK01, the customized transaction we have for the certification list of the vendors should be updated. I am thinking to suggest  link the table LFB1 and LFA1 to the custo tcode we have to satisfy the business needs. Or any other suggestions? What are the user exits that can be use and link the creation /deletion vendors to my customized program? Technical team is asking for the user exits but not aware of them
    Thanks!

    We have this customized tcode where we input the vendor and materialu2019s expiration date manually. Then client wants to enhance that custo tcode with features when creating and deleting vendor in XK01 transaction, the new vendors data will also be automatically updated the custo tcode we have before. Its like everytime there is new vendor created, the custo tcode we have before will be updated with the new vendor data(not automatically input) then if the vendor is deleted, the vendor entry in the custo tcode we have before will also be deleted.
    I found the user exit SAPMF02K but according to the technical team it is not applicable to our issue. Any suggestions or comments or other user exit that we can use to develop this new request wanted by the client?
    Thanks!

  • Creation of new vendor master record

    When I assign Account Group, getting following error "Acc. group uses internal no. assignments, leave blank".
    if leave blank; asking to enter account group. Can anyone suggest how to select external number assignment while creating a new account group?
    Edited by: Kushal Pal on Jun 11, 2011 5:46 PM

    Hi Atif,
    I have solved the problem myself. we assign external numbers in the customization through SPRO u2013 SAP reference IMG u2013 Finance Accounting u2013 Accounts Receivable and Accounts Payable u2013 Vendor Accounts u2013 Master Data u2013 Preparation for Creating Vendor Master Data u2013   Create Number Ranges for Vendor Accounts ans selecting Ext check box as first step.
    In the second step, by selecting "Assign Number Ranges to Vendor Account Groups" in the same customization.
    Your suggestion was helpful but I had already worked out. XKN1 is the correct Trans. to look into assigned ranges.
    Thanks.
    Edited by: Kushal Pal on Jun 13, 2011 4:55 AM

  • Creation of Vendor Master Data

    Hi,
    In my company they are currently using this process to create Vendor Master Data: The Vendor Master Data is created in the Production Server and refreshed to Development Server and to Quality Server, using ALE.
    Is this the right process? If not can you let me know the steps to create Vendor Master Data.
    regards,
    raj

    Hi Raj,
    ALE and IDoc is the best way to transfer master data between SAP system. They have excellent error handling and reprocessing capabilities (Recommended by SAP).
    In order to automate the vendor master data transfer, you need to do the following steps.
    1. Create Logical System (if not available) for PROD, QA and DEV system.
    2. Create RFC Destination (SM59) from PROD to QA and DEV system.
    3. Create Distribution Model from PROD to QA/DEV (BD64) for message type CREMAS (Vendor Master).  
    4. Create Partner Profile (WE20) for message type CREMAS in PROD, QA and DEV system.
    5. Execute transaction code BD14 (Send Vendor) from PROD to QA and DEV system.
    6. To monitor the IDoc, you can use transaction code WE02.
    If you are not familiar with ALE/IDoc setup, please work with technical folk.
    Hope this will help and give an idea.
    Regards,
    Ferry Lianto

  • Partner roles in Vendor master record

    Hi all
    can some one explain me how to enter the partner roles in vendor master record
    In sap help i didnt understood this point
    "When working with partner roles, you must maintain the following settings:
    Separate vendor master records must exist for all the partners of a vendor that are to be entered in that vendor’s master record."
    what does it mean
    suppose i am creating vendor master record 1234
    Vendor master record:1234
    LF 1234       /*vendor
    BA1234       /*ordering address
    i have to click 1234 in BA  and select 'parner' at the top to enter the ordering adress right ...
    what is the 'Separate vendor master records must exist for all the partners' mean
    it has to be like this?
    Vendor master record:1234
    LF 1234       /*vendor
    BA1235       /*ordering address
    1235 vendor master record is created earlier and ordering address maintained ??
    please help me in this record, any user manual or some screen shots to explain how to maintain partner roles in vendor master record
    regards
    Bhushan.N

    Hi Sasi ,
    What Ramkrishna explained is correct. I will try to illustrate it with the example.
    Suppose you  are creating a vendor 1234 which is Head office of the supplier where you need to place the order. But goods will be supplied from Pune plant so you should enter 1235 againts partner function GS , here 1235 is seperate  vendor master record with Pune plant details & it must exist in the system so that you can use it as a partner function Hope this has cleared your doubts.
    Similarly you vcan create other partner functions like payee,ordering party etc.
    Regards,
    Anand

  • Partner Bank Type in Vendor Master

    Good afternoon
    I have the situation where a Vendor has more than one bank account - eg. one bank account for Euro and one bank account for Sterling
    In the vendor master I have created the 2 lines on the bank details screen and created Partner bank types EUR1 & GBP1 under the BnkT field. First question is can these be pre-defined anywhere in Customizing?
    I have assigned eg. the GBP1 Partner Bank type in the header "Payments" tab when in transaction MIRO however I am getting an error message that says "Customer has no bank details of the bank type GBP1"
    Please help. Thank you

    Hello
    I have checked transactio FI01.
    The bank key and country for my 2 bank accounts are the same and are already set up. I do not see anything that would link to the BnkT field. Any other ideas?
    It's the BVTYP field (Partner Bank type header) in the MIRO transaction that does not seem to link to the BnkT field in the vendor master bank details. Do you know why this is?

  • Vendor master maintenance from one client to other

    Hi,
    Vendor master will be created in a production client and transferred to other client using ALE.
    The changes will be made only in first prodcution client.
    For any changes in vendor master of those vendorsin first production client, needs to get updated in the second client too.
    Eg.
    I have 10 vendors in first client and 6 is related to second client.
    I am modifying the all the vendors. When i execute BD21 it selects all the vendors and posts to the destination(second) client.
    But, we would like to send idocs related to Second client vendors only.
    Note: We are identifying the second client vendors using a match code in a different table.
    We would like the system to check, for these match code for identifying the vendors and send the idoc..
    Can you help on this please?
    Thanks in advance,
    Sasi

    Hi,
    1. If your vendor changes should be updated from one system to other system through ALE, we need to active the change pointers.
    2. Change points can be activate through Tcode SALE
    3. After activating change points and your distribution model is ready, you can execute the program RBDMIDOC to genarate the IDOCs.
    4. Normally this program will be executed in the background
    5. And as you said, you have to do some validations before sending IDOCs. For this you can Filters and rules in the DM.
    OR you can write the code in user-exists of outbound posting program.
    Rewards if this info is useful.
    Thanks,

  • Confirmation Control Key Value in vendor master overwritten by Info Record?

    Dear all
    In the standard 3rd party processing, we will use S/O to trigger PR and we then convert PR to PO. And when PO is converted, Confirmation Control Key (CCK) Z01 maintained in Vendor master purchasing view will be adopted for all the items in the PO, and in the purchase infor Record for the combination of material & this vendor, we do not maintain any CCK value there.
    However recently, the system behaves in such a way that the CCK value does not automatically show up in PO item anymore. And I have been thinking can it be the fact that the blank value of CCK in info record will overwrite the Z01 value in the CCK of vendor master? But if so, why all the past PO I have checked does not have CCK value maintained in info record but the CCK was able to appear automatically?
    An interesting fact is that if I create the PO manually by enter Vendor with CCK value Z01, Org Data, account assignment S and Item category S (both for 3rd party processing), and then the material and hit ENTER, the CCK value Z01 will appear in PO Item level under tab: Confirmation.
    However, once I enter the PLANT value in PO Overview, seem like the Empty value of CCK in info record will overwrite the existing Z01 value.
    Please advise if it is how the info record CCK work to overwrite? Also, how do I get back to the stage where the info record CCK will not overwrite as I do not want to spend time to update all the info record CCK to have Z01.
    Thanks

    Dear Manohar Raju Kanchanapally
    I do not understand why this OSS note SAP Note 909885 - ME21N: Confirmation control key not
    from vendor mentions the following:
    Symptom:
    When you create a purchase order using Transaction ME21N, the confirmation control key from the vendor master is not used, although it is maintained.
    Cause and Prerequisites:
    The symptom occurs if no confirmation control key was maintained in the existing purchasing info record.
    Solution:
    Implement the attached correction instructions as a modification.
    It is totally contrary with the General Rule that the most specific will always prevails, meaning if I do not maintain CCK value in the Info Record, it will overwrite the CCK value I maintain vendor master when I create PO using same vendor, material, purchaisng org and plant!
    Please help!
    Edited by: Daimos on Sep 17, 2009 1:22 PM
    Edited by: Daimos on Sep 17, 2009 1:22 PM

  • Different vendor group, but 1 vendor master

    Dear Friends,
    Can I have this facility in SAP.
    Different account groups to be maintained, but vendor master should be created only 1 vendor master with common no.
    Display separate balances for vendors in Balance Sheet as:
    Creditors for Material Purchase
    Creditors for Capital Purchase
    Creditors for Acceptance
    Regards,
    Ram

    Hi,
    Better to use Define Alternative Reconciliation Account for Vendors like
    1. Creditors for Material Purchase - xxx1
    2. Creditors for Capital Purchase - xxx2
    3. Creditors for Acceptance  - xxx3
    Sundry creditors -
    xxxx0 Main Recon account.
    In this step, you define accounts which show the posting of a
    corresponding special G/L transaction to the general ledger. The
    postings are made to these accounts instead of to the normal
    reconciliation account.
    Path:
    SM30 --> table V_THKON.
    Hope it clear.
    Search for More help for Alternative Recon settings.
    Regards,
    Kishore K

  • How use of alternative data in Vendor master and fn??

    Hi
    Here is the scenario
    We have the vendor master where, in alternative data all the plants is linked to the vendor with some plant specific data to it such as planning calender by night, plan delivery time, and purchasing group.
    and all these info is fed to the system through ABAP forms, so when i try to amend some of the plant specific data through the form it does erase the existing data  and doesn't overwrite the new data into it
    to find the root cause i need the following
    Question -
    1. How do we make the alternative data active in vendor master- either through config changes or is there anything else??
    2. what may be the possible reasons for the plant data not overwriting
    Please do reply in detail and if config changes with steps
    Thanks for everyone
    Regards/Suresh

    1. How do we make the alternative data active in vendor master- either through config changes or is there anything else??
    It is std functionality in Vendor master, could be created thru XK01 or XK02.
    2. what may be the possible reasons for the plant data not overwriting?
    Check the ABAP part, might be missing something...
    Regards
    TGB

  • Mobile Number Change in Vendor Master

    Hi,
    We have a problem, we want to change mobile number of about 1000 number  vendors in vendor master, we have created lsmw thru t-code xk02, fk02 but it is saving mobile number in recording, but actually not changing mobile number in material master. Reason, the screen is different, in lsmw and xk02.
    Can somebody help me.
    Ishu

    Hi Ishu,
    Yes, transactions can behave differently in recordings than when run manually. There's a system variable that the programs can check to find out how they are started and then behave differently dependent on it.
    Therefore it is suggested to avoid recordings as much as possible and use standard SAP tools instead. In this case, there's BAPI available for updating vendor addresses:
    Object BUS4001
    Method SAVEREPLICA
    BR
    Raf

Maybe you are looking for

  • Using raw

    Dear all I searched the forum but did not found answer to this question that I would assume was asked several times before : Using I photo 7.35 and having downloaded plenty pictures in both JPEG and RAW format, I realize now how much better Raw is, a

  • LR 5.3 RC, export by megapixels doesn't work?

    Hi, I haven't noticed this before. I know that in LR 4.4 image is scaled properly when export size is specified by megapixels instead of pixel or print size. In LR 5.3RC it does not work. The image is always exported as it's original size. Not sure h

  • Ios7 issues with apps locking up

    After downloading the new IOS7 apps now lock up. I can't use the solitaire app or read The Washington Post etc. a white square or bar appears and then you can't do anything else. Help.

  • Sol 7 to sol 8, back to sol 7

    successfully loaded solaris 8 on a netra t1 - system prviously had solaris 7. needed to go back to solaris 7, and now cdrom has error reading certain files from CD. CD is readable on other netra systems with solaris 7 and solaris 8. any suggestings?

  • Can I use my iPad to store digital RAW photos

    I am going on a long trip and don't want to take my laptop. Can I store my RAW photos on my iPad? This would eliminate me having to purchase a Jobo digital photo storage (or similar) device. Thanks!