Address restriction for country in smartforms

Hi,
My requirement is like this,
I m passing address number (adrnr) to address tag (Standard address node)
in smartform and getting the address correctly including all the details.
But i want to print the country only if it is not equal to 'GB'.
As i m fetching it by passing adrnr how shud i restrict country not to be printed??
Plz help.

The country will print if the country is not equal to the Sending Country in the General Attributes tab of the Address Node.
So you will need to create a Program Lines node in which you retrieved the country.
Then you will need to create 2 Address Nodes. 
The first Address Node should have a Condition that the country = 'GB'.
Also in this first Address Node fill in the Sending Country as GB.
The second Address Node should have nothing filled in to the Sending Country and have a Condition that the country <> 'GB'.

Similar Messages

  • Blank line in address display for country mexico

    Hi All,
    I am using address node to print the addrees using address no in smart forms. It is working fine but when the country is mexico the one blan line is printing after street address. 
    Please let me know how to avoid blank lines.
    Your quick responses are higly appriciated and points will be rewarded as well.

    Hi Venkat,
      Try using ADDRESS-ENDADDRESS for the address text element:
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    Regards,
    Ravi

  • MySQL - how can I change an IP address restriction for a user [solved]

    I'm getting "Host ... is not allowed to connect to this MySQL server" when attempting to connect to mysql.  I read this guide which gives a solution but I have no idea how to physically implement the solution.
    You can fix this by setting up an account for the combination of client host name and user name that you are using when trying to connect.
    I want to change the access from "localhost" to any address on my LAN (192.168.0.*) for user facade, but am unsure of the proper syntax.
    # mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 53
    Server version: 5.5.16-log Source distribution
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    mysql> select host, user from mysql.user;
    +-----------+--------+
    | host | user |
    +-----------+--------+
    | 127.0.0.1 | root |
    | ::1 | root |
    | localhost | facade |
    | localhost | root |
    +-----------+--------+
    4 rows in set (0.00 sec)
    Last edited by graysky (2011-10-18 23:37:54)

    Host can be a combination of IP/netmask. In your case, something like:
    UPDATE mysql.user SET host = '192.168.0.0/255.255.255.0' WHERE user = 'facade'

  • Address fields for a country selected

    Hi All,
    Based on the country I need to get the address fields that I have to display.
    I am having a module pool screen where the address fields should be enabled disabled based on the country the user selects. Is there any function module which gives the address fields for a country selected.

    Hi
    I generated same Report For address Details...
    If i eneter Counrtry code it should display all the Address Belonging to that Perticulsr country
    I dont think there is a Function Module which fulfills ur requirement...
    I hav used Smartforms for Report and i wrote Query to get t data...
    just try " ADDR_GET"
    Regards
    Smitha

  • Access restriction for PDF generated with Smartform

    Hi there,
    I am generating a PDF from a Smartform using convert_otf.
    What I would like to do is, add restrictions for the generated document just like in Acrobat Professional.
    For example:
    Printing: yes/no
    saving: yes/no
    cut, copy paste: yes/no
    Is there a way to pass this Parameters to the PDF?
    Thanks in advance
    Uli

    Hello,
    check this thread: Mailing PDF Attachment with Password Protected
    Otto

  • Address in Luxembourg country for creating photo books or cards

    I'm living in Luxembourg and I can't fill my receiving address when I command photos or card or photo books. France or Belgium or other europeans countries but Luxembourg isn't available. What can I do ?

    There does not yet seem to be an Apple Print Products Store in Luxembourg. I see it neither in the routing page http://store.apple.com/us/help/print_products/routing nor in iPhoto's preferences panel where you can select the Print Products store.
    Would it be possible for you to use the Apple Store of a neighboring country and get the books delivered to a friend's address in that country?
    Regards
    Léonie

  • CUP - UME to restrict for provisioning country specific roles

    Hi All,
    We have a unique requirement during CUP Implementation. We are implementing CUP for a customer and rolling out to various countries.
    With this scenario we have a single stage workflow which routes through the approval procedure of respective countries. Now that we have a problem where if a user selects another country role and by mistake if it gets approved the user might get a wrong role. [We have different naming convention for diff. country roles and each country has separte roles]
    Is there a way to restrict the country specific users to search only for that particular country role in UME or even if he searches other country role it should not allow the provisioning of a different country role  to that particular user.
    Ex: User A belongs to X country. Roles of X country are starting with X1 ... series. Similary Y country roles are starting with Y1..series.
    Is there a way to restrict User A only to serach and select only roles of X1...series and gets restricted for provisioning to X1..series only.
    Thanks and Best Regards,
    Srihari.K

    Hello Sri,
    You can create country specific business processes and assign the role to the Business Process, Functional Area or Company. By selecting the "country" in the configured field, at least only those applicable roles will show for the user.
    In the user form make such a field mandatory.
    Of course the user could select the wrong country in the field, but this will greatly reduce human error.
    -Dylan

  • I have changed my address to another country in my appstore account.I bought OSX Lion in the past. After the change in my address I couldn't download for free because I had paid for it before. I couldn't find in my purchase history ,too.

    I have changed my address to another country in my appstore account.I bought OSX Lion in the past. After the change in my address I couldn't download for free because I had paid for it before. I couldn't find in my purchase history ,too.

    Hi ...
    Your credit or debit card credentials must be associated with the same country where you reside.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    Billing policy is the same for both the iTunes and Mac App Stores.

  • Unable to display Ship to part country in smartforms

    Hi ,
    The problem is iam unable to dispaly the ship to party country name in the smartform Delivery note.
    Just wanted to let you know that the address number for both ship to and sold to party have different numbers.
    And i have also mentioned the following in the address node of the ship to party:
    At  Address number : &gf_adrnr&
    In Global Def:  gf_adrnr type vbpa-adrnr    space
    At Sending Country : &gs_sland&
    In Global Def:  gs_sland type vbdka-sland  
    Also mentioned output starts with paragraph Z1
    No of lines used 8
    Used street name so clicked on the radio button of street name.
    Is there anything i have to do for getting the country name in ship to party.
    Could anyone help me out.
    Thanks,
    Priya.

    Hi,
    Just incerese the window size height to 2 chars on which the Ship to part is being printed.
    Regards,
    Rama.

  • Determine of Tax Code for Country/Product Category - Table handling

    Dear Experts,
    in SRM 7.0, CS, i am facing the following requirement regarding tax codes:
    We have users from different countries using SRM. These different countries have different tax codes that are to be used for legal reasons.
    My question is, how i can achieve a system behaviour, by which in the shopping cart, the correct tax codes gets selected automatically, based on the country of the user, who is creating the shopping cart.
    Question 1:
    Is it correct to assume, that this requirement can be achieved by maintaining the "Determine of Tax Code for Country/Product Category" - Table?
    Q2:
    What is the purpose of the 1st column of the above mentioned table, "Domestic/International Indicator"? Can it be left blank?
    Q3:
    Is it possible to fill in the values for the field "Country" BUT to leave the field "Category ID" empty???The reason for asking it, that otherwise several hundreds entries would have to be maintaind manaully...
    Q4:
    From where in the shopping cart or ppoma settings is the system fetching the Country code, in order to be able to use it in the table? Is there any specific attribute maintenance that has to be taken care of, so the above mentioned table can be used (e.g. delivery address, including the country information)?
    Thank you very much for your help in understanding the topic.

    Hi
    Here are my responses to your questions:
    Question 1:
    Is it correct to assume, that this requirement can be achieved by maintaining the "Determine of Tax Code for Country/Product Category" - Table?
    Answer -  If you have a requirement where different countries have different tax codes, then you do need this confiugration. Otherwise Configuraiton in Enter Tax Code  are sufficient.
    Q2:
    What is the purpose of the 1st column of the above mentioned table, "Domestic/International Indicator"? Can it be left blank?
    Answer - Sometimes you have different codes for International and Domestic purchases for a product Category. IN those situations you can select Domestic/International field to differentiate btw tax codes. Otherwise this field can be left blank
    Q3:
    Is it possible to fill in the values for the field "Country" BUT to leave the field "Category ID" empty???The reason for asking it, that otherwise several hundreds entries would have to be maintaind manaully...
    Answer - No, if you enter country, then Category Id field is mandatory. You may enter * in case you dont have multiple backend systems. otherwise you will ve to ve individual entries for each category and backend system.
    Q4:
    From where in the shopping cart or ppoma settings is the system fetching the Country code, in order to be able to use it in the table? Is there any specific attribute maintenance that has to be taken care of, so the above mentioned table can be used (e.g. delivery address, including the country information)?
    Answer - It is picked up from the address of the user where is will receive goods. and Domestic/International will be decided based on Vendor address with reference to thta address.
    I hope my responses clarify your doubts.
    Regards
    Virender Singh

  • Ship to Party address is missing country name in SAPScript FORM

    Hi All,
    i had modified the form for displaying the address of the Ship - to - party address, but the country name is missing in the FORM output, can any body suggest a solution for this..
    here is the code that i had written...
    FORM get_addr TABLES intab TYPE t_intab
                  out_tab TYPE t_outtab.
      DATA : wa_intab LIKE itcsy,
             w_outtab LIKE itcsy.
      DATA v_adrnr_we TYPE adrc-addrnumber.
      READ TABLE intab INTO wa_intab INDEX 1.
      v_adrnr_we = wa_intab-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = v_adrnr_we
        IMPORTING
          output = v_adrnr_we.
      SELECT SINGLE * FROM adrc WHERE addrnumber = v_adrnr_we.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME3'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name3.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME4'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name4.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_STREET'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-street.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      CLEAR adrc.
    ENDFORM.                    "GET_ADDR
    and in the form editor it was like this.....
    PERFORM GET_NAME IN PROGRAM ZSD_SDPACKLI
    USING &VBPLA-ADRNR_WE&
    CHANGING &Z_NAME1&
    CHANGING &Z_NAME2&
    CHANGING &Z_NAME3&
    CHANGING &Z_NAME4&
    CHANGING &Z_STREET&
    CHANGING &Z_CITY1&
    CHANGING &Z_CITY2&
    ENDPERFORM
    ADDRESS DELIVERY PARAGRAPH AS\
    NAME     &Z_NAME1&, &Z_NAME2&, &Z_NAME3&, &Z_NAME4&
    STREET   &Z_STREET&
    CITY     &Z_CITY1&, &Z_CITY2&
      POSTCODE &VBPLA-PSTLZ_WE&
      COUNTRY  &VBPLA-LAND1_WE&
      REGION   &VBPLA-REGIO_WE&
      FROMCOUNTRY &VBPLA-LAND1_VST&
    ENDADDRESS
    Thanks in advance..!

    Hi Abaper,
    In ADRC table,you will have a field by name COUNTRY.This holds the country key.
    Using this country key LAND1 in ADRC table,you will have to fetch the Country name from T005T table.The field in the T005T which holds the Country name is LANDX.
    You will have to write select querries for this.
    By using LANDX from T005T table ,you can display the country name.
    Regards,
    Kashyap Ivaturi

  • WLC Duplicate IP address detected for AP-Manager Interface

    I am getting an error log in the WLC saying, its IP address is duplicate by another machine with MAC address A.B.C.D
    But this MAC address A.B.C.D is the MAC address of the AP-Manager Interface in the same controller.
    Model No.                   AIR-WLC2106-K9
    Software Version                 7.0.116.0
    %LWAPP-3-DUP_IP: spam_lrad.c:27626 Adding client 58:b0:35:83:72:86 to  exclusion list due to IP Address conflict with AP 'AP_DUXO_3'
    %LWAPP-3-DUP_AP_IP: spam_lrad.c:27612 Duplicate IP address  detected for AP AP_DUXO_3, IP address of AP  10.184.1.224, this is a  duplicate of IP on another machine (MAC address 58:b0:35:83:72:86)
    Cisco AP Identifier.............................. 1
    Cisco AP Name.................................... AP_DUXO_3
    Country code..................................... US  - United States
    Regulatory Domain allowed by Country............. 802.11bg:-A     802.11a:-A
    AP Country code.................................. US  - United States
    AP Regulatory Domain............................. 802.11bg:-A    802.11a:-N
    Switch Port Number .............................. 1
    MAC Address...................................... cc:ef:48:1a:e4:af
    IP Address Configuration......................... Static IP assigned
    IP Address....................................... 10.184.1.224
    IP NetMask....................................... 255.255.0.0
    Gateway IP Addr.................................. 10.184.20.2
    Domain...........................................
    Name Server......................................
    NAT External IP Address.......................... None
    CAPWAP Path MTU.................................. 1485
    Telnet State..................................... Enabled
    Ssh State........................................ Disabled
    Cisco AP Location................................ DUXO_BOX
    Cisco AP Group Name.............................. default-group
    Does anyone have an issue like this ?

    Are you sure this MAC address 58:b0:35:83:72:86 isn't some type of Apple device?  Its OUI is registered to apple.  How do clients get ip addresses DHCP?  It appears that the IP 10.184.1.224 is statically assigned to your ap-manager and that this client 58:b0:35:83:72:86 is either getting that same IP from DHCP or the client is statically assigning it themselves. 

  • Can I set the address format for individual contacts?

    I have some foreign friends and would like to set the address format for their individual cards correctly. I can't seem to find a way to do this. I will be taken aback if this can't be done - I think the old Claris contact product did that.
    Anyone with any answer?
    Bryan

    Hi Bryan,
    When in edit mode, can you right click on the address field and change the country format there? I'm not on a Mac at the moment to double check, but that's what you do in OS 10.4 so I'd be surprised if it were changed in 10.5.
    Edit: Here's picture to demonstrate what I'm referring to:
    !http://www.ampersandbox.com/imprint/change-address-format.jpg!

  • IP Address restrictions by MAC

    I have some users in my network. I have a Dual WAN in my network with a Policy Based Routing. All this is working fine and I get routed to the correct WAN. My question is can the ISA restrict/not allow/block users which have not been registered in my Address Groups by MAC.
    Currently I have a DHCP Pool which is routed to use WAN1. My laptop which is static and registered by MAC in Address Objects will use WAN2. The routings are working good. How can block unauthorized hitchikers from using the WAN2, e.g. taking my static IP. If I could remember the Cisco RV042 has this feature in the DHCP tab. To "Block IP Address with the wrong MAC Address" and "Block unregiestered MAC Adress"
    DHCP pool: 192.168.100.1 - 192.168.100.200
    As an extra, I have "Web URL Filtering" enabled. Is it also possible to create some exceptions for the Static IP Users.

    Dan,
    There are a couple ways to approach this.  The simpliest way to deal with the DHCP/MAC issue is to create Address Objects in Address Management for each of the Static devices based on their MAC address instead of IP.  Then create an Address Group that contains all those MAC Address Objects.  Finally apply an Access Rule to the WAN2 interface to allow traffic destine to that MAC Address Group and deny all other.
    The second way, taking into consideration your question on Web URL Filtering for those Static users.  Regarding the use of Web URL Filtering and Application Control, I would recommend reading these posts by myself and Ciscomax.
    https://supportforums.cisco.com/message/3955016#3955016
    https://supportforums.cisco.com/message/3956460#3956460
    Short answer is that Web URL Filtering must be applied by Zone and only one policy can be applied to a Zone.  So you could create another Zone and VLAN, one for your DHCP users and one for your Static users.  Then apply you desired profiles to the respective Zone.  If you go this direction, you could also use the same method I outlined above to control WAN 2 access by MAC, but you could apply it to that new VLAN interface as the source instead of the WAN2 interface as the destination.
    I hope this helps.  If you have additional questions, please don't hesitate to ask.

  • IP address restrictions not working with bea weblogic plugin

    We want to implement IP address restrictions via the Sun Java One Web Server admin tool for our application. We are using the Sun Java One Web Server to proxy requests via the Bea Weblogic plugin. However, we cannot get IP address restrictions to work because of the leading asterisk in the following NSAPI entry for PPATH of obj.conf :
    <Object name="weblogic" ppath="*/cmcsr/*"> Service fn="wl_proxy" WebLogicCluster="10.156.20.11:9010,\
    10.156.20.12:9010,10.156.20.13:9010" DynamicServerList="OFF"
    </Object>
    Has anyone gotten IP restrictions to work with the bea Weblogic NSAPI plugin?

    I'm not sure what you're asking, but each Service directive should be on its own line. It is an error to have both a <Client> tag and Service directive on a single line.

