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.

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

  • Standard Report with IDOC Number and PR number

    Hi
    My client need the Standard report with the combination fields of "  Purchasing Number , Requirements tracking number in PR,
    IDOC number , IDOC Processing status. "
    (Our PR will generates through IDOC from other system via XI interface)

    Hi Nagendra,
    for   Purchasing Number , Requirements tracking number in PR you can use -ME5A
    Purchasing Number-EBAN-BANFN
    Tracking number goto- MELB.
    table name-EKPO
    for  IDOC number , IDOC Processing status -we09
    For IDOC number -EDID4-DOCNUM
    IDOC Processing status-EDIDC-STATUS
    Regards,
    Krishna.
    Edited by: kris_hna on Sep 8, 2011 1:14 PM
    Edited by: kris_hna on Sep 8, 2011 1:19 PM

  • Support message creation using "BAPI_NOTIFICATION_CREATE" standard BAPI

    Hello Experts,
                         I am a ABAPer making use of  "BAPI_NOTIFICATION_CREATE", for creation of support desk message in SOLMAN 4.0 . The problems that i am facing , when i create message using this BAPI are,
    1)By default the notification type is taken as 'SLFN',though i pass 'SLF1' as my input parameter to BAPI.WHY is this happening?
    2)The description part of the message is not coming up in the support desk screen ,though i pass it in NOTIF_TEXT_LINES in TDLINE.
    3)Support Team value is getting picked up in the partners tab of Transaction data in support desk screen.
    4)I would like to ADD ATTACHMENTS also ? where should i pass this parameter ?
    Other than this i am getting the rest of the feilds,in the message created
       If some one has worked with this standard BAPI pls send me the details of the input parameters that i have to pass for the message creation and give solution for my problem ASAP.
    If  there are any SAP notes or blogs that are related to this,pls send me those details also, its a urgent requirement.
    Thanks & Regards,
    Mohana Priya

    Was this resolved? I am having same issue I need to get the Description and Attachements fixed, Any help is appreciated, Thanks

  • 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

  • Use SAP Standard transaction with multi-language

    Hi,
    we have some problems to use standard SAP transaction (like S_ALR_87012082 transaction) the standard Vendor balance, with vendor Master Data.
    I explain, we have some vendors with french, english names (writing in French, English words) in LFA1-NAME field. But in the same times, the Russian accounting requirements are to write all in Cyrillics
    caracters and the name too, on paper and transactions.
    So how we can do to edit vendor in French for french users, in English for English user and Cyrillic for Russian users ?
    We try to create an International versions in 'R' (cyrillic version), but we have the same result. It's normal, because the program select LFA1-NAME field.
    So, we have to find one solution quickly for the next accounting closing.
    Thank's for your help.
    Best regards,
    Gilles DANJOU

    Surendra,
    Which transaction is this and is the change inside an FM ?
    K.Kiran.

  • Use of Lotus Notes with IDOC.

    would like to check with you all, currently I am reading a text file from interface manager and 'put' it into IDOC- basic type ORDERS05 and later auto create the Sales Order.
    After that, I need to generate an text file regarding the status of the IDOC plus some other information from the new created Sales Order.
    This text file need to send to the specify user thru external email like Lotus Notes.
    Does anybody know which function module I can use ?
    Thanks & Regards,
    Chakri.

    Hi,
    Source : Google
    Check this if useful.
    *To prepare the subject line
    CONCATENATE text-034 v_belnr text-035 INTO v_subject SEPARATED BY space.
    CLEAR v_belnr.
    *Add the recipients email address
    CLEAR wa_receivers.
    REFRESH t_receivers.
    wa_receivers-receiver
    = v_usrid.
    wa_receivers-rec_type
    = c_u.
    wa_receivers-com_type
    = c_int.
    wa_receivers-notif_del = c_x.
    wa_receivers-notif_ndel = c_x.
    APPEND wa_receivers TO t_receivers.
    CLEAR wa_receivers.
    Describe the body of the message
    CLEAR wa_packing_list.
    REFRESH t_packing_list.
    wa_packing_list-transf_bin = space.
    wa_packing_list-head_start = c_1.
    wa_packing_list-head_num
    = c_0.
    wa_packing_list-body_start = c_1.
    DESCRIBE TABLE t_message LINES wa_packing_list-body_num.
    wa_packing_list-doc_type
    = c_raw.
    APPEND wa_packing_list TO t_packing_list.
    CLEAR wa_packing_list.
    *Populate the subject/generic message attributes
    wa_doc_data-obj_langu
    = sy-langu.
    wa_doc_data-obj_name
    = c_saprpt.
    wa_doc_data-obj_descr
    = v_subject.
    wa_doc_data-sensitivty = c_f.
    CLEAR : v_subject,
    v_belnr.
    *Call the FM to post the message to SAPMAIL
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data
    = wa_doc_data
    put_in_outbox
    = c_x
    IMPORTING
    sent_to_all
    = v_sent_all
    TABLES
    packing_list
    = t_packing_list
    contents_txt
    = t_message
    receivers
    = t_receivers
    EXCEPTIONS
    too_many_receivers
    = 1
    document_not_sent
    = 2
    document_type_not_exist
    = 3
    operation_no_authorization = 4
    parameter_error
    = 5
    x_error
    = 6
    enqueue_error
    = 7
    OTHERS
    = 8.
    *commit work.
    *Status of the IDOC. need to be updated.
    IF sy-subrc IS INITIAL.
    idoc_status-docnum = idoc_contrl-docnum.
    idoc_status-status = c_status68.
    APPEND idoc_status.
    CLEAR idoc_status.
    ELSE. "If the mail was not sent.
    idoc_status-docnum = idoc_contrl-docnum.
    idoc_status-status = c_status63.
    idoc_status-msgid = c_msgid.
    idoc_status-msgno = c_mailfail.
    APPEND idoc_status.
    CLEAR idoc_status.
    ENDIF.
    ELSE. "If user-id(email-id) was not found
    idoc_status-docnum = idoc_contrl-docnum.
    idoc_status-status = c_status63.
    idoc_status-msgid = c_msgid.
    idoc_status-msgno = c_mailnotfound.
    APPEND idoc_status.
    CLEAR idoc_status.
    ENDIF.
    Regards..

  • Standard Bapis or Idocs

    HI friends..
    could you please tell me standard IDOC or BAPI for Transactions IW41 and IW42 ..<b>work order creation</b>..
    thanks in advance
    regards
    ram

    HI
    thanks for your quick responses..
    Mr.Abhey,
    IORDER01 is suited for requirement..thank you..
    but i want to know the process code...its for work order completion..
    after IDoc posting in SAP it needs to Update IW31 and IW32..
    please guide me friends..
    and tell me is ther any BAPI for these Tcodes??
    thanks in advance ...
    regards
    ram

  • VB code for connecting to SAP,using some standard bapi to get data to VB

    Do not use capital letters in the subject line, please see rules of engagement before you post any thread in the forum
    Hi ,
    Can anyone plz give code of VB to connect with SAP and Getting data from SAP table using RFC .
    Thks in Advance.
    Subject line edited by: Moderator Mohan Kumar K on Sep 9, 2009 12:23 PM

    This should be of enough help.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/608058b4-81b7-2910-4598-8a66dcdba0a8;jsessionid=(J2EE3417200)ID1155449350DB01489027927965648987End

  • BAPI with IDOC

    Hi experts,
                   I am new the concept of IDOC.so help me please.
    Actually i have two systems ECC6 and SAP4.7. When i send a details for creating material number from sap4.7 to sapecc6.I want to create the material number in ecc6 and return that material number to sap4.7.I want to do this.how can i do..help me with tips and steps.I will must reward.
    Thank u,
    Manjula devi.D

    Hi Manjula ,
    To return the material number  do like this .
    I have done the similarrequirement . Please find the below Procedure
    ->  In ECC 6.0 before ending of the  function module IDOC_INPUT_MATMAS01(what ever) ,Create anenhancement spot .
    Check whether the Idoc is posted succesfully or not,
    If posted successfully
    In ur function module I_MERRDAT-MATNR  parameter which holds Material number
    ->Now create a Ztable to make the matrial number-ECC 6.0 entries and Old material-4.7(If u need) .(Matian some Key fields to identify the record .
    ->After this create a RFC to read the entries .
    RFC Explanation :
    . create RFC in the Reciever system and call it in the sender. to Read the table Entries .
    or
    send a notification message(Mial) to the sender
    for my Invoice Application I created the table is and I sent error descrptions in your case it is Materail numbers .
    ZTABLE
    VENDOR_ID
    PO_NUM
    VENDOR_INV_NO
    CREATION_DATE
    CREATION_TIME
    ERROR_MSG1 ERRTEXT CHAR
    ERROR_MSG2 ERRTEXT CHAR
    ERROR_MSG3 ERRTEXT CHAR
    I hope this helps to you .Please let me know if u have any query.
    Rgds
    Sree M

  • (Sales & Operations Planning) - Can we use RMCPSOP along with IDoc method

    Hi,
        While transferring data to demand mgmt(SOP) using the standard mass processing, sometimes the job is getting failed with error u201CNo period unit maintained in material masteru201D, after analysing the code which is triggering this error, we found that when ever an S076E is not the for corresponding Planning entry, it is triggering the error. 
         We are using the standard mass processing job using IDoc method to update S076((Sales & Operations Planning), we found that sometimes the S076E table was not getting updated with the Material/Plant combination. As suggested in SAP Note 500354 Program RMCPSOP can be used to synchronize S076 and S076E tables. Seeing the technical description of the suggested program it will create S076 and S076E entries based on PGMI and PGZU tables.
    My question is
    1) Can we use the RMCPSOP along with IDoc method, does it overwrites the S076 entries which were updated with IDoc method?
    2) At what step should the RMCPSOP executed if we use IDoc method.
    Regards
    Bala Krishna

    > I am planning to use WMMBID02 for it.
    > Although I found in Std SAP it is available for inbound only but I feel we can generate this idoc using user exit available at the time of "material document posting".
    >
    If you find nearly all the fileds which are asked by ur partner in that idoc, thats fine.
    > my second query is , in this idoc along with other information we also have to send information related to "REASON CODE" and "To Stock Status" ( Like in case material is transferred from Blocked to unrestricted stock type and To Stock status will be Unrestricted ) but these fields are not available in idoc defination , what should I do ?
    >
    You can extend the idoc, if you still think that you are having enough fileds in standard idoc, which are usefull.
    Reddy

  • Issue while creating Outbound Delivery using Standard BAPI

    Hi all,
    I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
    Regards,
    Vimala P

    Hi Vimala,
    I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
    1) Delivery Type
    2) Delivery selection date
    Needs to be passed in import parameters.
    Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
    Thanks in Advance..
    Regards,
    Rajasekar .M

  • Duplicate Invoice PROBLEM with IDOC

    Edited by: Go on Jan 23, 2008 6:28 AM
    Edited by: Sara Go on Jan 27, 2008 10:04 PM

    Hi,
    Please be informed Duplicate invoice check is a "pure online
    functionality".
    Duplicate invoice check is not intended for use with automatic
    transactions such as the use of the IDoc's or BAPI  ; it is meant to prevent a user from inadvertently keying in the same invoice twice.
    This is why it is not used by the BAPI or IDoc. There are no plans to change this functionality in the standard system.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • BAPI  or  IDOC

    Hi friends,
                      We have the Requirement of taking customer data from Legacy to ECC through PI. The Client has 167 fields in his customer database . But ECC needs Only 25-30 fields . BI needs all fields. So my PI consultant has create one structure which is common to both of us. So, My doubt is whether i have to go For IDOC or BAPI . Which one is better to do...and the reason to go for particular method...............Thanks in Advance.

    Hi,
    It really depends .
    If there is already standard BAPI or Idoc exists, then it is prefer to go for that. In this case, as you expect Response i.e Synchrnous, then it is prefer to go for BAPI communication. But potential problem here, is if huge amount of data flow is there, then you need to check the performance as it is a synchrnous. Bottomline is to avoid synchronous call as much as possible. if so then automatically the choice is Idoc. And there are already error handling etc is taken care if it is standard idoc/rfcs
    Just to give some more info-
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    RFC/IDOC ADAPTERS
    Regards,
    Moorthy

  • SAP Standard BAPI Issue ---BAPI_PROCORDCONF_CREATE_TT

    Hi
    We are using the standard BAPI--  BAPI_PROCORDCONF_CREATE_TT to do Process order confirmations , which is invoked by an MII BLS using data from the MES system.
    Everything worked like a charm ( Partial confirmations, Final Confirmations, Goods Movements ie.101 etc) , but recently we implemented it a new plant. Now in this plant there is a strange Business process i.e they Do a partial confirmation of the full qty of the process order and then do a Final Confirmation with Zero Qty. let me explain
    Process order requires 100 GAL of a perticlar paint .
    First the MES system does a process order confirmation and goods Receipt of 100 Qtys  as  a Partial confirmations and then They do a Final confirmation with Qty as Zero.
    This works fine when i do it in the SAP GUI ( CORK t-code for process order confirmations and GR) but with the BAPI  BAPI_PROCORDCONF_CREATE_TT , the first transaction sets the Status of the process order the to PCNF DLV (which is as expected) .
    Next when they send a Zero Qty with a final Confirmation , the system changes the STATUS of the proces order to CNF (and removes the DLV) which does not happen with SAP GUI and CORK t-Code.
    Is there any parameter that i am missing.
    Please help me. the plant has gone live , they dont want to change the process and i need to resolve this issue.
    Regrads
    Suraj Prabhu

    Hi CKxMII
    Movement Type value i am passing is 101.
    What i am doing in MII is first i Pass the basing parameters of Plant, Order ID, Phase, Yield and Confirmation type (X for Final, Space for partial) to another standard BAPI BAPI_PROCORDCONF_GET_TT_PROP.
    Now this BAPI returns me with all the required parameters for the  actual Process Order Confirmation BAPI i.e BAPI_PROCORDCONF_CREATE_TT .
    See the issue is not that the Final or Partial Confirmation is not happening. They are happening fine. Only in case where i am doing a final confirmation with the Qty = Zero is where i am seeing the  DL Flag is dropped.
    Regards
    Suraj

Maybe you are looking for