Standard BAPI or IDOC for QM data in SD

Hi all
I am using LSMW for uploading Quality Mannagement Data in SD (t-code QV51). If any Standard BAPI, IDOC or Funtion Module available for it then please sahre.
Aboli

check - VIEWPROC_V_TQ051
Regards,
Sonal

Similar Messages

  • Require the Standard BAPI or IDOC

    Hi all
    I am using LSMW for Packing Instruction Determination (T-code POF1).
    Is there any Standard BAPI or IDOC available in LSMW for data transformation for Packing Instruction Determination. If it is available please share.
    regards,
    Aboli

    Hi All,
    Creating an idoc via WE19 concerning /ISDFPS/PACKVOR, I still get the error message "The target quantity must be 1 for the load carrier item" when processing it.
    But my target quantity for my load carrier item is already 1.
    I tried several formats such as leading zeros, but nothing would pass this message...
    Any idea?
    Mike

  • Some segments are missing in the idocs for master data zdebmas

    hi guru's,
    can any one hlep me here we facing the probelumm
    some segments are missing in the idocs for master data zdebmas
    , there is some issue on the generation of the Site Master IDoc (Message type: ZDEBMAS, Basic type: DEBMAS06).
    This is using the SAP standard program (RBDMIDOC) which reads the Site master change pointers.
    There is  some segments below is missing in the IDoc:
    how to chcek this probelumm...

    hi
    i got the function module. it is  triggerig whne i do changepointer running.
    what ever changes i made only that segments are onlycomming in to the idoc. but remaing segments are not comming.
    my req is to show all segments  even if i do changes in one segmet fields  dont change theay have send to the interfece all athe segments.i ahve to do some enhancemetns for that
    can u plse help me the login  or any function module which will fill the alla the segmetns .

  • Need standard Bapi or FM for creating General Ledger (FS00 transaction)

    Hi,
    I need to upload (create) Master General Ledger data.
    My requirement is to use standard Bapi or FM for this purpose.
    Please tell me which Bapi or FM i can use for this purpose.
    Thanks in advance.

    Hi Suresh,
    The Function module you specified is not released. So, I cant use it. Thanks for your suggestion.
    Hi friends,
    My requirement is to create General Ledger Account (FS00 or FS01) using a standard Bapi or FM. Please tell me which Bapi or FM I can use for this purpose.
    I identified one related Bapi for this purpose (BAPI_ACC_GL_POSTING_POST). But my functional consultant says it is for posting General Ledger and cannot be used for ceating General Ledger account.
    Please clarify me.

  • BAPI or IDOC for transaction F-32

    Hello everybody,
    is there any bapi or IDOC for transaction F-32?
    thanks,
    Alejandro

    Hi,
    I'm not sure but I think the following's one can do the job :
    BAPI_ACC_PYMNTBLK_UPDATE_POST
    or
    BAPI_ACC_BILLING_POST
    I suggest you to take a look at the help,
    Regards
    Erwan.

  • Need Bapi or IDOC to insert data into FB60 T-Code

    Hi Experts,
    I need Bapi or standard IDOC to insert data in to FB60 T-Code.
    Thanks in advace
    Krishna

    Hi,
    Thanks for the reply i cant find this fileds.
    INVFO-ACCNT
    LFA1-NAME1
    INVFO-XBLNR
    INVFO-XREF1
    INVFO-XREF2
    INVFO-BLDAT
    INVFO-DMBTR
    ACGL_ITEM-HKONT
    ACGL_ITEM-AUFNR
    ACGL_ITEM-KOSTL
    Thanks,
    Krisna

  • Bapis and IDOC for Service order... etc.

    Hi  Experts,
    Can any body please tell me what are the bapis for creating
    following things.
    Create Service Order or Sales Order
    Update Service Order
    Goods Issue & Goods Receipt
    Inventory Balanceses
    Purchase Requisition Information
    Purchase Order Information
    For this above are there any standard inbound and outbound
    idoc for data transfer.
    Thanks  & Regards,
    Chetan

    Hi,
    Thank you very much For the Information.
    I had asked one more question below that.
    "For this above are there any standard inbound and outbound
    idoc for data transfer".
    Thanks & Regards,
    Chetan

  • BAPI or IDOCs  for Quality info records

    I want to know which BAPI or IDOCs is used to upload the Quality info records data from legacy system to SAP.

    Hi Raghu
    Below is the BDC program I was used for the same.
    Program Name : YX30_UPLOAD_QUALITY_INFO
    Author : Rameshwar Yadav *
    Date : 2006-11-27 *
    Description : The purpose of this program is to upload the *
    Quality Info Record for I30 System *
    Original Transport Number : I30K903055 *
    SYS id: SYS_30_1502_03_41_Upload Quality Info Records *
    TDS id: TD_30_1502_03_41_Upload Quality Info Records *
    UT ID: UT_30_1502_03_41_Upload Quality Info Records *
    ======================================================================
    Change History *
    Date | Change No | Name | Description *
    yyyy/mm/dd | AAAYYYYMMDD | xxxxxxxxxxxx | *
    REPORT YX30_UPLOAD_QUALITY_INFO MESSAGE-ID yx30_conversions
    no standard page heading line-size 255.
    include yx30_upload_quality_info_top. "Include for Variable Declaration & Selection Screen
    include yx30_upload_quality_info_data. "Include for File read & Authority Check
    *& At Selection Screen Output *
    AT SELECTION-SCREEN OUTPUT. "PBO
    PERFORM fill_parameters.
    *& Start Of Selection Event *
    start-of-selection.
    Perform Authority_check. "Subroutine for authority check
    Perform prepare_file. "Subroutine for preparing file
    perform file_read. "Subroutine for File read
    perform update_qi01. "Subroutine for Uploading data
    perform write_error_log1. "Subroutine for writing error log
    *& Form write_error_log
    text
    --> p1 text
    <-- p2 text
    *& Include YX30_UPLOAD_QUALITY_INFO_TOP
    Type Declaration
    Types: Begin of type_qtyinf,
    matnr type matnr, "Material No
    lieferant type char10, "Vendor
    werk type werks_d, "Plant
    frei_dat type char10, "Frei_Dat
    stsma type char8, "Stsma
    anwso_01 type char1, "ANWSO(01)
    anwso_02 type char1, "ANWSO(02)
    anwso_03 type char1, "ANWSO(03)
    end of type_qtyinf.
    Internal Table Declaration
    Data: itab_qtyinf type standard table of type_qtyinf. "Internal table for QTYINF.
    Work Area Declaration
    Data: wa_qtyinf type type_qtyinf. "Work Area for QTYINF.
    Variable Declaration
    Data: v_file_qtyinf type string, "Source File Name
    v1 type string,
    v2 type string,
    v3 type string,
    v_file_return type string,
    v_lin TYPE n.
    *Selection Screen Declaration
    selection-screen *
    SELECTION-SCREEN BEGIN OF BLOCK blk1
    WITH FRAME TITLE text-s01.
    PARAMETER:
    p_sysid(3) TYPE c OBLIGATORY , "Source System
    p_bukrs(4) TYPE c OBLIGATORY , "Source CompCode
    p_samshr type char30 lower case obligatory default '/sap_upload/' , "Samba Share Drive
    p_object TYPE CHAR10 OBLIGATORY default 'MAT' . "Migration Data Object
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN SKIP 3.
    PARAMETER:
    cb_pfill TYPE c AS CHECKBOX DEFAULT 'X' . "Prefill values?
    SELECTION-SCREEN COMMENT /1(79) text-s1a.
    SELECTION-SCREEN BEGIN OF BLOCK blk3
    WITH FRAME TITLE text-s03.
    PARAMETER:
    pa_filn1(500) TYPE c LOWER CASE
    VISIBLE LENGTH 50 , "Filename AppServer
    pa_dlimt TYPE c DEFAULT ';' . "Field Delimter
    SELECTION-SCREEN END OF BLOCK blk3.
    include bdcrecx1. "Include for the subroutine
    *& Include YX30_UPLOAD_QUALITY_INFO_DATA
    *& Form file_read
    Subroutine for reading the source file into internal table
    --> p1 text
    <-- p2 text
    FORM file_read .
    DATA:
    single_line TYPE string .
    *-- read file, split lines into fields and put data into table
    OPEN DATASET v_file_qtyinf FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
    IF sy-subrc EQ 0.
    DO.
    READ DATASET v_file_qtyinf INTO single_line. "Reading the content of file into line
    IF sy-subrc = 0.
    IF sy-index > 1. "skip header-line
    SPLIT "Split the content of line into work area
    single_line
    AT ';'
    INTO
    wa_qtyinf-matnr "Material No
    wa_qtyinf-lieferant "Vendor
    wa_qtyinf-werk "Plant
    wa_qtyinf-frei_dat "Frei Date
    wa_qtyinf-stsma "STSMA
    wa_qtyinf-anwso_01 "ANWSO_01
    wa_qtyinf-anwso_02 "ANWSO_02
    wa_qtyinf-anwso_03. "ANWSO_03
    APPEND wa_qtyinf TO itab_qtyinf. "Appending Work Area to internal table
    ENDIF.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET v_file_qtyinf. "Closing the files
    ELSE.
    MESSAGE e015 .
    ENDIF.
    DESCRIBE TABLE itab_qtyinf LINES v_lin.
    IF v_lin LT 0.
    MESSAGE e016 .
    ENDIF.
    ENDFORM. " file_read
    *& Form fill_parameters
    Subroutine for getting the file name
    FORM fill_parameters .
    IF cb_pfill = 'X'.
    Preparing QTYINF File
    CONCATENATE p_sysid '_forward' INTO v3.
    CONCATENATE p_sysid '_QTYINF_' p_bukrs '.CSV' INTO v2.
    CONCATENATE p_samshr v3 '/' p_object '/' v2 INTO pa_filn1.
    ENDIF.
    ENDFORM. " fill_parameters
    *& Form Authority_check
    Authority Check
    --> p1 text
    <-- p2 text
    FORM authority_check .
    Authority Check For the Migration
    AUTHORITY-CHECK OBJECT 'YX30_MIGR'
    ID 'SYSTEM' FIELD p_sysid
    ID 'BUKRS' FIELD p_bukrs
    ID 'YX30_DMOBJ' FIELD p_object
    ID 'ACTVT' FIELD '16'.
    IF sy-subrc <> 0.
    MESSAGE e010 WITH p_sysid p_bukrs p_object.
    ENDIF.
    ENDFORM. " Authority_check
    *& Form prepare_file
    text
    --> p1 text
    <-- p2 text
    FORM prepare_file .
    CONCATENATE p_sysid '_forward' INTO v3.
    CONCATENATE p_sysid '_QTYINF_' p_bukrs '.CSV' INTO v2.
    CONCATENATE p_samshr v3 '/' p_object '/' v2 INTO v_file_qtyinf.
    CLEAR v3.
    CLEAR v2.
    Prepare Return File
    CONCATENATE p_sysid '_forward' INTO v3.
    CONCATENATE p_sysid '_RETRUN_LOG_' p_bukrs '.CSV' INTO v2.
    CONCATENATE '/sap_upload/' v3 '/' 'MAT' '/' v2 INTO v_file_return.
    ENDFORM. " prepare_file
    *& Form update_qi01
    text
    FORM update_qi01.
    PERFORM open_group. "Opening a session
    CLEAR wa_qtyinf.
    LOOP AT itab_qtyinf INTO wa_qtyinf.
    PERFORM bdc_dynpro USING 'SAPMQBAA' '0100'. "Subroutine for mapping data
    PERFORM bdc_field USING 'BDC_CURSOR'
    'QINF-MATNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'QINF-MATNR'
    wa_qtyinf-matnr. "Mapping the material
    PERFORM bdc_field USING 'QINF-LIEFERANT'
    wa_qtyinf-lieferant. "Mapping the vendor
    PERFORM bdc_field USING 'QINF-WERK'
    wa_qtyinf-werk. "Mapping the plant
    PERFORM bdc_dynpro USING 'SAPMQBAA' '0101'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=STAN'.
    PERFORM bdc_field USING 'QINF-FREI_DAT'
    wa_qtyinf-frei_dat.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'QINF-STSMA'.
    PERFORM bdc_field USING 'QINF-STSMA'
    wa_qtyinf-stsma. "Mapping the status
    PERFORM bdc_dynpro USING 'SAPLBSVA' '0201'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'J_STMAINT-ANWSO(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=OKAY'.
    IF wa_qtyinf-anwso_01 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01. "Mapping the anwso(01)
    ELSEIF wa_qtyinf-anwso_02 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02. "Mapping the anwso(02)
    ELSEIF wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03. "Mapping the anwso(03)
    ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_02 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02.
    ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03.
    ELSEIF wa_qtyinf-anwso_02 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03.
    ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_02 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03.
    ENDIF.
    PERFORM bdc_dynpro USING 'SAPMQBAA' '0101'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'QINF-FREI_DAT'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=QMBU'.
    PERFORM bdc_field USING 'QINF-FREI_DAT'
    wa_qtyinf-frei_dat.
    PERFORM bdc_field USING 'QINF-STSMA'
    wa_qtyinf-stsma.
    PERFORM bdc_transaction USING 'QI01'.
    ENDLOOP.
    PERFORM close_group. "Closing the session
    ENDFORM. "update_qi01
    *& Form write_error_log
    text
    --> p1 text
    <-- p2 text
    FORM write_error_log1 .
    DATA:
    single_line TYPE string,
    v_msg TYPE string,
    v_msg1 TYPE string.
    *-- read file, split lines into fields and put data into table
    OPEN DATASET v_file_return FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
    IF sy-subrc EQ 0.
    CONCATENATE text-020 v_lin INTO v_msg SEPARATED BY space.
    CONCATENATE text-021 v_lin INTO v_msg1 SEPARATED BY space.
    TRANSFER: v_msg TO v_file_return.
    TRANSFER: v_msg1 TO v_file_return.
    WRITE:/ v_msg.
    WRITE:/ v_msg1.
    ENDIF.
    ENDFORM. " write_error_log
    Regards,
    Sree

  • Combined use of standard BAPI with Idoc....???

    Hi Experts..
    I go thru Bapi and Idoc. indiviuaslly.Now i want to use these together in one program. can i do that ..?
    If yes than plz give me  some example code which make use of the both bapi and idoc.
    I means......
    1. Need an example of the std.BAPI which uses Idoc.
    2.Example of Idoc. which uses std . Bapi's. 
    Thanks in advance.
    ..Lakhan

    When you ask, "Can we use SAP Standard extractors to pull out data from R3 to XI (without BI)," are you referring to SAP Exchange Infrastructure (SAP XI now called SAP Process Integration or SAP PI) or are you referring to SAP Business Objects Enterprise XI?
    SAP PI (SAP XI) doesn't have the mechanisms necessary for execution of standard extractors. SAP Business Objects Entrprise XI, by itself, doesn't have this capability. You would need to have SAP Business Objects Data Services XI, which is a separate application and has separate licensing than SAP Business Objects Enterprise XI, in order to expose the standard content extractors in SAP applications. If I recall, that capability was introduced in SAP Business Objects Data Services XI 3.2, which went into general release in August 2009.

  • Idoc for Posting data to FB01 transaction

    Hi,
    In my Interface, i need to post data to a SAP FI system->FB01 transaction from XI. The scenario is nonSAP system->XI->SAP FI.So what are the possibilites to post data to SAP FI->FB01 transaction. Is there any Idocs for that or any other method.
    Please share your ideas..Ponts will be rewarded for good inputs...
    Thanks

    Hi,
    You need to get the file with the required format from the sender system and there shouldn't be any mapping in PI. Also please check the below link on how to get the file structure.
    Re: File for 'RFBIBL00'
    There is also a help for the RFBIBL00 program. Check this too.
    http://help.sap.com/saphelp_45b/helpdata/en/35/a47e63763e0392e10000009b38f9b7/content.htm
    The file should be placed in the ECC application folder and this program needs to be scheduled with that file path. If you are not able to get the file in the required format then you may need to go with the IDOC or BAPI solution.
    ~Vaas

  • Inbound IDoc for WBS data

    Hi,
    WBS Master Data is stored on an external system (called PRISM).
    I need an Inbound IDoc for update in SAP of WBS data sent by external system.
    Thank you in advance.
    Kieron Kelly

    Hi,
    Please check the IDOC type :  if that doesnt suffice, go with a custom IDOC.
    /ISDFPS/PS01
    BUS2054001 is a business object that has many BAPI's for processing the WBS data. Check the method and click on ABAP tab for the BAPI/FM names.
    Regards
    Shiva

  • BAPI or IDOC for Advance Shipment in CS

    Hello
    I have to create Interface (inbound to SAP) for following function.
    (1) Create Service Notification and Create Sales Order from Notification and need copy from contract.
         This function can execute by manual.
          1) IW51 create Notification and click ADV Shipment icon
           2) Input SO type for Subsequent SO of Contract and enter
           3) in SO screen, item adding by reference contract and enter
           4) Copy contract item and update Qty
            5) Back to Notiication and save. (automatically SO saved)
         But I can't find BAPI/IDOC for this procedure.
         If someone know solution, please let me know.
    (2) Create Service Order and Create Sales order from CS order for Advance Shipment
       This function can execute by manual.
        1) IW31 create CS order and input component tab
        2) select component line and click ADV Shipment icon
        3) Input SO type for ADV SHIP and enter
        4) in SO screen, automatically component tab data copied and check this and back to CS order
        5) Save CS order (automatically SO saved)(CS order component changed to not relevant for reservation and ADV ship flag set to reservation)
       But I can't find BAPI/IDOC for this proceure.
       If someone know solution, please let me know
    If some portion can use by BAPI/IDOC etc, it good for me.
    Specially Link with Notification / CS order and SO is possible very useful for us.
    Regards

    check - VIEWPROC_V_TQ051
    Regards,
    Sonal

  • Need standard BAPI and Table for PO order

    Hi all,
    is there any standard bapi for  vendors last purchase order (based on document type).
    thanks in advance.
    Edited by: Dhanush on Oct 21, 2008 1:25 AM

    ok i cleared.i prepare report like this..
    types : begin of ty_ekko,
    ebeln type ekko-ebeln,
    lifnr type ekko-lifnr,
    bedat type ekko-bedat,
    bsart type ekko-bsart,
    *ernam TYPE ekko-ernam,
    *pincr TYPE ekko-pincr,
    *lponr TYPE ekko-lponr,
    end of ty_ekko.
    TYPES :BEGIN OF ty_ekpo,
      ebeln TYPE ekpo-ebeln,
      matnr TYPE ekpo-matnr,
      ebelp TYPE ekpo-ebelp,
      werks TYPE ekpo-werks,
    END OF ty_ekpo.
    data: maxdt TYPE ekko-ebeln.
    data : it_ekko type table of ty_ekko,
           it_ekpo TYPE TABLE OF ty_ekpo,
           wa_ekko type ty_ekko,
           wa_ekpo type ty_ekpo.
    parameters : lifnr like ekko-lifnr .
    SELECT MAX( ebeln ) INTO maxdt FROM ekko WHERE lifnr = lifnr .
    *select ebeln lifnr bedat bsart into table it_ekko from ekko where lifnr = lifnr AND bsart = bsart.
    *select matnr ebelp werks into wa_ekko1 from ekpo where  matnr = matnr AND bsart = bsart.
    select ebeln lifnr bedat bsart   into wa_ekko  from ekko WHERE lifnr = lifnr AND ebeln = maxdt.
       ENDSELECT.
    select ebeln  matnr ebelp werks from ekpo into TABLE it_ekpo where ebeln = wa_ekko-ebeln.                                                                          .
    write: / 'Vendor', 10 'Purchasing Doc' , 30 'Document type', 45 'Documentdate' , 65 'Material', 79 'Item number', 94 'plant'.
    ULINE.
    loop at it_ekpo into wa_ekpo.
    write : / wa_ekko-lifnr,
           10 wa_ekko-ebeln,
           30 wa_ekko-bsart,
           45 wa_ekko-bedat,
           65 wa_ekpo-matnr,
           79 wa_ekpo-ebelp,
           94 wa_ekpo-werks.
    endloop.
    Edited by: Dhanush on Oct 22, 2008 3:23 AM

  • Bapi or idoc for electronic bank statement

    may you please assist me on which bapi and or idocto use for elctronic bank statement  idocand guide me on how to implement the two

    Hello,
    If you want to use Idoc for electronic bank statement then idoc type should be :FINSTA01 & message type is FINSTA.
    For additional information check the following  link: http://help.sap.com/saphelp_nw04/helpdata/en/e4/52ec78bfff11d295f400a0c9426c73/content.htm.
    Hope this is what you were looking for .
    Thanks.

  • Standard SAP program name for the data extraction

    Please tell me the stadard SAP program  for the data extraction for Material, Vendor and Customer.

    you might want to explore tx. SXDA.

Maybe you are looking for