DTW for exporting business partners and Items

Hi all,
Can any one tell me how to work on DTW for exporting business partners and Items. groups,subgroups and properties feilds are required, iam on pl5
thanks in advance
regards,
kumar

Hi Kumar
For details on the format for the DTW go to your SDK installation folder for SAP Business One. You will find a Help folder and select the file REFDI.CHM
This file will give you help on the DI API which are the rules applied to the DTW as well. Under contents click on the plus next to objects. This will list all the objects (templates in DTW) available. Select an object and look at the members. There is a detailed explanation next to each member that will tell you whether or not it is mandatory and what the SAP field name is in brackets. If you click on a member name it will display more details on that member and under Syntax if you select the member name that is underlined, it will give you a list of options if applicable for that field. For example when clicking on CardType you will see the options are cCustomer, cSupplier and cLid.
Hope this helps
Kind regards
Peter Juby

Similar Messages

  • Incomplete information in report listing of Business Partners and Items

    Hi
    Our Client requests for Standard reports on Business Partners and Inventory Item Masters records to include all availabe fields that was entered into the Master Profile.
    Kedalene Chong

    Hello,
    I was wondering whether usage of B1 queries could not help to solve this requirement.
    Are there any other specific requirements on structure of the report, sorting, filtering, selection criteria, print layout templates?
    In which business situation, customer would like to utilize these reports? What are his/her needs?
    Thank you.
    Peter Dominik
    SAP
    B1 Product Definition

  • Contract Account for the business partners

    Hello Experts,
    Once the certificate expires the program must find all the contract accounts for the business partners and change the account determination ID field on the CA to be taxable. I already did the code to verify if the certificate is expire but I don't know where to look for all the contract accounts of a business partner and not sure which field to change to make a contract account taxable I think is KOFIX_SD, any help will be really appreciated, thanks in advance.

    Hi,
    Based on the Partner you can get the contract account data from FKKVKP and FKKVK table.
    Hope it helps you.
    Regards,
    Vamsee

  • Mapping Between Business Partners and Customers in CRM and ERP

    Hi,
    I wanted to know how are the business Partners and Customers replicated from ERP to CRM systems and Vice Versa. I would also want to know how can i check this mapping in the tables.
    eg: Get a customer or BP from the ERP system, how do i find it in CRM system.
    Regards,
    Rishav

    Hi Rishav,
    Here is how it works.
    The table for customers in ERP is KNA1 and the field for customer number is KUNNR.
    In CRM the table CRMM_BUT_CUSTNO contains the mapping between customer number in ERP and the BP GUID
    in CRM. The table BUT000 in CRM contains the mapping between BP GUID in CRM and the BP Number
    Apart from that the table CRMV_BUPA_CUSTNO contains the mapping between Business Partner Number and Customer.
    Hope this clarifiies your doubt.
    Best Regards,
    Shourav.

  • Generate match terms for old business partners

    Hi All ,
    We are in the process of generating match terms for old business partner which is already exisiting in the system?
    after uploading SPL master .
    We need to genrate all the match terms accordingly based on SPL master
    can any body give me the steps involved
    Thanks and Regards
    S.Janagar

    Hi,
    to generate search terms, as well for new as for old business partners, please follow the steps:
    /SAPSLL/SPL_CUS_APP_BUFF_RESET  
    /SAPSLL/SPL_CREATE_SEARCHTERMS  
    /SAPSLL/SPL_INDEX_CREATE        
    /SAPSLL/SPL_CREATE_SEARCHTADRC  
    Please perform them in this sequence.
    Best regards, Christin

  • Retrieve Multiple Serial Numbers for given Delivery Document and Item

    Hello Experts,
                          I am currently working on a 2Lis datasource to extract Delivery information.Now it is required to append the
    datasource with field (say ZZSERNO) which should extract ALL Serial Numbers from OBJK table for a given Delivery Item.
    I know that there is a link between table SER01 and OBJK to retrieve the same.However, my concern is- C_T_Data table is
    already providing the Delivery Information and along with that I want to display ALL Serial numbers for a given Delivery Item.
    A delivery Item can have more that one serial number linked to it as what I see in VL03N for a Delivery document.
    So currently in RSA3, I retrieve say 1 record for a given Delivery Document and Item .Now an Item has say 10 Serial Numbers
    associated with it, so i should see 10 Records for that Delivery Document and Item, after executing RSA3.
    Please provide me with the CMOD logic to do so.

    Hi,
    You can Link LIPS and OBJK tables with Delivery and Del Item.........refer below for the code.
    1) Declare an Internal table of type OBJK with fields DEL DOC, DEL ITEM and ZZSERNO .
    2) Declare another Internal Table ITAB_LIPS of type LIPS with required fields say in your case *DEL DOC, DEL ITEM and ZZSERNO....etc.
    3) Use below select statement to extract records from LIPS into ITAB_LIPS that you have declared for to fetch LIPS data.
    Select DEL DOC, DEL ITEM ( here i have included only few fields but as per requirement please add fields here)   from
    LIPS into corresponding fields of Table ITAB_LIPS.
    4) write one more select statement to fetch Serial number data.
    Select DEL DOC, DEL ITEM ZZSERNO  from OBJK into corresponding fields of TABLE ITAB_OBJK for all entries in ITAB_LIPS
    where DEL DOC = ITAB_LIPS-DEL DOC and
                DEL ITEM = ITAB_LIPS-DEL ITEM.
    Loop at ITAB_OBJK.
    Read table ITAB_OBJK into ITAB_LIPS with keys DEL DOC    DEL ITEM.
    ITAB_LIPS-DEL DOC = ITAB_LIPS-DEL DOC
    ITAB_LIPS-DEL ITEM = ITAB_OBJK-DEL ITEM.
    IF SY-SUBRC = 0.
    ITAB_LIPS-ZZSERNO = ITAB_OBJK-ZZSERNO.
    ENDIF
    ENDLOOP.
    Hope the above code helps
    Sujan

  • Re: Best options for exporting a sequence and making a DVD

    I using iPad 2.

    "Re: Best options for exporting a sequence and making a DVD" and "I'm using iPad 2" and "My phone number is not verified!" don't seem to be entirely related. Can you please restate your question?

  • [Special Prices for Business Partners] and [Hierarchies and Expansions]

    Dear Sirs,
    I am running into three problems.
    1.) I loaded 313 items Special Prices by DTW however I can not locate where it went?
         I searched via the path [Inventory>Price Lists>Special Prices>Special Prices for Business Partners]but find nothing in there.
    2.) I can not find DTW templates for Hierarchies and Expansions data load.
         Also I searched via the path [Inventory>Price Lists>Special Prices>Hierarchies and Expansions] to see if the Special Prices I loaded with DTW maybe there but find nothing there.
    3.) I can not find any information related to Hierarchies and Expansions in the [diapi] help file.
    Could it be these two functionalities require "manual" input?
    If so, how on earth the 313 Special Prices DTW data load went through "successfully" and find no trace of it?
    I am pulling my hair off to find some advice.
    Would appreciate it greatly if someone could enlighten me on these two functionalities.
    Kuni - Tokyo
    Edited by: furuya kunitomo on May 15, 2009 2:28 PM

    Hi Kuni,
    To quickly answer your questions:
    1.) I loaded 313 items Special Prices by DTW however I can not locate where it went?
    The path is correct. If you can't find anything probably something went wrong in the DTW import.
    Check that the "Test Run" checkbox was not checked and all required keys are entered in the templates.
    2.) I can not find DTW templates for Hierarchies and Expansions data load.
    The relevant templates are:
    SpecialPrices.xlt
    SpecialPricesDataAreas.xlt
    SpecialPricesQuantityAreas.xlt
    the default location when installing DTW is:
    C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oSpecialPrices
    When entering Hierarchies and Expansions (renamed to Period and Volume Discount in Version 2007) you must enter *x for CardCode where x is the price list number.
    3.) I can not find any information related to Hierarchies and Expansions in the diapi help file.
    The information in the DI API file is under the SpecialPrices Object.
    See below some general information regarding special prices:
    SpecialPrices is a business object part of the Inventory and Production module under
    Select Inventory > Price Lists > Special Prices > Special Prices for Business Partners.
    OR
    Select Inventory > Price Lists > Period and Volume Discount (Hierarchies and Expansions in previous versions)
    Interesting points:
    Source table: OSPP
    DTW Template: SpecialPrices.csv
    Mandatory fields in SAP Business One: CardCode and ItemCode.
    PriceListNum is a foreign key to the PriceLists object - source table OPLN, field name ListNum.
    CardCode is the Business Partner CardCode to enter Special Prices for Business Partners.
    Child object of the SpecialPrices Object: SpecialPricesDataAreas (source table: SPP1)
    DTW Template: SpecialPricesDataAreas.csv
    LineNum (Field name LINENUM) - Always enter the appropriate LineNumber you want to update (starts from 0).
    Child object of the SpecialPricesDataAreas Object: SpecialPricesQuantityArea (source table: SPP2)
    DTW Template: SpecialPricesQuantityAreas.csv
    LineNum (Field Name SPP2LNum). Always enter the appropriate LineNumber you want to update (starts from 0).
    Hope that information helps a little. If you have any fruther questions enter the following information:
    1. SAP Business One Version including Patch level
    2. Do you get any error message after the import? What is the message returned?
    Kind Regards,
    Friederike Mundt
    SAP Business One Forums Team

  • DTW Import Business Partners and Contacts

    Hallo,
    I want to do an import via DTW for the Contact of the Business Partners. The Business Partners were loaded via the Import Excel in SBO. I created two files using the templates. For the BP file I only want link the Contact Persons. With the Contact person file, the Contact persons are loaded.
    Using these file gives me the message that the client number already exists. That is correct, I only want to ad contact persons. Where is the missing link in my files? My BP numbers are starting with.30000.
    MY BP files can be found on:
    ftp.rikas.nl
    user: sbo
    password: sbo

    hello M. Meulendijk,
    you need the Update of Business Partners template of DTW. you found this templates in C:\Program Files\SAP Manage\Data Transfer Workbench\Templates\Data preparation examples\20. TestCase2_Test Data for update function\BusinessPartners
    if u wish i can send you the templates. just give your email address.
    your ftp does not work, invalid password.
    hope it helps..
    FIDEL

  • Email Notification for multiple business partners

    Hi,
    I can send email to a single partner based on my action. Is it possible to send the emails to multiple partners for a single action.
    Thanks in advance.
    Regards,
    M.R

    Hi;
    Email notification to multiple business partners is not provided in standart SAP functions via actions. It is not related with actions and conditions. Below is the code for the related method... I may send the screenshots if you can give me your mail address... Use this method with smartform: CRM_IST_ORDER_CONFIRMATION_01
    CLASS : CL_DOC_PROCESSING_CRM_ORDER
    METHOD NAME: ....
    METHOD DEFINITION:
    IS_ARCHIVE_INDEX     Importing     Type     TOA_DARA
    IS_ARCHIVE_PARAMETERS     Importing     Type     ARC_PARAMS
    IS_CONTROL_PARAMETERS     Importing     Type     SSFCTRLOP
    IS_OUTPUT_OPTIONS     Importing     Type     SSFCOMPOP
    IO_APPL_OBJECT     Importing     Type Ref To     OBJECT
    IP_SMART_FORM     Importing     Type     TDSFNAME
    IS_MAIL_APPL_OBJ     Importing     Type     SWOTOBJID
    IS_MAIL_RECIPIENT     Importing     Type     SWOTOBJID
    IS_MAIL_SENDER     Importing     Type     SWOTOBJID
    IO_PARTNER     Importing     Type Ref To     CL_PARTNER_PPF
    IP_USER_SETTINGS     Importing     Type     TDBOOL
    IP_APPLICATION_LOG     Importing     Type     BALLOGHNDL
    ES_DOCUMENT_OUTPUT_INFO     Exporting     Type     SSFCRESPD
    ES_JOB_OUTPUT_INFO     Exporting     Type     SSFCRESCL
    ES_JOB_OUTPUT_OPTIONS     Exporting     Type     SSFCRESOP
    ET_ERROR_TAB     Exporting     Type     TSFERROR
    CT_ARCHIVE_INDEX_TAB     Changing     Type     TSFDARA
    METHOD z_anahtar_kullanici_yeni.
    *This Method is used to print service order.
    generally used constants of generic order
      INCLUDE: crm_direct.
      DATA:
            control_parameters TYPE ssfctrlop.
    function name
      DATA: function_name TYPE rs38l_fnam,
            dummy(254)        TYPE c,
            ls_archive_index  TYPE  toa_dara,
            ls_orderadm_h     TYPE  crmt_output_orderadm_h_com,
            ls_activity_h     TYPE  crmt_output_activity_h_com,
            ls_opport_h       TYPE  crmt_output_opport_h_com,
            ls_orgman_h       TYPE  crmt_output_orgman_h_com,
            lt_partner_h      TYPE  crmt_output_partner_h_comt,
            ls_partner_h      TYPE  crmt_output_partner_h_comt,
            ls_pricingdata_h  TYPE  crmt_output_pricingdata_h_com,
            ls_sales_h        TYPE  crmt_output_sales_h_com,
            ls_shipping_h     TYPE  crmt_output_shipping_h_com,
            lt_payplan_d_h    TYPE  crmt_output_payplan_d_h_comt,
            ls_customer_h     TYPE  crmt_output_customer_h_com,
            ls_cumulat_h      TYPE  crmt_output_cumulat_h_com,
            lt_billing_h      TYPE  crmt_output_billing_h_comt,
            lt_cancel_h       TYPE  crmt_output_cancel_h_comt,
            lt_appointment_h TYPE   crmt_output_appointment_h_comt,
            lt_billplan_d_h  TYPE   crmt_output_billplan_d_h_comt,
            lt_billplan_h    TYPE   crmt_output_billplan_h_comt,
            lt_status_d_h    TYPE   crmt_output_status_d_h_comt,
            lt_status_h      TYPE   crmt_output_status_h_comt,
            lt_srv_subject_h TYPE   crmt_output_srv_subject_h_comt,
            lt_srv_reason_h  TYPE   crmt_output_srv_reason_h_comt,
            lt_srv_result_h  TYPE   crmt_output_srv_result_h_comt,
            ls_acs_h         TYPE   crmt_acs_h_com,
            lt_srv_subject_i TYPE   crmt_output_srv_subject_h_comt,
            lt_srv_refobj_h  TYPE   crmt_output_srv_refobj_h_comt,
            lt_srv_refobj_i  TYPE   crmt_output_srv_refobj_h_comt,
            lt_orderadm_i    TYPE   crmt_output_orderadm_i_comt,
            lt_orgman_i      TYPE   crmt_output_orgman_i_comt,
            lt_pricingdata_i TYPE   crmt_output_pricingdata_i_comt,
            lt_pricing_i     TYPE   crmt_output_pricing_i_comt,
            lt_product_i     TYPE   crmt_output_product_i_comt,
            lt_sales_i       TYPE   crmt_output_sales_i_comt,
            lt_service_i       TYPE   crmt_output_service_i_comt,
            lt_shipping_i    TYPE   crmt_output_shipping_i_comt,
            lt_schedlin_i    TYPE   crmt_output_schedlin_i_comt,
            lt_customer_i    TYPE   crmt_output_customer_i_comt,
            lt_partner_i     TYPE   crmt_output_partner_i_comt,
            lt_item_cstics_i TYPE   crmt_item_cstics_tab,
            lt_billing_i     TYPE   crmt_output_billing_i_comt,
            lt_cancel_i      TYPE   crmt_output_cancel_i_comt,
            lt_finprod_i     TYPE   crmt_output_finprod_i_comt,
            lt_ordprp_i      TYPE   crmt_output_ordprp_i_comt,
            lt_appointment_i TYPE   crmt_output_appointment_i_comt,
            lt_billplan_d_i  TYPE   crmt_output_billplan_d_i_comt,
            lt_billplan_i    TYPE   crmt_output_billplan_i_comt,
            lt_orderadm_i_qt TYPE   crmt_output_orderadm_i_qt_comt,
            lt_schedlin_i_cf TYPE   crmt_output_schedlin_i_cf_comt,
            lt_status_i      TYPE   crmt_output_status_i_comt,
            lt_working_set_e_s_bbp TYPE /1cn/working_set_e_s_bbp_t,
            lv_language LIKE  sy-langu,
            lo_order TYPE REF TO cl_doc_crm_order,
            lv_object_guid TYPE crmt_object_guid,
            lv_status TYPE jstat,
            lt_status TYPE TABLE OF jstat,
            lv_error_tab_wrk TYPE ssferror,
            ls_output_options TYPE ssfcompop,
    for assignments - begin
            lt_service_i_assi TYPE  crmt_output_service_i_***_comt
    for assignments - end
    fill internal structure for the output options
      ls_output_options = is_output_options.
    get the function name for this smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                formname           = ip_smart_form
            VARIANT            = ' '
            DIRECT_CALL        = ' '
           IMPORTING
                fm_name            = function_name
           EXCEPTIONS
                no_form            = 1
                no_function_module = 2
                OTHERS             = 3
      IF sy-subrc <> 0.
      add an error message to processing protocol
        MESSAGE i015(sppf_media) WITH ip_smart_form INTO dummy.
        CALL METHOD cl_log_ppf=>add_message
          EXPORTING
            ip_problemclass = '1'
            ip_handle       = ip_application_log.
        EXIT.
      ENDIF.
    determine the tables of the application
      CALL FUNCTION 'CRM_OUTPUT_SINGLE_READ'
           EXPORTING
                iv_object                 = io_appl_object
                iv_smart_form             = ip_smart_form
                ir_partner                = io_partner
           IMPORTING
                es_output_orderadm_h      = ls_orderadm_h
                es_output_activity_h      = ls_activity_h
                es_output_opport_h        = ls_opport_h
                es_output_orgman_h        = ls_orgman_h
                es_output_pricingdata_h   = ls_pricingdata_h
                es_output_sales_h         = ls_sales_h
                es_output_shipping_h      = ls_shipping_h
                et_output_partner_h       = lt_partner_h
                et_output_payplan_d_h     = lt_payplan_d_h
                es_output_customer_h      = ls_customer_h
                es_output_cumulat_h       = ls_cumulat_h
                et_output_billing_h       = lt_billing_h
                et_output_cancel_h        = lt_cancel_h
                et_output_appointment_h   = lt_appointment_h
                et_output_billplan_d_h    = lt_billplan_d_h
                et_output_billplan_h      = lt_billplan_h
                et_output_status_d_h      = lt_status_d_h
                et_output_status_h        = lt_status_h
                et_output_srv_subject_h   = lt_srv_subject_h
                et_output_srv_reason_h    = lt_srv_reason_h
                et_output_srv_result_h    = lt_srv_result_h
                et_output_srv_refobj_h    = lt_srv_refobj_h
                et_output_srv_refobj_i    = lt_srv_refobj_i
                et_output_srv_subject_i   = lt_srv_subject_i
                es_output_acs_h           = ls_acs_h
                et_output_orderadm_i      = lt_orderadm_i
                et_output_orgman_i        = lt_orgman_i
                et_output_pricingdata_i   = lt_pricingdata_i
                et_output_pricing_i       = lt_pricing_i
                et_output_product_i       = lt_product_i
                et_output_sales_i         = lt_sales_i
                et_output_service_i       = lt_service_i
                et_output_shipping_i      = lt_shipping_i
                et_output_schedlin_i      = lt_schedlin_i
                et_output_partner_i       = lt_partner_i
                et_item_cstics_i          = lt_item_cstics_i
                et_output_customer_i      = lt_customer_i
                et_output_billing_i       = lt_billing_i
                et_output_cancel_i        = lt_cancel_i
                et_output_finprod_i       = lt_finprod_i
                et_output_ordprp_i        = lt_ordprp_i
                et_output_appointment_i   = lt_appointment_i
                et_output_billplan_d_i    = lt_billplan_d_i
                et_output_billplan_i      = lt_billplan_i
                et_output_orderadm_i_qt   = lt_orderadm_i_qt
                et_output_schedlin_i_cf   = lt_schedlin_i_cf
                et_output_status_i        = lt_status_i
                et_output_wrk_set_e_s_bbp = lt_working_set_e_s_bbp
                ev_language               = lv_language
    for assignments - begin
                et_output_service_i_assi  = lt_service_i_assi
    for assignments - end
    set mail title
    SELECT SINGLE caption INTO ls_output_options-tdtitle
       FROM stxfadmt WHERE
       formname = ip_smart_form AND
       langu    = lv_language.
    IF ls_output_options-tdtitle  IS INITIAL.
       SELECT SINGLE caption INTO ls_output_options-tdtitle
        FROM stxfadmt WHERE
        formname = ip_smart_form.
    ENDIF.
      CONCATENATE 'Servis Masas&#305; - Yeni bir sorun aç&#305;ld&#305;:'
      ls_orderadm_h-object_id INTO ls_output_options-tdtitle
      SEPARATED BY space.
    is_mail_appl_obj -
    fill this parameter if your application object is a BOR object
    the output will be connected with the BOR object via SAP Office
    this is done for mail and fax but not for print outputs
      ------>
    is_mail_appl_obj-LOGSYS    =
    is_mail_appl_obj-OBJTYPE   =
    is_mail_appl_obj-OBJKEY    =
    is_mail_appl_obj-DESCRIBE  =
      ------>
    language of smart form----
    determin here the language of the smart form
      control_parameters = is_control_parameters.
      control_parameters-langu = lv_language.
    fill archive parameters for archive link -
      IF is_output_options-tdarmod = '2' OR
         is_output_options-tdarmod = '3'.
      archive_index_tab
        READ TABLE ct_archive_index_tab INTO ls_archive_index INDEX 1.
        ls_archive_index-object_id = ls_orderadm_h-guid.
        IF ls_archive_index-object_id IS INITIAL.
          DELETE ct_archive_index_tab INDEX 1.
        ELSE.
          MODIFY ct_archive_index_tab FROM ls_archive_index INDEX 1.
        ENDIF.
      ENDIF.
      DATA : zzpartner TYPE crmt_output_partner_h_com .
      DATA : zzadres TYPE so_name .
      DATA : zobjkey TYPE swotobjid-objkey .
      DATA: lv_user           TYPE syuname,
            lv_mailaddr       TYPE so_name,
            lv_type_id        TYPE so_escape,
            lv_partnno        TYPE ppfdpartno,
            lv_partner_no     TYPE bu_partner,
            lv_partner        TYPE crmt_object_guid,
            ls_mail_recipient TYPE swotobjid.
      LOOP AT lt_partner_h INTO zzpartner .
        CLEAR zzadres.
        CHECK zzpartner-ref_partner_fct EQ 'ZSLFN001'.
        SELECT SINGLE smtp_addr FROM adr6 INTO zzadres
                               WHERE addrnumber = zzpartner-addr_nr.
        CHECK sy-subrc EQ 0.
        lv_mailaddr = zzadres.
        lv_type_id = 'U'.
        CALL FUNCTION 'CREATE_RECIPIENT_OBJ_PPF'
          EXPORTING
            ip_mailaddr       = lv_mailaddr
            ip_type_id        = lv_type_id
          IMPORTING
            ep_recipient_id   = ls_mail_recipient
          EXCEPTIONS
            invalid_recipient = 1
            OTHERS            = 2.
    delete the old recipient object
        CALL FUNCTION 'DELETE_RECIPIENT_OBJECT_PPF'
          EXPORTING
            is_recipient_id = is_mail_recipient.
    call function to process smart form
        CALL FUNCTION function_name
             EXPORTING
                  archive_index        = is_archive_index
                  archive_index_tab    = ct_archive_index_tab
                  archive_parameters   = is_archive_parameters
                  control_parameters   = control_parameters
                  mail_appl_obj        = is_mail_appl_obj
               mail_recipient       = is_mail_recipient
                  mail_recipient       = ls_mail_recipient
                  mail_sender          = is_mail_sender
                  output_options       = ls_output_options
                  user_settings        = ip_user_settings
                  orderadm_h           = ls_orderadm_h
                  activity_h           = ls_activity_h
                  opport_h             = ls_opport_h
                  orgman_h             = ls_orgman_h
                  partner_h            = lt_partner_h
                  pricingdata_h        = ls_pricingdata_h
                  sales_h              = ls_sales_h
                  shipping_h           = ls_shipping_h
                  payplan_d_h          = lt_payplan_d_h
                  cumulat_h            = ls_cumulat_h
                  customer_h           = ls_customer_h
                  acs_h                = ls_acs_h
                  billing_h            = lt_billing_h
                  cancel_h             = lt_cancel_h
                  appointment_h        = lt_appointment_h
                  billplan_d_h         = lt_billplan_d_h
                  billplan_h           = lt_billplan_h
                  status_d_h           = lt_status_d_h
                  status_h             = lt_status_h
                  srv_subject_h        = lt_srv_subject_h
                  srv_reason_h         = lt_srv_reason_h
                  srv_result_h         = lt_srv_result_h
                  srv_subject_i        = lt_srv_subject_i
                  srv_refobj_h         = lt_srv_refobj_h
                  srv_refobj_i         = lt_srv_refobj_i
                  orderadm_i           = lt_orderadm_i
                  orderadm_i_qt        = lt_orderadm_i_qt
                  orgman_i             = lt_orgman_i
                  pricingdata_i        = lt_pricingdata_i
                  pricing_i            = lt_pricing_i
                  product_i            = lt_product_i
                  sales_i              = lt_sales_i
                  service_i            = lt_service_i
                  schedlin_i           = lt_schedlin_i
                  schedlin_i_cf        = lt_schedlin_i_cf
                  shipping_i           = lt_shipping_i
                  partner_i            = lt_partner_i
                  item_cstics_i        = lt_item_cstics_i
                  customer_i           = lt_customer_i
                  billing_i            = lt_billing_i
                  cancel_i             = lt_cancel_i
                  finprod_i            = lt_finprod_i
                  ordprp_i             = lt_ordprp_i
                  appointment_i        = lt_appointment_i
                  billplan_d_i         = lt_billplan_d_i
                  billplan_i           = lt_billplan_i
                  status_i             = lt_status_i
                  working_set_e_s_bbp  = lt_working_set_e_s_bbp
                  language             = lv_language
    for assignments - begin
                  service_i_assi      =  lt_service_i_assi
    for assignments - end
             IMPORTING
                  document_output_info = es_document_output_info
                  job_output_info      = es_job_output_info
                  job_output_options   = es_job_output_options
             EXCEPTIONS
                  output_canceled      = 1
                  parameter_error      = 2
                  OTHERS               = 3.
        IF sy-subrc = 0.
    determine header guid to set status printed
          lo_order ?= io_appl_object.
          lv_object_guid = lo_order->get_crm_obj_guid( ).
    set status printed into the crm order
          CALL FUNCTION 'CRM_STATUS_SET_INTERN'
            EXPORTING
              iv_objnr            = lv_object_guid
              iv_status           = gc_status-printed
              xnoauto             = true
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ELSE.
          CASE sy-subrc.
            WHEN 1.
              MESSAGE e016(sppf_media) INTO dummy.
            WHEN 2.
              MESSAGE e017(sppf_media) WITH function_name INTO dummy.
            WHEN 3.
              MESSAGE e018(sppf_media) WITH function_name INTO dummy.
          ENDCASE.
          CALL METHOD cl_log_ppf=>add_message
            EXPORTING
              ip_problemclass = '1'
              ip_handle       = ip_application_log.
        ENDIF.
    get error table
        CALL FUNCTION 'SSF_READ_ERRORS'
          IMPORTING
            errortab = et_error_tab.
    fill error into crm_order status
        LOOP AT et_error_tab INTO lv_error_tab_wrk
                 WHERE msgty = gc_msgtype-error.
          CALL FUNCTION 'CRM_MESSAGE_COLLECT'
               EXPORTING
                    iv_caller_name     = gc_object_name-order
                    iv_msgno           = lv_error_tab_wrk-msgno
                    iv_msgid           = lv_error_tab_wrk-msgid
                    iv_msgty           = lv_error_tab_wrk-msgty
                    iv_msgv1           = lv_error_tab_wrk-msgv1
                    iv_msgv2           = lv_error_tab_wrk-msgv2
                    iv_msgv3           = lv_error_tab_wrk-msgv3
                    iv_msgv4           = lv_error_tab_wrk-msgv4
                IV_ERROR_RELEVANCE = FALSE
                    iv_msglevel        = gc_msglevel-administrator
               EXCEPTIONS
                    not_found          = 1
                    appl_log_error     = 2
                    OTHERS             = 3.
        ENDLOOP.
      ENDLOOP .
    ENDMETHOD.

  • Idoc DEBCOR - Extend use to Business Partners and customise

    I am writing a high level technical design document on a new interface for my current client. We are currently in the scoping/blueprint phase.
    We will be implementing CRM(?), ECC 6.0 and PI7.0
    I have been tasked with writing/creating an outbound interface from CRM/ECC to send Business Partners from ECC to an external application via PI. Preferably using standard SAP functions/transactions!
    Can I use the DEBCOR Idoc and customise/add the additional segments I require for the additional fields for this interface?
    I was hoping to use BD12 (send Customers - Master Data Distribution) as well, but unfortunately, I do not have a sandpit/development system to use yet as we are still "blueprinting", therefore I am unable to test my assumptions before finalising the HTD document.
    If DEBCOR cannot be used is there any logic in use the ADRMAS anc customising this?
    I was hoping to use change pointers as well, but I guess once I have the Idoc configured, I can work out the distribution model in BD64..
    Has anyone sent Business Partners from ECC and if so, what methods were used?

    I am going to try and see if BusinessPartnerDataManagementBusinessPartnerEventOut.informBusinessPartnerAsBulk fits my requirements.
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/render.asp?applytx=&id=86162F8CD62011DB2B24000F20DAC9EF&fragID=&packageid=DBBB6D8AA3B382F191E0000F20F64781&iv=

  • No goods receipt possible for purchase order Number and Item number.

    Hello experts,
    When I create a Goods Reciept with reference to Purchase Order using BAPI_GOODSMVT_CREATE, the following error message appears.
    No goods receipt possible for purchase order <PO number> <line item number>.
    But the GR is getting created manually using Transaction MIGO for the same PO number.
    I found some blogs to check for deletion indicator and Movement type and quantity, when I searched SDN for the same Issue.
    In my case 
    1.deletion indicator is not set for the Purchase order line items
    2.And Movement type is 101
    3.And gm_code is 01.
    Could anyone please suggest me, what else could be the reason for this error?

    Here is the code what i have written.
      f_gmvt_header-pstng_date = sy-datum.
      f_gmvt_header-doc_date   = sy-datum.
      f_gmvt_header-pr_uname   = sy-uname.
      f_gmvt_header-ref_doc_no = p_ebeln.
      f_goodsmvt_code_tmp        = '01'.
    * Looping the PO details.
      CLEAR: gf_item,f_gmvt_item.
      LOOP AT gt_item INTO gf_item.
    * fill the bapi item structure details
        f_gmvt_item-material   = gf_item-material.
        f_gmvt_item-plant      = gf_sbms-werks.
        f_gmvt_item-stge_loc   = '0001'.
        f_gmvt_item-move_type  = '101'.
        f_gmvt_item-po_number  = p_ebeln.
        f_gmvt_item-po_item    = gf_item-po_item.
        f_gmvt_item-entry_qnt  = gf_item-quantity.
        f_gmvt_item-entry_uom  = 'PC'.
        f_gmvt_item-entry_uom_iso = 'PCE'.
        f_gmvt_item-po_pr_qnt = gf_item-quantity.
        f_gmvt_item-orderpr_un = 'PC'.
        f_gmvt_item-orderpr_un_iso = 'PCE'.
        f_gmvt_item-no_more_gr = 'X'.
        f_gmvt_item-ref_doc    = p_ebeln.
        f_gmvt_item-prod_date  = sy-datum.
        f_gmvt_item-mvt_ind    = 'B'.
        f_gmvt_item-move_reas  = '101'.
        f_gmvt_item-vendor      = gf_lfm1-lifnr.
        APPEND f_gmvt_item TO t_gmvt_item.
        CLEAR f_gmvt_item.
      ENDLOOP.
    * cALL THE bapi fm FOR gr POSTING
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = f_gmvt_header
          goodsmvt_code                 = f_goodsmvt_code_tmp
    *     TESTRUN                       = ' '
    *     GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              = f_gmvt_headret
    *     MATERIALDOCUMENT              =
    *     MATDOCUMENTYEAR               =
        TABLES
          goodsmvt_item                 = t_gmvt_item
    *     GOODSMVT_SERIALNUMBER         =
          return                        = t_return
    *     GOODSMVT_SERV_PART_DATA       =
    *     EXTENSIONIN                   =
      IF sy-subrc = 0.
    * For commit the changes use BAPI_TRANSACTION_COMMIT FM.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
    *      MOVE: f_GMVT_HEADRET-MAT_DOC   TO WA_DET-MBLNR,
    *            f_GMVT_HEADRET-DOC_YEAR  TO WA_DET-MJAHR,
    *            f_GMVT_HEADER-REF_DOC_NO TO WA_DET-EBELN.
    *      APPEND WA_DET TO IT_DET.
    *      CLEAR WA_DET.
      ENDIF.

  • Business Partners and Qualifications

    My customer is intending to use Business Partners (BUP003 - Employee) to represent resources in the MRS (Multi Resource Scheduling) application.  My challenge is that I am unable to assign a qualification to a Business Partner (BUP003) using transaction PPPM.  I get a message saying "Unable to display a profile for object 'BP'."  What is strange about this is that I can assign a qualification to a Business Partner in my company system but not the customer.  So far I have been unable to figure out what the difference is between the two systems that might be impacting on this.
    The other strange thing I have come across is that in one of the customer systems I can search and display a list of Business Partners but in another, when I search, I get a message telling me that "the search has not produced any hits".  In the system "with no hits" I can see the BP record and I can assign it to a Position so I know it's there, I just can't display in in the list.  Weird...
    I'm a PM/MM person with little Business Partner experience so any help would be appreciated.
    Thanks,
    Mark

    Hi Mark,
    In table T778V, for relationship 032, click on Allowed Relationships on the left hand panel under Links. You will have to uncheck the values in column Not maint. against BP with Q and Q with BP. This will then allow you to maintain qualifications for relationship 032 using transaction PP01/PP02, not PPPM.
    Regards,
    Priya.

  • MD04 for account assignment E and item cat L

    Hi
    I have created PR for perticular material X by running MRP. PR is created with account assignment catagory E and item catagory L. now i converted this PR into PO. my problem is PO is not visible in MD04 for x material. only PR is visible.
    what is the problem

    Hi,
    Please can you explaing the scenarion you arew orking on? I didn't observe the combination of Sales oder with Subcontracting??.
    For creating PO,it is not supporting PR document with account assignment E and Item categorty L.For this you may need to change config settings.(If try to change config settings...first you have think are changes really align with the business)
    Thanks,
    Sateesh.

  • Test Marketing Campaign for all business partners, without sending out

    Hi,
    within the application it is possible to test Mail Forms to a manually entered e-Mail address, for Business Partner or Marketing Prospect, checking conditions and if appropriate using Campaign. This works fine.
    For quality reasons, my customer wants to check the whole campaign, by using all business partners in the target groups used and all the conditions checked, BUT not sending out any e-Mail. Do you have made experiences on how to resolve this requirement?
    Many thanks for sharing your experiences.
    Regards,
    Markus

    You can have the BASIS team look at the SMTP and SAP Connect settings. They can setup parameters here that will restrict e-mails from going out of CRM (usually that's what is done in the Dev and Test environments), even though they are initiated.
    You can check that the e-mails are initiated for the list of BP's in transactions SOST and SCOT. The basis team (or anyone having authorizations) can manually push out all or individual e-mails if you want to test the complete flow (with a list of test e-mail id's linked to test BP's).
    Let me know if you have any specific questions with this process.
    Thanks,
    Kalyan

Maybe you are looking for

  • IPhone will no longer sync with Google calendar

    3 days ago my IPhone 4 stopped syncing with Google Calendar. I'm not aware of making any changes. I've done homework & and followed these steps: -- Synced with ITunes: not syncing with ICloud; not syncing calendar -- redone the Google Mobile setup pr

  • InDesign CS5.5 won't open in OS X 10.10

    I just installed Yosemite and hadn't had any troubles with anything until I tried to open InDesign CS5.5. It keeps telling me, "To open "Adobe InDesign CS5.5.app" you need to install the legacy Java SE 6 runtime." I've searched for Java SE 6 and cann

  • Headphone jack broken off inside Macbook--HELP!

    My dad recently gave me his MacBook Pro, only problem is the audio is completely broken. This occurred when the computer was on the bed with headphones were plugged into the headphone port, and the dog jumped on the headphone jack, breaking it off in

  • Can I trust a Adaptec 39160 on 10.3 ??

    When I first installed 10.3 some time ago (then 10.3.5) I had LOADS of problems with the system crashing. Eventually, after much pain, I worked out that OS X didn't like the SCSI card. At the time Adaptec said on their website that they had discontin

  • Is the iMac really capable of high power use?

    My 3 month old iMac is in the shop because of random shutdowns - mostly when I use Adobe Photoshop CS3 (but also when I am just reading email or browsing the internet). The "Apple Tech" informs me that perhaps the software I am using is too much for