Maybe you are looking for

  • How can I use my 27 iMac as a screen for my Satellite tv box? Usb?

    I'm trying to watch TV from my Directv, into the usb in in my 27" iMac, to use the iMac as a tv. There are several adapters that will convert it properly, but I don't know where to look for software that will let me just watch it in real time, as opp

  • Can i use Lead function with Group by function

    I could use this query and get right ouput since i define product id =2000 select product_id, order_date, lead (order_date,1) over (ORDER BY order_date) AS next_order_date from orders where product_id = 2000; But can i run this query by Group by Func

  • Cannot find USA Local Setting in SBO 2007 release B

    I tried to install SBO 2007 release B in my dummy computer today. However, I cannot find USA Local Setting when creating new company. The only available countries are: Brazil, India, Japan, Korea, P.R. China, and Singapore. So the Chart of Account wi

  • Need Wireless Network Scenarios!!

    Hey guys, I really could use your help with designing a perfect wireless network for my odd shaped house. My house is 1 story, shaped just like an L. The top of the little line of the "L" is where my current router and cable modem is located. THAT CA

  • Trying to make tutorial work..

    Hello, I'm working on a very basic flickr tutorial found at adobe labs: http://labs.adobe.com/technologies/flexbuilder2/tutorials/sho_kuwamoto/ Basically, I reproduced the tutorial step by step (so I'd go through all the steps of building this app) a