Urgent doubt in BDC mb11

Hi,
I  am using call transaction MB11 with ref to delivery items. If we do not give any storage location in the delivery,in case of an error i.e insufficient stock of the components,no special error handling has to be in place.the error message of the MB11 transaction should be passed back to the screen.how can i achieve it.
thanks
Message was edited by:
        skk

Hi SKK,
Please find the logic..
DATA  : BEGIN OF MESSTAB OCCURS 10000.
           INCLUDE STRUCTURE BDCMSGCOLL.
DATA  : END OF MESSTAB.
CALL TRANSACTION 'MB11' USING BDCDATA MODE ZMODE UPDATE 'S'
                                                       messages into MESSTAB.
Hope this solves your problem.
Please give points if helpful.
Thanks.
Kaleem.

Similar Messages

  • Urgent doubt in BDC

    Hi,
        I clling BDC MB11 from Delivery.so,with ref to delivery document the delivery items will placed in MB11.but in case of an error i.e insufficient stock of the components,no special error handliong has to be in place.the error message of the MB11 transaction should be passedback to the screen.how can i achieve it.
    thanks in advance.

    Hi,
    Use FORMAT_MESSAGE Fm to capthuresthe system generated messages.
    Kishore.

  • Doubt in BDC

    I have a doubt in BDC,
    They used a standard SAP program (RSBDCBTC_SUB and RFBIBL00) for upload the data for the transaction FBB1. they don’t want the particular record .
    They used a session method for upload the data.
    I know only the session name. how I can delete the particular record.
    Once processed the session.
    Is it possible to delete the delete the record.
    Help me regard this.

    Priya,
    here i can suggest u one thing
    if u want to know the program r report related to that session
    just go to sm35
    select the session then go with analysis
    then in the screen u will get the screens used in that particular program
    when u double click on those screens control leads to that respected screen
    in that if u go with system - > status u will get all the details of the program
    when u double click on the program control leads into that program
    then there u can find all the details related to tables and everything
    i think it helps for u
    Regards,
    naveen

  • Beginner ABAPer asking Doubts in BDC

    Hi Guyz,
    I am a beginner in ABAP. Here i am sending some doubts on BDC . Any Kind of help will be highly Appreciated.
    Thanks,
    SAM
    1>How do we handle all the scrolling funcions(page ups, page downs atc), and values entered into table controls in BDC ?
    2> How do you take care of screen resolution in BDC?

    1) page up and page down ... i donno the actual procedure but this is one of the method...
    i hope this answers both of ur questions...
    After encountering the screen, say u need to select a field in a table. One of the methods is to press <b>Control F</b> on that screen then enter the field name which u want.. and press enter.. then that field will be the <b>first field in the screen resolution</b> ....
    just try this for a normal table like spfli... after going to the table display in <b>SE11 press control F or the Binoculars icon.</b>. then u will get a small window u just type in the name of the field u want.. and press enter .. see what happens,
    suppose ..
    have opened this spfli in se11 transaction and in display mode..
    Now <b>'PERIOD'</b> is the field which is not there in the resolution..
    so i have opened the find option ,provided the field name <b>PERIOD </b>in the field of search window.
    then pressed enter. Now i will get the same screen( spfli display screen ) with <b>period as the first field in that resolution</b> .. Now i can do whatever is i want with this field.. here i have double clicked on the domain of the field PERIOD.
    so u analyse this code....
    *spfli display screen..
    perform bdc_dynpro using 'SAPLSD41' '2200'. ( * spfli display screen , u can use ur screen number here )
    perform bdc_field using 'BDC_OKCODE'
    '=FIND'. (* To open the find window )
    perform bdc_dynpro using 'SAPLSD41' '0114'. ( * This is the find window )
    perform bdc_field using 'BDC_CURSOR'
    'RSDXX-FINDSTR'.
    perform bdc_field using 'BDC_OKCODE'
    '=CANC'. (* OK_CODE for enter )
    perform bdc_field using 'RSDXX-FINDSTR'
    'PERIOD'. ( * Here i am giving the field name which i want to search or which is not there in the resolution or u can give a vaiable name which contains the value <FIELD NAME> ).
    ( Now i got the spfli display screen with period as the first field in the screen resolution )
    perform bdc_dynpro using 'SAPLSD41' '2200'. (*The previous spfli display screen )
    perform bdc_field using 'BDC_OKCODE'
    '=WB_SELECT_OBJECT'. (* OK_CODE to double click on the domain of the field PERIOD )
    perform bdc_field using 'BDC_CURSOR'
    'DD03D-ROLLNAME(01)'.
    reward helpful answers...
    sai ramesh

  • Doubt in BDC (Creation of Production order)

    Hi experts,
         I have a doubt in my bdc, in my bdc i am going to create production order in CO01. its working properly but after entered the date i want to click operation overview and change one particular routing workcenter. But all the workcenter have the same field name of ARBPL, if anyone have a idea plz help its urgent. Point will be sure.
    gowri

    Dear Mr.Gowri Sankar,
    As you have created a BDC for creating production order,
    once after the order creation is over u can goto CO02 and change the work centre,routing details before release.
    Please tell us when do u want to change the work centre & routing details?
    If I'm wrong,please correct me.Also please share the concept of your BDC.
    Regards
    Mangal

  • Urgent: Doubt in coding a logic

    Hi Experts,
    I have a doubt in coding a logic . The bussiness requirement is that i have to capture a string of alphabets and check for particular alphabet in particular position and then process the rest of the logic.
    the logic is given below , can anyone suggest me coding for this logic .Its very urgent . points will be rewarded.
    Logic:
    If 1st letter is D then
        If 3rd letter of DPVERSION is:
            A --> Asia (like DPA0202)
            C --> EMEA (like DPC0111)
            L --> Latin America LA (like DPL0502)
            N --> North America NA (like DPN0408)
            W --> EMEA (like DPW0207)
            D then
                if 4th letter is:
                    A --> Asia (no example yet)
                    C --> EMEA (no example yet)
                    L --> Latin America LA (no example yet)
                    N --> North America NA (like DPDN01TH)
                    W --> EMEA (like DPDW09TH)
                End If
          End If
    Else if 1st letter is X then:
         If 2nd letter of DPVERSION is:
            A --> Asia (no example yet)
            C --> EMEA (XEHC_RTF)
            L --> Latin America LA (no example yet)
            N --> North America NA (XNFAB_RTF)
            W --> EMEA (no example yet)
        End If
    End If
    Thanks in advance
    Kumaran

    Hi, I think you can adopt offset logic.
    assign character value to a variable  like string+2(3) = char
    then use case statement
    case char
    when 'A'
    write ASIA
    when--
    End case.
    Like this u can approach . 
    Hope this helps
    Regards
    Pavan

  • Simple Doubt in BDC

    Hi friends,
       I am new to BDC .I am just trying a simple code which is written already.
       This is the simple code to fill the transaction VK13 first screen.
      PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RV13A-KSCHL'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
      PERFORM bdc_field       USING 'RV13A-KSCHL'
                                           wa_report-kschl.
      PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RV130-SELKZ(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                           '=WEIT'.
      PERFORM bdc_field       USING 'RV130-SELKZ(01)'
                                            'X'.
      CALL TRANSACTION 'VK13' USING i_bdc_tbl
                              MODE  'A'.
    FORM bdc_dynpro USING program dynpro.
      CLEAR i_bdc_tbl.
      wa_bdc_tbl-program  = program.
      wa_bdc_tbl-dynpro   = dynpro.
      wa_bdc_tbl-dynbegin = 'X'.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_DYNPRO
    FORM bdc_field USING fnam fval.
      CLEAR i_bdc_tbl.
      MOVE fnam TO wa_bdc_tbl-fnam.
      MOVE fval TO wa_bdc_tbl-fval.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_FIELD
    When execute this code it is just showing the empty screen of transaction vk13. It is not filling the condition type field with whatever value i am passing. When go in debugg mode i am not getting the logic again and again it is going to the first screen of vk13 and asking to enter the value whwn the statement CALL TRANSACTION is getting executed. It is clear to me.
    My main doubt is we are clearing the internal table i_bdc_tbl before calling the transaction once we move the value to the specific field.I am not getting what they tried to do there.Simply moving one record to internal table and again clearing it then moving a next record and clearing it again before calling the transaction.
    What we are trying to do by this?Can any one explain me.
    Please help me out in understanding this.
    Thanks in Advance.

    Hi Shri,
    You can go thru these links for more info on BDC:
    http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sap-img.com/bdc.htm
    www.sappoint.com/abap/bdcconcept.pdf
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.planetsap.com/bdc_main_page.htm
    Reward points if this helps.
    Manish

  • URGENT: Doubts in SRM5.0

    hi sir,
             i have some doubts in srm5.0 back end settings as shown below...
    1) what is VMC& how to activate VMC in SM52?
    2) what happend if i change the LOGICAL System for my naming convention in RFC destination?
    3) why should we maintain the local RFC within the SRM OWN server for what purpose? EVEN i having a SRM server.
    4) is it RFC user is a dialog user?
    5) I want to know the T.CODES for each &every menupath. pls tell me the path for that.
    my kind request to all can anyone send me solutions as written above questions URGENTLY.my id is      <b> [email protected]</b>
    WITH REGARDS TO ALL

    Hi
    1. For VMC check the link http://help.sap.com/saphelp_nw04s/helpdata/en/a9/26ae3c95164695accbf2483a14281e/frameset.htm
    2. Logical system name should be same as RFC destination (recommended by SAP), one reason may be, because for posting of IDocs in the system which will require same naming convention for LS name and RFC destination.
    3. I think, The local RFC is for creating the follow-on documents for SC in SRM system.
    4. RFC user may be a dialog or a system/communication user. For search helps you can RFC as dialog uer and for other data transfers thru RFC, it should be made as communication/system user.
    5. For Tcodes you can look at TSTC table. One alternative to find T-codes for an activity is (only some will work): SPRO - Menu options - Additional Information - Additional Information - Display Key - attributes.
    Rgds
    Reddy

  • Urgent question about BDC

    hi ,
    actualy in bdc recording , double click is not recorded through shdb,  and no other option we have , what should i do to record the double clik.........
    plz help its urgent
    pankaj gupta

    Hi,
    I donno y the double click is not captured for u in SHDB. I have done a recording where i am double clicking a record and it is captured in shdb.
    However i am giving u the ok-code for double clicking. u can use it in the bdc and check.
    ok-code  '=PICK'.
    perform bdc_field       using 'BDC_OKCODE' '=PICK'.
    Regards,
    Asif Ali Khan

  • Very urgent: Doubts regarding CRM WORKFLOW OF BUSINESS PARTNER CREATION

    HI ,
    I HAVE DOUBTS REGARDING CRM WORKFLOW OF BUSINESS PARTNER CREATION, WHILE I AM CREATING BUSINESS PARTNER THROUGH R/3 , IT REFLECT IT INTO MYSAP CRM ALSO, AT THAT TIME IT SENDING THE MAIL TWICE TO THE RECEIPIENT. IS THERE ANY WAY THROUGH  WHICH I CAN RESTRICT IT TO SEND THE MAIL ONLY ONCE,
    PLZ SEND ME THE REPLY AS SOON AS POSSIBLE,
    THANKS  ADVANCED,

    HI
    WORKFLOW SEETING. SAP MAIL
    MULTIPLE MAILS AND
    ONLY ONCE CHOOSE
    ONLY ONCE OPTION ON WHICH VERSION U R WORKING?
    REWARD IF HELPFUL
    VENKAT

  • URGENT DOUBT IN BADI

    Hi Experts,
    My requrement is on BADI's but i have not much idea on this requrement,requirement is as follows:
    · A user exit is needed on the delivery that rebrands sub items into the header item and the header item will then be Post Goods Issued.
    · This needs only to be done for materials with ‘Item Category’ equal ‘ZTNB’.
    · The SAP sales BOM functionality needs to generate movement types 309/310 rebrands for the component materials and 601 on the header or additized material.
    · We want 309 Credit entries on the base product instead of additized product.
    · This is needed to create the correct financial posting as well as stock movements
    · It can now check the header MOT of the delivery for PK as well as the item category of the sales BOM header ZTAQ
    This is the screen flow for transaction MB11 which can be called via the ‘Call Transaction’ statement. It shows all data needed to process this transaction.
    It is not necessarily wanted that the user exit BADI - LE_SHP_GOODSMOVEMENT calls this transaction.
    plz help me out from this problem.
    Thanks

    Please only open one post per question.   Thanks.
    Regards,
    Rich Heilman

  • Urgent doubt in validating numbers

    Hi Experts,
    i have a doubt that how can we checking and validating all numbers; mind you: the US uses different decimal notation so it would have to format into SAP's internal, catching conversion exceptions and notifying the user if such occurs?
    Thanks

    Hi
         Here iam giving 1 example .
    The Excel sheet provides:-template to fill out by user-control fields to verify what data format is used by userThe sheet must be protectedWe use control fields in the spreadsheet (protected, cannot be changed by user) to store a predefined date (i.e. 12/31/2005) and number (i.e. -12345.67). The upload program will read these values and confirms the user’s settings for date and number formatting.
    wa2_datatab-col020(4) = wa_datatab-col026(4).
    wa2_datatab-col024(2) = wa_datatab-col023(2).
    wa2_datatab-col026(2) = wa_datatab-col020(2).
    data: l_month(8) type c,
          l_mnr(2) type c.
    l_month = WA_DATATAB-COL02+3(8).
    perform sub_get_month using l_month
                          changing l_mnr.
    wa2_datatab-col02+3(2) = l_mnr.
    form sub_get_month  using    p_l_month
                        changing p_l_mnr.
    select mnr
           from t247
           into p_l_mnr
           where spras = sy-langu
           and ltx = p_l_month.
    endselect.
    how can do this?plz give the code DATE can be formeted as above logic but how can format number?
    Thanks
    Message was edited by:
            bhanu

  • Urgent  Doubt in 3rd party

    Hi,
    In 3rd party, the customer sales information How to track the Vendor. And
    how to find the vendor delivery qty
    how to settled the Accounts
    How to settled the return materials to vendor
    Thanks for advace
    pls urgent
    Regards
    Rao

    Hello,
    Assume three companies X, Y and Z
    X - The company,
    y - The customer
    Z - Vendor
    Now Z supplies the material to Y and acknowledges the same to X.
    Z  will send a copy of delivery acknowledgement and invoice to X.
    After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
    The next step for X  is to create an invoice and submit to Y
    Only after the invoice verification document is posted  then only X can create an invoice for Y.
    Third Party Return Process
    If the vendor grants you a credit memo on a quantity or a value basis, you can then send this credit memo directly to your customer.
    The billing type Third-party credit memo (G2S) is available for this. The billing type Third-party credit memo works with the item category TASG (third-party credit memo item). The Billing-relevance indicator F is set in Customizing for Sales for this item category. This means that the cost is not created. In Customizing for Sales, the item category TASG is set at item level in copying control for the billing type G2S (copying control sales document by billing document) as the target item category (source: TAS-> Target:> TASG.)
    Process Flow
    Create a billing document with billing type Third-party credit memo (for further information, see the section Creating a billing document in the Billing document). Enter the third-party order as a document still to be processed. The quantities are automatically removed from the invoice.
    The above is the process for giving a credit memo which can be adapted for return goods.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • Urgent-doubt in servlets

    hi to all,
    i am using tomcat server.i have a doubt in executing packaged servlet and it shows error 404 cannot resolve symbol when i tried to access thru browser
    i have attached below the mapping content of web.xml.Actually the servlet file got executed for packageless servlet and there is a
    problem in executing the packaged servlet.
    Any help would be highly appreciable because i have tried few methods
    and it didn't work out.help me
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <* mapping content for packageless servlet */
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/servlet/HelloServlet</url-pattern>
    </servlet-mapping>
    <* mapping content for packaged servlet */
    <servlet>
    <servlet-name>HelloServlet2</servlet-name>
    <servlet-class>moreservlets.HelloServlet2</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet2</servlet-name>
    <url-pattern>/HelloServlet2</url-pattern>
    </servlet-mapping>
    </web-app>
    reg,
    arv

    Hi aarvindk,
    I remember <servlet-mapping> tags must appear after any <servlet> tags in web-app document.

  • Urgent : Doubt in writing a code in start routine

    Hi all ,
                 I am BI 7.0 system , I have doubt in writing a code in start routine .
    1) i have to extract the data first from a custom table based on one condition and then placing it into internal table .
    2) Now i have to loop at source_package for a particular region field say "ASIA". with this result i have to check for the correponding entries in custoom table .
       if condition is not true (i.e ) with entries or not matching then delete that particular record from source_package.
    i have written a small logic for this . but this is producing any ouput , Please check it and also let me know for modifications .
    thanks in advance.
    select * from zcsp
        into corresponding fields of TABLE itab_T
        where
        ZBUSINESSUNIT = 'BC'.
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE where /BIC/DPREGION = 'XE'.
                 loop at itab_t into itab_w where zcategory =
                   ls_source_package-/BIC/DPMAT/BIC/DPCAT.
                       if sy-subrc ne 0.
                         delete SOURCE_PACKAGE.
                       endif.
               endloop.
           endloop.

    You're deleting the entire input package.  You only want to delete the one row.
    DATA: g_tabix TYPE sy-tabix.
    SELECT * FROM zscp
    INTO CORRESPONDING FIELDS OF TABLE itab_t
    WHERE zbusinessunit = 'BC'.
    SORT itab_t BY zcategory.
    LOOP AT source_package INTO ls_source_package WHERE /bic/dpregion = 'XE'.
      g_tabix = sy-tabix.
      READ TABLE itab_t WITH KEY zcategory = ls_source_package-/bic/dpmat/bic/dpcat TRANSPORTING NO FIELDS BINARY SEARCH.
      IF sy-subrc NE 0.
        DELETE source_package INDEX g_tabix.
      ENDIF.
    ENDLOOP.

Maybe you are looking for