Can I extract VBAP-EAN11 based on the country Field ?

Hello,
Is there a way I can extract VBAP-EAN11 from a different field dependent on the country KNA1-LAND1 or any other table where I should be able to extract EAN11 based on the country.
Please suggest, if i can extract the data with this condition or any possible conditions with which i can extract VABP-EAN11 dependent on the country field....
Any suggestions would be appreciated!
Thank you

Hello Venkat,
Thank you for your response...
I did not understand...Can you please tell me in more detail...
And I tried with this field below and written a sample code...Plz let me know if I can go ahead and use this field.
Types : Begin of TY_SAMPLE,
          VBELN TYPE VBELN_VA,
          EAN11 type vbap-EAN11,
          LLAND type VKDFS-LLAND,
         END OF TY_SAMPLE.
DATA : T_SAMPLE TYPE STANDARD TABLE OF TY_SAMPLE WITH HEADER LINE.
    SELECT A~VBELN
           A~EAN11
           B~LLAND
           INTO TABLE T_SAMPLE
           FROM VBAP AS A INNER JOIN
           VKDFS AS B
           ON AVBELN = BVBELN
           WHERE EAN11 =
  LOOP AT T_SAMPLE.
     WRITE : / T_SAMPLE-VBELN, T_SAMPLE-ean11, T_SAMPLE-LLAND.
     ENDLOOP.
Regards,
Developer

