Two fields of bdc programme

hello,
there is two fields for VORNA,NACHN i.e. firstname and last name i want to upload the data for this two fields through BDC, kindly let me know how to do the same through BDC.
i am the beginner, this two fields i am using for testing prupose, please let me know the same in step by step with screen short then i can easily pickup.
please do the needful at your earliest please.
somebody already send me the sample programme of bdc i could not understanding the same, therefore please explain me in details please.
please rreply me soon and oblige.
thanks
sujatha

Hi,
First of all, i don't think that we can post screen shots in SDN!! you should send over your mail address for that purpose.
For BDC, do a transaction recording through transaction SHDB  to simulate whatever processing you want to do in BDC. You will get table with values similar to the program below. please adapt according to your requirements
Try this sample code for BDC for transaction VB03,
*Work Areas for   call transactions
  data :wa_bdcdata type bdcdata ,
        i_bdcdata  like standard table of bdcdata .
clear  :wa_bdcdata.
  refresh:i_bdcdata.
  move: 'SAPMV13A'  to wa_bdcdata-program,
        '0401'      to wa_bdcdata-dynpro,
        'X'         to wa_bdcdata-dynbegin.
  append wa_bdcdata to i_bdcdata.
  clear wa_bdcdata.
  move: 'BDC_CURSOR'     to wa_bdcdata-fnam,
        'RV13A-KNUMA_BO' to wa_bdcdata-fval.
  append wa_bdcdata     to i_bdcdata.
  clear wa_bdcdata.
  move: 'BDC_OKCODE' to wa_bdcdata-fnam,
        '/00'        to wa_bdcdata-fval.
  append wa_bdcdata to i_bdcdata.
  clear wa_bdcdata.
  move: 'RV13A-KNUMA_BO'      to wa_bdcdata-fnam,
        '126'   to wa_bdcdata-fval.
  append wa_bdcdata   to i_bdcdata.
  clear wa_bdcdata.
  move: 'SAPMV13A'  to wa_bdcdata-program,
        '0410'      to wa_bdcdata-dynpro,
        'X'         to wa_bdcdata-dynbegin.
  append wa_bdcdata to i_bdcdata.
  clear wa_bdcdata.
  move: 'BDC_CURSOR'     to wa_bdcdata-fnam,
        'KONA-BONEM' to wa_bdcdata-fval.
  append wa_bdcdata     to i_bdcdata.
  clear wa_bdcdata.
  move: 'BDC_OKCODE' to wa_bdcdata-fnam,
        '=BUMS'        to wa_bdcdata-fval.
  append wa_bdcdata to i_bdcdata.
  clear wa_bdcdata.
  move: 'SAPMSSY0'  to wa_bdcdata-program,
        '0120'      to wa_bdcdata-dynpro,
        'X'         to wa_bdcdata-dynbegin.
  append wa_bdcdata to i_bdcdata.
  call transaction 'VBO3'     "Crt Outb.Del. w\Order Ref.
  using i_bdcdata             "structure BDCDATA
  mode 'E'.
  if sy-subrc = 0.
  endif.
Thanks and Regards,
Sooness

