Urgent : Doubt on creating joins

Hi friends,
I have two tables , ekes and eine
my requirement is if Ekes-ebtyp = 'X1'.
then Ekes-ebtyp = EKES-EINDT + Eine-j_3alitra.
the doubt is there is no primary key common between this table . actually in my whole program for purchase order i used EBELN for extracting details when two tables are involved . in this two tables no two primary keys are common to extract data ...is there any ways please suggest..
the code i wrote is
loop at li_ekes assigning <fl_ekes>.
read table li_eine assigning <fl_eine> with table key (here i need to give some unique fields to join these two fields please guide me which field i can use.).
<fl_ekes>-ebtyp = <fl_ekes>-EINDT + <fl_eine>-j_3alitra.

Hi Gokul try this one,
ekes-ebeln = eine-anfnr
ebes-ebelp = eine-anfps
Make join on this condition it will work.
Reward if it is useful.

Similar Messages

  • Doubt on creating joins

    Hi friends,
    I have two tables , ekes and eine
    my requirement is if Ekes-ebtyp = 'X1'.
    then Ekes-ebtyp = EKES-EINDT + Eine-j_3alitra.
    the doubt is there is no primary key common between this table . actually in my whole program for purchase order i used EBELN for extracting details when two tables are involved . in this two tables no two primary keys are common to extract data ...is there any ways please suggest..
    the code i wrote is
    loop at li_ekes assigning <fl_ekes>.
    read table li_eine assigning <fl_eine> with table key (here i need to give some unique fields to join these two fields please guide me which field i can use.).
    <fl_ekes>-ebtyp = <fl_ekes>-EINDT + <fl_eine>-j_3alitra.

    Hi Gokul try this one,
    ekes-ebeln = eine-anfnr
    ebes-ebelp = eine-anfps
    Make join on this condition it will work.
    Reward if it is useful.

  • Doubt on creating join between  two tables

    Hi friends,
    I have two tables , ekes and eine
    my requirement is  if Ekes-ebtyp = 'X1'.
    then Ekes-ebtyp = EKES-EINDT + Eine-j_3alitra.
    the doubt is there is no primary key common between this table . actually in my whole program for purchase order i used EBELN for extracting details when two tables are involved . in this two tables no two primary keys are common to extract data ...is there any ways please suggest..
    the code i wrote is
    loop at li_ekes assigning <fl_ekes>.
    read table li_eine assigning <fl_eine> with table key (here i need to give some unique fields to join these two fields please guide me which field i can use.).
    <fl_ekes>-ebtyp = <fl_ekes>-EINDT + <fl_eine>-j_3alitra.

    Hi,
    Both tables have field EBELN in common.
    You can use it to extract data from both.
    Hope this helps.
    reward if helpful.
    Regards,
    Sipra

  • Doubt in creating program to display application logs

    Hi,
    I have doubt in creating a program to display application logs.
    The standard transaction code SLG1 has been used to display Application logs till now by the user.
    They came up with the new requirement on this.
    <u>The requirements were:</u>
    1)New custom program shoud be created like SLG1 with limited selection fields( data from, date to, Program name and User)
    2) Detail list should be displyed immediately when this program is executed because SLG1 gives Basic list,Detailed list which is getting displayed when 'Detail view' is selected in the first list.
    I have created one program with limited selection fields as per the requirement using the below function modules .
    BAL_FILTER_CREATE
    BAL_DB_SEARCH
    BAL_DB_LOAD
    and BAL_DSP_LOG_DISPLAY
    <u>Issue :</u> still I am getting the firt list.
    both Basic and Detailled lists are getting triggered at the FM BAL_DSP_LOG_DISPLAY.
    Is it only the way to copy and modify this FM.
    Could you please suggest me?
    Thans in advace,
    babu.
    Message was edited by:
            babu v
    Message was edited by:
            babu v

    Hello All,
    Thanks for your valuable suggitions.
    I have seen most of the demo programs.
    I found one fm'BAL_DSP_PROFILE_NO_TREE_GET' which avoids the tree list which is getting listed above the profile list.
    I have been searching alot to omit the Profile list. I searched alot to find any function modules realted to that.
    The requirement was only the Detail list should only be listed.
    Could you please suggest me to avopid that profile list also?
    Thanks in advance,
    babu
    Message was edited by:
            babu v

  • Doubts in creating ztable?

    Hi
    doubts in creating ztable?
    while creating  currency fields and quantity fields
      which ref table and ref field is suggestable
    which techincal settings is suggestable
    is there any possibility to move ztable which is developed as local object to package for futher transportation?
    thanks in advance

    Hi Sitaram,
    - which ref table and ref field is suggestable: : For clarity include currency and unit fields in the same Z-table
    - which techincal settings is suggestable: This heavenly depends on the number of expected records and the type of use.
    You can use SE03 -> Change Object Directory entries for assigning a local object to a package.
    Regards,
    John

  • Doubt in createing forms in flex ?

    hai all,
    i have doubt in creating forms in flex, how can we validate phone number in form and can we have any script for predefined calender to select date for date of birth. plz help by attaching some references,
              one more doubt how to create my UI(user interface) with good look with dropdown menus and incoprate graphics like .gif,.swf tables ect plz forword or attach some references plz do it fast it very urgent

    Hi,
    Try to use page protection in the Folder. 
    Create a Folder in the Main Area of the table and check the Page Protection Option.  Include all your Line types (Row types) in this folder.
    It will avoid page break and display the records in a set.
    Reward if useful........

  • URGENT: How to create Map IDs

    I am using RH7, have inherited a help project in which all topics have been assigned map IDs. I have created several new topics (at the root level) and do not know how to create map IDs for the new topics. I need step-by-step help on how to create IDs without disrupting the current IDs.

    Thanks William. I'm all set now.
    Date: Tue, 18 Aug 2009 08:47:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: URGENT: How to create Map IDs
    Hi,
    Start by reading the article on Peter's site: http://www.grainge.org/pages/authoring/calling_webhelp/using_map_ids.htm
    If you have any questions after that, just post back. You'll be able to make your question more specific.
    Greet,
    Willam
    >

  • 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

  • Doubts while creating a Multiprovider

    Hi experts,
    I have a purchasing cube. Our requirement is to add some more fields in this cube.
    But i found those extra fields in all the three of my GL cube AR cube AP Cube.
    So i want to make a multiprovider between purchasing cube and from one of these three cubes.
    My question is , related to purchase for making multiprovider which cube i need to take i.e. ( AR cube or AP cube or GL cube ).
    And also suppose in multiprovider if i am using two cubes, as per my knowledge atleast one field should be common to make a multiprovider.
    Suppose if we have accounting doc no ( 0ac_doc_no ) in both the cubes.In assignment of chars we will tick for 0acc_doc_no in both the cubes.
    If we have 0clr_doc_no in both the cubes and if we want 0clr_doc_no also in the multiprovider then in assignments of characteristics do we need to tick for this in both the cubes ?
    If we tick only in one cube will it bring the data from only one cube ?
    And also if we tick in both the cubes then will the multiprovider brings the data from both the cubes ?
    Please explain me in simple words. I went through so many links but i am not clear.
    Full points will be assigned.
    Regards,
    V N.

    Hi,
    Since you are concerned with the purchasing cube i say you shaould use (AP and AR) (i.e. account receival and account payable) as both these tables are mutually related , As GL could be a stand alone too.
    So in case you just want to add an extra field GL will do but going with the real essence of purchase AR and AP are more suited once.
    Now for creating a multiprovider its a mandate to mark the common field in all the info providers involved since then only the join condition between the master data tables of the providers work out.
    There won't be any duplication in data since all the entries with same field id i.e.0ac_doc_no in your case are merged together to give a unique entry in a ovveride cube.So an account receval entry in AR table and account payable  entry in AP will be merged to from a unique value for they act as "Contra entries"
    Def : Contra entry : some transactions are recorded in three column cash book
    which relates to both cash & bank i.e. balance of one will
    decrease and other will increase due to such transactions.
    such transactions are entered on both sides of the cash
    book . such entries are known as Contra Entry.Hope this will serve your cause to end.
    hope it will be expedite
    Thax & Regards
    Vaibhave Sharma
    Edited by: Vaibhave Sharma on Sep 14, 2008 8:53 PM

  • Urgent: How to create a new layout for portal lightframeworkpage

    Expert,
    I want to create a new layout for  external facing portal. I have created a new par project also in NWDS, but being new I do not know where to get "com.sap.portal.layouts.default.par" and other supporting libraries.
    Need an urgent help.
    Thanks in advance
    -Lave Kulshreshtha

    Hi,
    Look into this blog to know, how to write custom layouts:
    Nuts and Bolts of the External Facing Portal (EFP)
    Once you wrote your layout jsp, then declare it in portalapp.xml like this:
    <component name="example_narrowWide">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="2 Columns (Narrow:Wide)"/>
            <property name="com.sap.portal.pcm.Description" value="two-column layout displaying the narrow column on the right"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="*yourLayout.jsp*"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="Left Column">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="Right Column">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
    As all the layout taglibs and required classes are in com.sap.portal.pagebuilder application, you should refer to it in your portalapp.xml SharingReference property.
    Try all this and if you have specific questions, let me know.
    Regards,
    Praveen Gudapati

  • 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 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 Chart of accounts & Report generating

    Hi Gurus,
    Hope all are doing well !!
    I have a doubt in generating Balance sheet & Financial statement report for country specific COA.
    The Scenario is like this:
    We have 3 Company codes and all company codes are assigned with single operating chart of acconts.
    In one company code there is an addtional requirement of maintaining country specific COA.
    All three company codes are maintaining same Group (consolidated) chart of accounts.
    Now my question is :
    How to generate FS report for Country specific COA for the Company code along with the operating COA? And also would be helpful if you can explain me how it can also be for Group chart of account.
    As per my understanding once you assign an operating COA to a co code and account determination is done, the table SKB1 (GL master co code segment)will get linked to the respective co code and you may not be able to creat data in co code segment of GL master record for another COA (Viz.Country specific COA). There is no such customisation has given to adopt this. Probably there should be some report or program need to be executed to copy the relevant table and country templates.
    It would be helpful if you can provide some documentation on this please forward it to me.
    Thanks in advance for your valuable suggestions.
    Best regards,
    Sudheer
    Message was edited by:
            sudheer Raja Gubba

    In IMG, under 'Global parameters for company code', you need to mention the country chart of Accounts in one of the fields.
    In the GL master, you need to fill in the Alternate Account number field with the Account from the country COA.
    As for reporting,COA is one of the selection criteria for any standard report anyway.
    Hope this helps
    Thanks
    Raja

  • 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

  • Urgent:HOW TO CREATE A PROGRAMME WITH MENUS AND MENUITEMS IN AWT?

    hi am new to java..............and i know very less about java
    can anyone help me by sending the code for creating menu with file,edit ,view and menuitems as open,save,exit.
    and also plss help me how to get a filedialog box in the same programme when i click the open in filemenu.
    in AWT.....................plsss urgent

    sangi wrote:
    hi am new to java..............and i know very less about javaredundant and barely intelligible
    can anyone help me by sending the code for creating menu with file,edit ,view and menuitems as open,save,exit.have you tried a Swing demo? aside from the fact that this code has likely been written and published hundreds of times on the web, a simple tutorial would have shown you how to do this.
    and also plss help me how to get a filedialog box in the same programme when i click the open in filemenu.
    in AWTslow down, one thing at a time
    go do the tutorials first
    .....................plsss urgentstating your task is urgent is offensive here
    learn how to communicate lest you get flamed
    good luck

Maybe you are looking for