Two dependent transactions in BDC

Hi experts,
how to process dependent transactions in BDC such as creating a request for quotation  & based on the request for quotation document processing ME21
plz send me some idea & same code..
Thank you.

Hi,
First record bdc for one transaction.
If u r using call transaction
Call transaction 'ME21' using bdcsteps mode 'N' messages into t_messages update 'S'.
( If u want any number from above transaction,follow below code,u can get from sy-msgv1 to sy-msgv4 )
loop at t_messages.
call function format_messages.
endloop. )
clear internal table of bdcdata.
Call transaction 'TCODE' using bdcsteps mode 'N' .
This gives an idea.

Similar Messages

  • Dependent transactions in bdc --KO01 AND IE01

    Hello All,
    i have a task to record KO01 AND IE01 THROUGH BDC, i am able to record both the t.codes but not finding the link between both the t.codes,so can any please tell me in what way these two T.codes are dependent and functionality of them as wel....

    AFAIK
    - KO01 create an internal order (can be support for budget control or asset) - get number in first parameter of message KO107 in BDCMSGCOLL structure returned internal table ([MESSAGES  INTO|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION_BDC_OPTIONS.htm#&ABAP_ADDITION_4@4@] for CALL TRANSACTION, no SM35 BDC)
    - IE01 create an equipment, I suppose you have to use the newly created internal order in the additional data tab with the account assignment block
    Truly your functionnal should have given you more information
    Regards,
    Raymond

  • Two call  transaction in Sigle Report

    Hello  Everybody ,
    Is it possible  to write BDC in baclground  for two call  transaction  for different  Tcode in a sigle  ABAP  Report  .
    Regards,
    Sandeep

    Hi,
    Yes it is possible. Populate the values on BDCDATA table and do the call transaction. Only thing to remeber is the document flow. It should not be dependent. I.e data created by the BDC on first transaction should not be required to post second transaction. In such cases you may face difficulty for the second call transaction.
    thanks,
    Vivekanand

  • Calling mulitple transactions in bdc

    sir,
    i m trying to upload data into sap system through BDC Call transaction method.I want to insert data into two transactions throgh same abap program.Plz help me how i sholud call two transactions and what bout internal tables for these two different transactions, plz attach if u have any code .
    thanks
    aafaq

    Hi
    What is the confustion here.
    Build the data
    Call the first transaction
    Build the data again (for the second transaction)
    Call the second transaction.
    There will not be any difference execpt for the BDCDATA you building.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • How to implement two dependent dropdown lists in an input  table row?

    Hi all,
    I am new in Jdev 11g. I try to develop an input table with two dependent dropdown list. I can create independent dropdown list in such table. When I try to implement dependent one following some examples do it in a form using bind variable in the view object I get an empty listbox. How can I do this? Is it possible. I cannot find any documents about this.
    Thanks in advance

    Hi,
    it hasn't changed between 10.1.3 and 11. The basic outline of how you do it is
    - use a managed bean to query the data
    - populate the list with f:selectItems that point to the managed bean ArrayList<SelectItem> for the master and the detail
    - obtain the master ID in the managed bean by parsing the #{row} variable when the table renders
    - then bulild the detail list
    - have the detail list referencing the ArrayList<SelectItem> you expose for the details
    Note that without proper caching, the action is quite expensive
    Frank

  • Chain two standar transactions

    Hi Guys i need to chain two standar transactions F-48  with FBZ5, but not using Z programming. The problem is when in f-48 the user SAVE the document y need to call FBZ5 for print a check.   In F-48 i was search for user exits and i obtain this:
    F050S001,F050S002,F050S003,F050S004,
    F050S005,F050S006,F050S007,F180A001,
    FARC0002,RFAVIS01,RFEPOS00,RFKORIEX,SAPLF051 
    But when i search CALL CUSTOMER on SAPMF05A program, i not found nothing.
    Please any tip for solve this problem
    Thanks in andvance

    hi
    What ever u r telling is correct. But if it very urgent, u can try like this. You found some user exits right? So go to SMOD and give that exit name below select component radio button and press display button. You will get function module exits. If you have access, then go and give some small logic (any thing like c = a + b) inside the function module and put break point. Do for all exits like that and come back.
    Once you completed above process in all exits then go to f-48 transaction give some inputs and press SAVE button. Check any function module where you wrote that small logic is triggering. If you find then you can use that function module for you purpose as i hope.
    Reward if it dose.
    Thanks
    Siva Kumar

  • Two dependent SelectOneChoise objects...

    Hi, everyone! I have two dependent select one choice objects! See: http://my.jetscreenshot.com/2677/20100715-6suo-55kb
    Then I run my jspx page. First time when I choose values from first LOV, then secend LOV shows needed values. But when I repeat action - choose from first LOV value and then try to choose second LOV values then I see: http://my.jetscreenshot.com/2677/20100715-cgax-8kb
    But when I click on empty places then the correct values appears on secod LOV. Why it is so? Maybe there are problems with momory, because when I try to choose from first LOV that was first time, then all values are rendered and I can see them? PLEASE Help!
    Best regards!
    Edited by: Debuger on Jul 15, 2010 6:05 AM
    Edited by: Debuger on Jul 15, 2010 6:05 AM

    Hi Debuger,
    i worked simple testcase working fine.
    <af:inputListOfValues id="BankAreaId" autoSubmit="true"
    popupTitle="Search and Select: #{bindings.BankArea.hints.label}"
    value="#{bindings.BankArea.inputValue}"
    label="#{bindings.BankArea.hints.label}"
    model="#{bindings.BankArea.listOfValuesModel}"
    shortDesc="#{bindings.BankArea.hints.tooltip}">
    <f:validator binding="#{bindings.BankArea.validator}"/>
    </af:inputListOfValues>
    <af:inputListOfValues id="BankbankNameId" autoSubmit="true"
    popupTitle="Search and Select: #{bindings.BankName.hints.label}"
    value="#{bindings.BankName.inputValue}"
    label="#{bindings.BankName.hints.label}"
    partialTriggers="BankAreaId"
    model="#{bindings.BankName.listOfValuesModel}"
    shortDesc="#{bindings.BankName.hints.tooltip}"
    searchDesc="#{bindings.BankName.hints.tooltip}">
    <f:validator binding="#{bindings.BankName.validator}"/>
    </af:inputListOfValues>
    Regards,
    Kavitha

  • How to uploade multiple flatfiles for single transaction using BDC?

    How to uploade multiple flatfiles for single transaction using BDC?

    Hi,
    You need to upload all data files into an internal table first either using OPEN DATASET (application server files) or GUI_UPLOAD (PC files).
    Then loop at the internal table and call BDC transaction to process the data.
    Regards,
    Ferry Lianto

  • Two dependent lists in a search form

    How can i create two dependent lists in a search form?
    Am using jdev 10.1.3?
    Is there any sample wich can help me?
    THanks in advance !
    cheers,

    REPOST !

  • Authorization for call transaction in BDC

    Hi,
    How can I avoid authorization during call transaction in BDC. Is possible to fullfill data from transaction if user has no authorization to it?
    regards,
    J.

    Hi, I found solution to my problem here: http://sap.ittoolbox.com/groups/technical-functional/sap-security/transaction-security-2711921
    Thanks everyone for help.
    J.

  • Change transaction using BDC-problem for large number of lines on screen

    Hi All,
    I am developing BAPI (using BDC) which creates quality notification in SAP which is entered via front end web application. Structure p_qmsm contain 3 lines of task in notification. The code is as given below. To avoid problem of large no of lines on screen,code lines starting with * is used. This actually for pagedown after entering every 2 lines and creates new line. so that 2 lines always push up on screen and there will not be problem for creating large no of lines on screen
    perform bdc_dynpro using 'SAPLIQS0' '7200'.
    perform bdc_field using 'BDC_OKCODE' '=10\TAB11'.
    LOOP AT p_qmsm INTO wa_qmsm.
    *IF wa_qmsm_cntr > 2.
           wa_qmsm_cntr = 2.
           perform bdc_dynpro  using 'SAPLIQS0'                   '7204'.
           perform bdc_field   using 'BDC_OKCODE'                 '=PEND'.
    ENDIF.
    perform bdc_dynpro using 'SAPLIQS0' '7204'.
    perform bdc_field using 'BDC_OKCODE' '/00'.
    CONCATENATE 'VIQMSM-QSMNUM(' wa_qmsm_cntr ')' INTO wm_qmsm_qsmnum.
    CONCATENATE 'VIQMSM-MNGRP(' wa_qmsm_cntr ')' INTO wm_qmsm_mngrp.
    CONCATENATE 'VIQMSM-MNCOD(' wa_qmsm_cntr ')' INTO wm_qmsm_mncod.
    CONCATENATE 'VIQMSM-MATXT(' wa_qmsm_cntr ')' INTO wm_qmsm_matxt.
    perform bdc_field using wm_qmsm_qsmnum wa_qmsm-qsmnum.
    perform bdc_field using wm_qmsm_mngrp wa_qmsm-mngrp.
    perform bdc_field using wm_qmsm_mncod wa_qmsm-mncod.
    perform bdc_field using wm_qmsm_matxt wa_qmsm-matxt.
    wa_qmsm_cntr = wa_qmsm_cntr + 01.
    ENDLOOP.
    CALL TRANSACTION 'IQS2' USING wt_bdc
    MODE 'N' UPDATE 'A'  MESSAGES INTO P_MESSTAB.
    The same code is used in modify mode also. web application is sending all 3 lines in modify mode even if single line is modified. It is already decided to send all rows back from web application to SAP in same sequence. It is working fine if i comment 5 lines which is starting with *. But in modify mode, how can i ensure that correct row is modified? and how can i achieve problem of large no of lines on screen?Please suggest?

    Hi yogesh,
    how can i ensure that correct row is modified?
    1. For this we need to know two things ;
       a) the database table in which the entries are already stored
       b) the sequence in which they are displayed in the transaction.
    2. So before changing any line, we need to compare (the primary key values / important values)
       a) as per the database table and as per the incoming data from web application (using bapi)
      b) if the match is ok, it means that particular row was not modified, else modified.
    how can i achieve problem of large no of lines on screen?
    1. For this I am  not sure about the transaction and its screen. Manytimes for appending row on the screen,
      there is a PLUS + button on the grid toolbar. So for every entry, (inspite of some empty/filled rows already visible on the screen), we should use the + button, and this new row always appears on the top i.e. row number 1.
    hope this helps.
    regards,
    amit m.

  • No of transactions in BDC session

    Hi
    Do we have any limitation on no of transaction a single session can handle. I mean I have writtena BDC and I am running it using generate session method, which will generate a session in sm35. I have more than 2 million reocrds to update. which means that tcode needs to be executed  that many times. Does it create any problem
    thanks
    sankar

    Hi
    I am working with r/3 version 4.6 B . I ma using gui_upload to read the data froma text file from desktop. the text file contains tow columns of data separated by tab space. when i pass this to the gui_upload the two columns data is going into first column of the internal table. the code is shown below
    DATA : BEGIN OF itab_bdc OCCURS 0,
            konob LIKE table-konob,
            matnr LIKE table-matnr,
           END OF itab_bdc
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                      = p_file1
           filetype                      = 'ASC'
           has_field_separator           = 'X'
      HEADER_LENGTH                 = 0
        read_by_line                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
          TABLES
            data_tab                      = itab_bdc
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
    when i see the internal table itab_bdc the field konob contains both the columns data of the text file. It is not splitting the konob and matnr data into two different columns. what shd i do ??
    thanks
    sankar

  • Transaction in bdc

    hi,
    plz provide me example for a bdc program that i call two transaction code in one bdc programm
    the two *T-CODE are FBS1 & F.81 *
    FROM ANY ONE BY CALL TRANSACTION OR BY SESSION METHOD.
    JUST GIVE ME EXAMPLE
    THANKS
    jayant

    Create two Saperate T-codes for same program...
    Then after the recording when u do call transaction ...Insert the followin code....
    Case sy-tcode.
    when 'TCODE1'
    CALL TRANSACTION 1....
    When 'TCODE2'
    CALL TRANSACTION 2....
    Endcase.
    Raghav

  • How to save long text for IA01 Transaction using BDC

    Hi All,
    In my requirement I have to create a Task List Equipment and Task List Functional Location using BDC.Here I need to upload the long text for both IA01 and IA11 transactions.I am using SAVE_TEXT function module to save the text and COMMIT_TEXT also after save text.But I am not able to see the text in IA12 and IA02 transactions.But using READ_TEXT I am able to get the text what updated using SAVE_TEXT.
    Please answer for this if any one worked on this requirement <Priority normalized by moderator>
    Thanks,
    Satya.
    Edited by: Vinod Kumar on Jan 2, 2012 9:02 PM

    Hi Satya,
    There is a simple way to update the long text. There is  direct input object in the LSMW for long text.
    Object            : 0001
    Method          : 0001
    Program type : D
    SImply go and create the LSMW with first option and follow the steps. No need to call the function modules separately. This standard program will take care of every thing.
    If you have multiple lines to populate in the equipment master at the header level then you need two set of files. Then key will be equipment number with leading zeros if it will not be alpha numeric.
    1) First file with field EQUNR.
    2) Second file will be
    EQUNR                          C(018)    Technical identification number
    TXPARGRAPH                     C(002)    Tag column
    TXLINE                         C(072)    Text editor text line
    TEXT_MARK                      C(001)    Description Indicator for RIIBIP00 (IBIP) Processing
    Please let me know if you need more in detail.
    Thanks,
    Satheesh

  • How to handle more then one transaction in bdc

    how to handle more then one transaction in bdc

    Hi vinod,
    Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
    If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
    Award points if this helps.

Maybe you are looking for

  • Need help with G4 problem

    Months ago I have a problem on my G4 MDD which intermittently shuts down after putting it to sleep. Now some new problems are coming out. First one I noticed is that sometimes even the power switch light would turn off even though the computer is sti

  • Error Code 10 Intel 82579LM LAN connection on Portege R830-13C

    After recent Windows 7 32 Bit update, the LAN connection is failing to start (Code 10) under device manager "This device cannot start. (Code 10)" I have tried uninstalling drivers / rolling back / and installing the following files from Toshiba suppo

  • Pairing with a Bluetooth Headset

    I have a Curve 8530 ... the BB can't find my fully-charged Plantronics 520 headset when I go through the Bluetooth Setup page. Is there something I'm missing or not doing? Solved! Go to Solution.

  • Leave Cancellation Approval is not triggered

    Hi Frnds,    The leave cancellation workflow which is configured in IMG is not triggered for leave request with status APPROVED or SENT excluding the status u201CPOSTEDu201D. IMG Configuration for workflow: 1) WS12300111                u2013 New Requ

  • Copy big file in phases

    Big file >100GB I want to copy: it takes too long. I want to copy it in phases ie pause, shut down the computer and resume later. Is it feasible? thanks