Similar Messages

  • Vendor Master (XK02) - Missing Screen fields in BDC recording.

    Hi All,
    I have extended IDOC type cremas03 to add some extended fields (sort1 and sort2) which are not in the standard IDOC.  In the exit ZXVSVU04, I plan on doing a call transaction to XK02 to update the required fields.  In my BDC recording, the two fields are not available, but are available when not in BDC both in change and create.   I have also tried recording FK02 and this behaves the same way. Is there a way of having these fields added so they are available in the BDC session?
    Best regards,
    James.

    Hi
    Really strange ...
    What all comes in the last section of the Web page, when you are using BBPMAINTINT transaction in SRM4.0?
    Look carefully, below the email option, there is an option for FTP as well.
    OR
    Is email option is coming as a drop-down list ?
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Can not see two fields in Crystal 2008 Developer explorer/designer view

    I am currently developing crystal 2008 reports against the salesforce.com database using version 12.0.0.683 CR Developer Full version. I am using an updated driver that was provided in July or Aug 08 in order to view self referencing fields. The problem is that when I try and report against one of the tables (lead history) I cannot view two of the fields (New Value and Old Value)? I can see these two field (New Value and Old Value) in the database expert as the last two fields in the actual table, but the two fields are missing when I go into the explorer/designer view. In Salesforce, these two fields can not be filtered on, but I can export all the values in this table using Salesforece Apex data loader.

    Please re-post if this is still an issue to the OnDemand Forum or purchase a case and have a dedicated support engineer work with you directly

  • How can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

  • How to create a field in an OAF page which sums two fields in the same page.

    Hi,
    In the HRMS appraisal page, I have two fields in different regions.
    1. One field shows the total score of the competencies.
    2. Another field shows the total scores of the objectives.
    The problem with the appraisal total score is it returns only the rating level id. (It does not take decimal values)
    Hence I want to add the above two fields which is displayed in the same page and show as a new field in the top of the page as the final appraisal score.
    [Something similar to what is mentioned in the metalink document 1315431.1 ]
    We are in 11.5.10.2.
    I am new to OAF and have no idea as to how to achieve the above step. Can anyone guide me in doing it?
    regards

    Hi,
    Went through the steps to do a VO substitution.
    But normally in all the examples given the page will belong to the application where we are modifying.
    Eg. in this case the "about this page" shows /oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG
    This is coming under fnd top where all the appraisal VOs and other pages comes under PER_TOP.
    Should I bring all the files from FND_TOP of the server to my PC where jdev is installed.
    I have already taken all the files under $PER_TOP to my PC.
    regards

  • How to write bdc programme to load the data in table control

    Hi
    i have to write a bdc programme and the data to be filled in table control fileds can any one help me with the code how i have to write it is for cs02 tcode
    thanks and regards
    naveen

    Hi Naveen,
    See the sample code
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29N-DATUV'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=KALL'.
      PERFORM bdc_field       USING 'RC29N-MATNR'
                                    w_matnr.
      PERFORM bdc_field       USING 'RC29N-WERKS'
                                   w_werks.
      PERFORM bdc_field       USING 'RC29N-STLAN'
                                    '1'.
      PERFORM bdc_field       USING 'RC29N-DATUV'
                                    '01/01/2004'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '2110'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FCPU'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29K-BMENG'.
      PERFORM bdc_field       USING 'RC29K-BMENG'
                                    w_testuph.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-MENGE(02)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FCBU'.
      PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                    w_testuph.
    "For raw material.
      IF NOT w_raw_mat_fg IS INITIAL.
        PERFORM bdc_field       USING 'RC29P-MENGE(02)'
                                   w_testuph.
      ENDIF.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POSNR'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POTX1'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POSNR'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POTX1'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
      CALL TRANSACTION 'CS02' USING bdcdata MODE w_display_mode UPDATE 'S'
                 MESSAGES INTO t_message_tab.
    Prabhudas

  • Is there a way to have two fields hidden from the user but active for the person receiving the form?

    I have an order form where there are two fields that the original form filler does not fill out. The person who finally receives and processes the completed form needs to fill in those two fields. I'm not sure how to handle this. Any help would be appreciated.
    Thanks,
    MDawn

    My suggestion is a folder level script, that controls the visibility of form objects.
    Only if this script is installed the fields will be visible.
    You need three things for this.
    1. The folder level script that has to be installed in the javascript folder of Acrobat or Reader:
    var ShowMeAll = app.trustedFunction(function(doc)
         app.beginPriv();
         var ShowMe = this.xfa.form.Form1.Master.ShowAllContent;
         ShowMe.rawValue = "Yes";
         app.endPriv();
    2. A hidden textfield in the form (on the masterpage for example).
    Let's say you name it "ShowAllContent".
    Put this script into it's docReady:Event.
    try
         event.target.ShowMeAll(event.target);
    catch(e)
         this.rawValue = "No";
    3. A script in the layoutReady:event of the subforms or form fields you like to show/hide depending on the presence of the folder level script.
    if (xfa.form.Form1.Master.ShowAllContent.rawValue == "Yes")
         this.presence = "visible";
    else
         this.presence = "hidden";

  • How do I subtract two fields in a form?

    I am working on an expense form and I have everything working except one thing.
    We have to subtract any over payments from previous expense reports on the current expense report. I am looking at the calculate tab of the Text Field Properties.  But I do not see a way to subtract my two fields.
    I then setup a field that contains a negative one, except when I display the field on the form, the negative one is a positive one.  I did enter -1 as the default value to my "subtraction" field.  I was then going to multiple negative 1 against the the over payment amount so I could get a negative over payment amount.  I was then going to add the negative over payment amount to the total due and arrive at a net due,  But this does not work.
    Here is the calculation I am trying to do:
    Total Expenses     (calculated field from all of the preceding fields.)
    Deductible Expense       (user entered)
    Net Expense check          (Total Expense - Deductible expense).
    Can anyone tell me how to do this?
    thanks,
    Dennis

    With Acrobat there are 3 calculations options.
    "The field is the ____ of the following fields:" options are for sum, product, average, min, and max operations or for actions that could be repeated over multiple fields. One does not usually subtract or divide multiple fields in on action.
    "Simplified field notation" uses only field names and values. Field names must start with an alphabetic character and should not have any spaces or special characters. Cannot perform conditional control statements or functions. Special characters or spaces can be in field names if the JavaScript escape character precedes the special character or space. The 4 arithmetic operations can be performed.
    "Custom JavaScript calculation" has no restrictions on field names, control statements, functions or mathematical operations. One needs to access the field object and the value property of the field object.

  • What are the fields in BDC table

    hi
    what are the fields in BDC table. what is the last entry

    hi,
    BDC table structure
    FIELD                     TYPE                            DESCRIPTION
    Program                CHAR (8)                      Program name of transaction.
    DynPro                   CHAR (4)                      Screen number of transaction.
    DynBegin               CHAR (1)                      Indicator for new screen.
    Fnam                     CHAR (35)                     Name of database field from screen.
    Fval                       CHAR (80)                     Value to submit to field.
    Hope this is helpful, Do reward.

  • Material description filled automatically as the sum of two fields

    Hello to all
    We can automate the process of the creation a new material doing that the field material description(MAKT-MAKTX) can be filled by the system before saving(not by the user) as the sum of two fields in the MARA table that the users will be filled manually.
    Is it possible using a user exit, field exit,....?
    Thanks in advance.
    Regards

    Hello to all
    We can automate the process of the creation a new material doing that the field material description(MAKT-MAKTX) can be filled by the system before saving(not by the user) as the sum of two fields in the MARA table that the users will be filled manually.
    Is it possible using a user exit, field exit,....?
    Thanks in advance.
    Regards

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • SQL Query CASE statement using two fields

    Hi,
    I have two fields. One is called rescategory1, the other is called rescategory2.
    I'm not sure if its a CASE statement I need or some sort of WHERE clause but I want to create a query that does the following or something similar:
    CASE rescategory2
    WHEN rescategory1 = '44' AND rescategory2 = '1' THEN 'Backup'
    WHEN rescategory1 = '44' AND rescategory2 = '2' THEN 'Hardware'
    END AS [Resolution Sub Category]
    Basically, I'm looking to give rescategory2 a value based on that of rescategory1 and rescategory2 combined.
    How do I write this?
    Cheers
    Paul

    do you mean this?
    rescategory2 = CASE
    WHEN rescategory1 = '44' AND rescategory2 = '1' THEN 'Backup'
    WHEN rescategory1 = '44' AND rescategory2 = '2' THEN 'Hardware'
    END
    ie assigning value for rescategory2
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Problem with  the quantity field in bdc?

    Hi,
    i have to populate a quantity field in bdc .
    for ex 123.00. but the bdc accepting only in the form of 123,00.
    How can I do this .
    I tried by changing the user profile, but went in vain.
    Suggest me how to convert ?
    Thanks.

    Hi,
    Create a variable of TYPE CHAR.Write your quantity field value into this variable and pass this variable to the BDC. This is the way of passing quantity fields to BDC.
    DATA: V_AMOUNT(22) TYPE C.
    WRITE ITAB-DMBTR INTO V_AMOUNT.
    Pass this V_AMOUNT to BDC flow.
    Hope this helps.
    ashish

  • AT NEW command for two fields

    Dear All,
    How to use AT NEW command in internal table for two fields.
    Warm Regards,
    N.Jain

    Hi
      See the following code. It is useful for u.
    DATA: BEGIN OF ty_batest,
            designation TYPE zba_test-designation,
            salary TYPE zba_test-salary,
            empno TYPE zba_test-empno,
            empname TYPE zba_test-empname,
            address TYPE zba_test-address,
          END OF ty_batest,
          it_batest LIKE TABLE OF ty_batest,
          wa_batest LIKE ty_batest.
    SELECT * FROM zba_test INTO CORRESPONDING FIELDS OF TABLE it_batest.
    SORT it_batest BY designation salary.
    LOOP AT it_batest INTO wa_batest.
      AT NEW designation.
        WRITE: / 'Designation  :', wa_batest-designation,
               /(35) sy-uline.
      ENDAT.
      AT NEW salary.
        WRITE: / 'Salary : ', wa_batest-salary,
      ENDAT.
      WRITE: / 'Emp Name    : ', wa_batest-empname,
              / 'Emp Number  : ', wa_batest-empno,
              / 'Designation : ', wa_batest-designation,
              / 'Address     : ', wa_batest-address,
              / 'Salary      : ', wa_batest-salary NO-ZERO .
      SKIP.
    ENDLOOP.
    Regards
    Bhuvana.

  • Name of the table where can get the two fields Valid-From and Valid-to for

    Hi gurus
    I want name of the table where I can get the two fields Valid-From and Valid-To and their relation ship with the header table in BOM
    Regards
    Kaisar

    You can only get the Valid from date from the table STKO.
    To get the valid to date, you have to take one day less than the valid-from date of the next record for the same BOM.
    Alternatively use the Function module:
    CSAP_MAT_BOM_READ
    It will give both valid from and valid to dates in the tables parameter: T_STKO
    Regards,
    Ravi
    Edited by: Ravi Kanth Talagana on Jul 2, 2008 4:37 PM

Maybe you are looking for

  • How to install physical media on Hp notebook 2000&Hp deskjet 1000

     I installed Windows 8.1 on my notebook. I had notice on my Hp icon that action was needed. It said...."install physical media"       How do I accomplish this? Is there something I have to buy? ex.   USB/DVD?  PLease HELP ME!!!! I am out of warranty

  • ITunes suddenly freezes when iPhone connected

    I'm running the latest MAC os X, iTunes on a power mac G5 and all of a sudden, whenever i connect the iPhone, i get the beachball and activity monitor tells me itunes is not responding. I disconnected phone and changed the setting in iTunes to NOT au

  • Can i Change How the Remote Chooses a Button?

    I'm working in iDVD 08 and I've got three buttons in a menu. I'm using a the Center Stage theme and I have removed the drop zones. Anyways I have three buttons on this menu one in the middle right, middle left, and the bottom of the screen forming li

  • Inserting XML content into Database

    Hallo i´m new to Oracle. i want to insert xml content into the database. for testing i installed the version 10g on a windowsxp computer. i read the oracle xmldb developer´s guide. on page 3-4 ff. it is explained how i can insert content into the dat

  • Problem with Restarting Tomcat 6.0.18 , Errors in Logs.

    Hello, I'm using NetBeans IDE 6.5.1. MySQL Server 5.0, mysql-connector 3.1.14, JDK 1.6 and Apache Tomcat 6.0.18. My OS is Windows XP. i'm making a Web Application and i'm trying to authenticate my Users. I tried to edit my server.xml file because i n