Similar Messages

  • How can i extract VBAP-EAN11 from a country dependent field?

    Hello,
    Very Good Afternoon!
    Please suggest, if i can extract the data with this condition or any possible conditions with which i can extract VABP-EAN11 dependent on the country field....
    Is there a way I can extract VBAP-EAN11 from a different field dependent on the country KNA1-LAND1
    Any suggestions would be appreciated!
    Thank you

    Hello,
    Thank you very much for your timely response!
    This is the way they had coded to extract the UPC field.
    VBAP-EAN11(UPC) = VBAP-PMATN (Pricing Reference Material).
    Just to clarify....you mean to say that this field is already extracting the data with reference to Material?
    The requirement is...If VBAP-EAN11 = North America then it has to extarct from VBAP=PMATn
    Else....It has to extract from VBAP-MATNR.
    Can you pelase explain and clarify my confusion....
    Does it mean that it cannot exatrct the data seperately depending upon the country?
    ANy explonation will be appreciated.
    Regards,
    Developer.

  • Extract VBAP-EAN11 from Country Dependent field like KNA1-LAND1

    Hello,
    Is there a way I can extract VBAP-EAN11 from a different field dependent on the country KNA1-LAND1.
    Please suggest, if i can extract the data with this condition or any possible conditions with which i can extract VABP-EAN11 dependent on the country field....
    Any suggestions would be appreciated!
    Thank you

    Hello,
    Thank you very much for your timely response!
    This is the way they had coded to extract the UPC field.
    VBAP-EAN11(UPC) = VBAP-PMATN (Pricing Reference Material).
    Just to clarify....you mean to say that this field is already extracting the data with reference to Material?
    The requirement is...If VBAP-EAN11 = North America then it has to extarct from VBAP=PMATn
    Else....It has to extract from VBAP-MATNR.
    Can you pelase explain and clarify my confusion....
    Does it mean that it cannot exatrct the data seperately depending upon the country?
    ANy explonation will be appreciated.
    Regards,
    Developer.

  • How can I extract a km-iView out the portal to redefine it?

    Hello folks,
    I want to redefine the com.sap.km.cm.navigation-iView to serve generic access to the users home drive by using the <User.UserID>-variable. Therefore I have to extract/download the iView out of the Portal. I wasn't able to find KM-Content in Systemadministration->Support->Portal Runtime->Browse Deployment. What do I have to do?
    How can I extract a km-iView out the portal to redefine it?
    Regards
    Steffen

    Just as an example:
    package com.btexx.proxy;
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.pom.IEvent;
    import com.sapportals.wcm.repository.ResourceException;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.service.IServiceTypesConst;
    import com.sapportals.wcm.service.urlgenerator.IURLGenerator;
    public class Example extends AbstractPortalComponent
         protected void doOnNodeReady(IPortalComponentRequest request, IEvent event){
              String uname = request.getUser().getLogonUid();
              String path = "/userhome/"+uname;
              String rndLayoutSet = "ConsumerExplorer";
              String explorerServletPath = "/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation";
                   try {
                        IURLGenerator ug = (IURLGenerator) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
                        explorerServletPath = ug.getExplorerServletPath();
                   } catch (ResourceException e) {
              request.redirect(explorerServletPath+path+"?rndLayoutSet="+rndLayoutSet);
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    + portalapp.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement"/>
      </application-config>
         <components>
              <component name="Example">
         <component-config>
              <property name="ClassName" value="com.btexx.proxy.Example"/>
              </component-config>
                   <component-profile>
                        <property name="com.sap.portal.reserved.iview.Redirect" value= "true"/>
                   </component-profile>
              </component>
         </components>
    <services/>
    </application>
    all the best,
    dimitry

  • How to select State based on the country

    Hi All,
    I have a requirement,i have to dynamically  populate the value in State based on the Country chosen in the drop down.
    Can you please tell me how to achieve this functionality.
    Thanks & Regards,
    Malkit Singh

    Hi, Malkit
    There is  already a cotext mapping for Sate.
    Take a look at this.
    http://scn.sap.com/message/13816883#13816883
    In your case, use these data types.
    element Country  :CountryCode;
    element State   :RegionCode;
    Regards,
    Fred.

  • Fetch the operating unit name based on the country name

    Hi all,
    I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
    Can any one know how to get this thing.
    any help or idea is appreciable.
    Thanks,
    Giri

    Giri,
    I don't think you will find such a link. One country can be used by multiple operating units.
    Hope this helps,
    Sandeep Gandhi

  • GR/IR accounts based on the country of origin

    Dear All,
    My client business requirement is like below:
    when we are posting goods receipt GR/IR account has to be posted based on the country of origin of the materials. we have one chart of accounts, we don't have any business areas. we have defined 14 GR/IR accounts for this purpose.
    Please any one can suggest me the solution in SAP, how we can do? even customized one also?
    thanks & regards,
    Ramesh B

    uu

  • I am trying to update my billing detail on my IPAD2. However it keep on saying that the country need at least 3 characters long. But the country field is a dropdown list with Malaysia's states all with 2 characters long only! I can't make any purchase now

    I am trying to update my billing detail on my IPAD2. However it keep on saying that the country need at least 3 characters long. But the country field is a dropdown list with Malaysia's states all with 2 characters long only! I can't make any purchase now because I can't verify the billing detail because it just doesn't work! Very frustrating now.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • User based block the pricing field in the sale order

    HI FRIEND
    We have requirement user based block the pricing field in the sale order
    pls suggest me the configuration steps
    with regards
    dinesh

    hi friend
    when create a sale orde,r price and exchange rate is triigger from the master record.
    head department want not require to End user to change the price in the sale order .
    so head department only have authorisation to change price.
    selected user is not allow the change the price.
    so i need the configuration
    with regards
    dinesh

  • Want to create a new dynamic DL based on the country location of the 365 license..

    We're presently in hybrid mode, but we'll soon be moving entirely to 365.  In preparation i'd like to start creating new dynamic distribution groups.  We have offices in Korea, China, EU, and the US.  My idea is to create the dynamic DL's
    based on the country where the license was applied.  In the example below, the users license was assigned in Korea.  So ideally my new dynamic DL would filter on that property (i.e. anyone's mailbox where the users license was assigned to Korea)
    to create an "All Korea" distribution group.
    Does anyone know what the powershell syntax might be? Any help is greatly appreciated!

    Interesting.  The command ran without error, but then when i checked the group through the portal it didn't display the recipient filter.  Seemed like it just created a generic dynamic DL and it was prompting me for things like mailbox type.

  • HT5622 What I can do when I want to change the country but I remaining store credit?

    What I can do when I want to change the country but I remaining store credit?

    Click here and ask the iTunes Store staff to zero your account balance.
    (118589)

  • Printing the "country" field on envelopes

    I noticed that there is a setting to print the "country: field, but then another setting called "except my country". What is this supposed to do?
    The reason I ask is that this option always hides this field, regardless of whether it is my country (United Kingdom) or Germany, or United States or whatever.
    Is there somehwere I should set my own country so that Address Book knows which country I live in? My own entry in the Address Book already has this, but perehaps there's somewhere else?

    I think I have got it working the way it is obviously intended to. It doesn't matter what you have on your "me" card, Address Book assumes that "my country" is the one selected in Preferences/General/Address Format. After that, it doesn't matter what you have in the country field of a contact, it will decide if they are in "my country" based on the address format selected for their card. You can change this in edit mode by clicking the type (home, work etc) label of the address field.
    AK

  • 'IN' to be defaulted in the 'Country' field

    How to default 'IN' India in the 'Country' field, for R/3 as well as ESS?
    TRIP - Create Travel Request - 'IN' to be defaulted.
    Create Travel Expense Request - 'IN' to be defaulted.

    Using SM31-V_T706S 'IN' can defaulted in the 'Expense Manager' screen (PR05) - while creating expense request/report. How it can be defaulted in the 'Travel Manager' screen (TRIP)?
    We have used coding for this. Is there any other method, using which 'IN' can be defaulted while creating travel request?

  • Add the country field in the main details tab of the CRMD_BUS2000126

    Hi Experts,
      I have the following business scenario : Need to display the country field in the Details tab of the PCUI activity application which normally appears under the Location tab of the application.
    This is what I have done uptil now:
      1) Added the country field in the screenstructure CRMT_BSP_ACT_DETAILS
      2) Added the field in the field group ACT_OVERVIEW
      3) Regenerated the field group
    Problem is that the field still does not show under the details tab.
    For your information :
       1) All the tabs including the Location tab ( only excluding the Details tab ) have been hidden from display.
       2) In the debug mode , I could see that the READ method of the class CL_CRM_BSP_IL gets the screenstructure CRMT_BSP_ACT_DETAILS with the country field added correctly , so I guess this is not a interaction layer / application issue. But after that the field gets lost in the framework layer.
    Any expert suggesion for the steps as well as the likely solution is appreciated.
    Thanks,
    Sudipta

    Hi Sudipa,
           As you said that in Devbug you can see that filed is added to your structure perfectly bit its not visible on your screen !!!  Correct !!!!
            For this 1st check for standard screen varint is set for that screen or not.
        and try to tick ur new filed as visible in STD screen varints for that screen..
      i am sure that it will get done after using varint.
    Regards,
    Amol Tambe
    SAP CRM Technical Consultant.

  • In contacts the country field of the address does not appear in the print pre view or or in the printed label. any suggestions  why or who to correct ?

    In contacts on my new i Mac the country field does not show in the label print pre view or the printed label.
    Any suggestion of why this is happening?

    I have found a solution - no bug. See this link
    Address book

Maybe you are looking for

  • How do i insert a row into Numbers

    I'm new to numbers - how do i insert a row into a spreadsheet please?  The spreadshet started life in excel and was imported and saved as numbers.  I did try the help option but didn't seem to get the answer.

  • Two computers, two iphones.....can we share one itune account?

    Sorry in advance if I sound alittle confused... I have an itunes account and have purchased a number of apps that my husband would like to sync to his new 3G phone using his computer. It would also be easier to have both our charges billed to the sam

  • Rescue & Recovery issues trying to transfer files

    I have an annoying issue.  My lappy woke up this morning with the CI.DLL error and I get the error screen saying that this was deleted and I'm unable boot.  Tried booting in safe and still did not work.  So I went into rescue & recovery to restore an

  • Hi Asset Depreciation

    Hi All,         when i am executing depreciation the system is giving error that CO Object is required for Depreciation Account and Profit Center is required for Accumulated Depreciation.         But i had mentioned cost center in asset master data.

  • Erreur mise à jour PhotoShop Elélément 12 U44M1P2003

    bonsoir message  erreur U44M1P2003 mise à jour PhotoShop Elélément 12 merci