PO Printing - How to add a solid line after a change in Ship to Location?

Hi,
I've been trying to add a line under Ship to location field whenever there's a change in ship to location on the PO print program.
I've been successful partially because I could get a line when there's a change in ship to location but I'm also getting a line when there are two lines with same ship to location. The solid line shows up because there's truly a change in ship to location compared to the line above but since the following two lines are to be shipped to the same location, I don't need that solid line.
Any suggestions?
This is what I used to do the comparison
<?if:PLL_SHIP_ADR_INFO[not(.=preceding::PLL_SHIP_ADR_INFO)]?>
I need something to see the value 'Following' as well as 'Preceding' line to prevent
the line to show up when the line following has the same ship to location.
Line # Item Qty Price
1 ABC 1 100
Ship To: Knoxville, TN
2 XYZ 1 100
Ship TO: Tulsa, OK
3 ABC 1 50
Ship to : Tulsa, OK
Right now, I'm getting a line after Line 2, which I don't want.
Is it possible?
Regards,
Srini

Try,
<?if:PLL_SHIP_ADR_INFO[not(.=following::PLL_SHIP_ADR_INFO)]?>

Similar Messages

  • How to add a new line in SMS(Line Break).

    Hi All,
    I need to send SMS from PL\SQL Procedure
    The problem i have been facing is that the string being passed in as sms content is not parsing a newline character.
    It shows all content in one line.
    I need to break them in several lines.
    Give me a direction how to add a new line in SMS.
    Regards,
    Raj.

    Hi,
    Sure, Here it is
    CREATE OR REPLACE PROCEDURE APPS.AUTO_SMS_RTV_REPORT
    IS
    sender          VARCHAR2(1000);
    recipient     VARCHAR2(1000);
    message          VARCHAR2(4000);
    sub          VARCHAR2(1000)     := 'HELLO';
    dt1          varchar2(1000)     := to_char(sysdate,'DD-MON-YY');
    mailhost     VARCHAR2(30) := '10.7.7.xxx';     
    mail_conn     UTL_SMTP.CONNECTION;
    v_crlf VARCHAR2(2) := CHR(13)||CHR(10);
    CURSOR cur_Rejection_Records IS
                   SELECT DISTINCT
                        rt.VENDOR_SITE_ID               ,
                        pvs.email_address     VENDOR_MAIL_ID     ,
                        pvs.PHONE          vendor_contact_no ,
                        hre.EMAIL_ADDRESS     Employee_mail_id ,
                        hre.FULL_NAME
                   FROM apps.rcv_transactions      rt,
                        apps.po_vendors           pv,
                        apps.po_vendor_sites_all     pvs,
                        apps.mtl_transaction_reasons mtr,
                        apps.fnd_user          fu,
                        apps.hr_employees          hre     
                   WHERE transaction_type = 'RETURN TO VENDOR'
                   --AND        TRUNC(rt.transaction_date) = TRUNC(SYSDATE)
                   AND     rt.vendor_id          = pv.vendor_id
                   AND     rt.vendor_site_id     = pvs.vendor_site_id
                   AND     rt.REASON_ID          = mtr.REASON_ID(+)
                   AND fu.user_id          = rt.last_updated_by
                   AND hre.EMPLOYEE_ID     = fu.EMPLOYEE_ID
                   AND TRANSACTION_ID IN (
                                  11902189,
                                  11902253,
                                  11902148)
    BEGIN
         FOR rec_Rejection_Records IN cur_Rejection_Records
         LOOP
         Begin
              sender     := '<[email protected]>';
              recipient     := rec_Rejection_Records.vendor_contact_no || '@aaaa.com';
              mail_conn := utl_smtp.open_connection(mailhost, 8025);
              utl_smtp.helo(mail_conn, mailhost);
              utl_smtp.mail(mail_conn, sender);
              utl_smtp.rcpt(mail_conn, recipient);
              utl_smtp.DATA(     mail_conn,
                                  'Date: ' || TO_CHAR(SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss') || utl_tcp.crlf ||
                                  'From: ' || sender     || utl_tcp.crlf ||
                                  'Subject: '|| sub     || utl_tcp.crlf ||
                                  'To: ' || recipient || utl_tcp.crlf ||
                                  utl_tcp.crlf ||
                                  'Dear Supplier,'||CHR(10)|| utl_tcp.crlf ||'\\\0x0A'|| -- HERE I NEED LINE BREAK
                                  'Please.'|| utl_tcp.crlf                          
              DBMS_OUTPUT.PUT_LINE('Yep !!! SMS Sent Sucessfully :) ');
              utl_smtp.quit(mail_conn);
         EXCEPTION
              WHEN UTL_SMTP.PERMANENT_ERROR THEN
                        dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
              WHEN OTHERS THEN
                        dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
         END;
         END LOOP;
    END AUTO_SMS_RTV_REPORT;
    /

  • Html tags - how to add a blank line

    Hi there,
    can anyone tell me how to add a blank line into a page using one of the html tags ?
    thanks,
    Malcolm.

    You can use the <br> tag for a line break. Also   for space.
    Regards,
    Arun

  • How to add a header line to excel sheet?

    Hi Guru's
    I have download the scheduling agreement report in a excel sheet, I want to know how to add the header line  to that excel sheet.

    Hi
    See this sample code:
    Tables : zacg_cca,zacg_exsh.
    data: P_file like RLGRAP-FILENAME.
    Data: Begin of it_header occurs 0,
    Header(15) ,
    end of it_header.
    Data : begin of it_final occurs 0,
    ccode type zacg_cca-ccode,
    mat_cd type zacg_cca-mat_cd,
    ingr_desc type zacg_cca-ingr_desc,
    conc type zacg_cca-conc,
    quantity type zacg_cca-quantity,
    percqty type zacg_cca-percqty,
    flag ,
    APP_DATE type zacg_cca-app_date,
    rsamnos type zacg_cca-rsamnos,
    end of it_final.
    SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text-000.
    select-options : s_Date for zacg_cca-app_date.
    SELECTION-SCREEN : END OF BLOCK blk.
    it_header-Header = 'Samp_code'.
    Append it_header.
    it_header-Header = 'Mat_code'.
    Append it_header.
    it_header-Header = 'Ingr_Desc'.
    Append it_header.
    it_header-Header = 'Conc'.
    Append it_header.
    it_header-Header = 'Quan'.
    Append it_header.
    it_header-Header = 'Perc'.
    Append it_header.
    it_header-Header = 'Flag'.
    Append it_header.
    it_header-Header = 'Date'.
    Append it_header.
    it_header-Header = 'Rsamnos'.
    Append it_header.
    it_header-Header = 'Mat_code'.
    Append it_header.
    select ccode
    mat_cd
    ingr_desc
    conc
    quantity
    percqty
    app_date
    rsamnos
    from zacg_cca into corresponding
    fields of table
    it_final where zacg_cca~app_date in s_date.
    loop at it_final.
    it_final-flag = 'T'.
    modify it_final.
    it_final-quantity = it_final-quantity * 2 .
    Modify it_final.
    endloop.
    CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
    EXPORTING
    FILE_NAME = 'E:\IT\P_FILE'
    CREATE_PIVOT = 0
    DATA_SHEET_NAME = ' '
    PIVOT_SHEET_NAME = ' '
    PASSWORD = ' '
    PASSWORD_OPTION = 0
    TABLES
    PIVOT_FIELD_TAB =
    DATA_TAB = it_final[]
    FIELDNAMES = it_header[]
    EXCEPTIONS
    FILE_NOT_EXIST = 1
    FILENAME_EXPECTED = 2
    COMMUNICATION_ERROR = 3
    OLE_OBJECT_METHOD_ERROR = 4
    OLE_OBJECT_PROPERTY_ERROR = 5
    INVALID_PIVOT_FIELDS = 6
    DOWNLOAD_PROBLEM = 7
    OTHERS = 8
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    regards
    Satish

  • How to add a new Line in Labeltext of Ribbon button added in runtime ?

    HI , i'm adding a new buuton ribbon to an existing Tab (Edit Tab) , i use the AliasTemplate "o1" , and this is my button :
    The text "Mettre a jour la fiche a partir de la concept Note " is very long i want to add a new line after "a partir" so i will have two lines , this is what i tried but it dosent worked :
    private string btnUpdateForm = @"<Button
    Id=""Ribbon.Tab.GRP.ButtonUpdate""
    Sequence=""17""
    Image32by32=""/_layouts/images/Aidimpact.RibbonWorkflkow/export-icon.png""
    Description=""""
    Command=""Ribbon.Tab.GRP.ButtonUpdate.Click""
    LabelText=""ValValUpdateLabel1
    ValValUpdateLabel2""
    TemplateAlias=""o1""/>";
    private void AddBtnUpdate()
    // Get the current instance of the ribbon on the page.
    Microsoft.Web.CommandUI.Ribbon ribbon = SPRibbon.GetCurrent(this.Page);
    // Prepare an XmlDocument object used to load the ribbon extensions.
    XmlDocument ribbonExtensions = new XmlDocument();
    // Load the contextual tab XML and register the ribbon extension.
    int intLCID = System.Threading.Thread.CurrentThread.CurrentUICulture.LCID;
    if (intLCID == 1036)
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel1", "Mettre à jour la fiche à partir");
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel2", "\n \r\n de la Concept Note");
    else
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel", "Update the form from Concept Note");
    ribbonExtensions.LoadXml(this.btnUpdateForm);
    ribbon.RegisterDataExtension(ribbonExtensions.FirstChild, "Ribbon.ListForm.Edit.Actions.Controls._children");
    Thanks for advance

    Hi,
       i replicated issue , and \n is not affective. So i guess what option you can try is to keep text small and use Alt to show full text. 
    Regards,
    Milan Chauhan
    LinkedIn
    |
    Twitter | Blog
    | Email

  • How to Add a Physical Interface After Installation in Solaris 10

    How to Add a Physical Interface After Installation in Solaris 10
    Hi Java Specialist,
    I am trying to setup a network interface with the following steps on a new fresh Solaris 10 installation using the instruction titled How to Add a Physical Interface After Installation in Solaris 10 3/05 ONLY from http://docs.oracle.com/cd/E19253-01/816-4554/esxhb/index.html:
    1. # ifconfig lo0 plumb up
    2. # ifconfig lo0 10.56.8.101 netmask 255.255.240.0. This was the working Windows DHCP environment prior to installing Solaris
    10 on top of it.
    3. # Added saturn to /etc/hostname.lo0.
    4. # Added 10.56.8.101 to /etc/inet/hosts
    5. # Added 10.56.0.0     255.255.240.0 to /etc/inet/netmasks
    6.# reboot
    However, the following errors kept recurring:
    svcs –xv …. unable to qualify my own domain name,
    failed with exit status 69.
    Any idea on what other steps have I missed? I was hoping to only do step 3 – 6 for the change to apply permanently.
    Many thanks,
    Jack

    Hi Java Specialist,... in a Solaris forum?
    1. # ifconfig lo0 plumb upThe loopback connection (your lo0)is NOT a physical interface. There are no hardware components for it. Nor can I think of any reason why it should ever be anything other than the default 127.0.0.1
    Use your favorite Internet search site (such as Google, Bing, Yahoo) to learn more about it.
    2. # ifconfig lo0 10.56.8.101 netmask 255.255.240.0. This was the working Windows DHCP environment ...I have no idea how a nonexistent software construct gets a DHCP address in a MS Operating System, unless you are confusing this with the "Microsoft Loopback Adapter" which is an utterly different concept. Again, go see what Google tells you.
    <br>
    <br>
    <br>
    ... completely unrelated to configuring an IP...
    unable to qualify my own domain nameAgain, search the Internet or even search these forums with that string of words.
    Go back through your two most recent posts and read the responses again.
    They seem to both be on the same topic as this new one -- configuring an IP on something.
    How to initialize new IP address on secondary interface permanently
    How to change IP address permanently on Solaris 10
    When you've done all that, then come back and tell us what you are actually trying to do.

  • How to add date with month after convert number to month?

    How to add date with month after convert number to month?
    Month Date Result
    24 21/11/09 24*(21/11/09)
    I want to add both the column and result should be 21/11/11
    Thanks
    Nihar

    Hmm,
    Because, you are using YYYY for '09'.
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(to_date('10/01/09','DD/MM/RRRR'),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(TO
    10/01/2009
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(to_date('10/01/09','DD/MM/YYYY'),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(TO
    10/01/0009Or with Add_months
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(add_months(to_date('10/01/09','DD/MM/YYYY'),36),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(AD
    10/01/0012
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(add_months(to_date('10/01/09','DD/MM/RRRR'),36),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(AD
    10/01/2012-Arun

  • How do I retain my apps after I change my apple ID? Right now I'm unable to update any of the apps with the old apple ID. I get an error message about an invalid id or password. If I delete my apps and start over, I may lose the apps that I purchased...

    How do I retain my apps after I change my apple ID? Right now I'm unable to update any of the apps with the old apple ID. I get an error message about an invalid id or Password. If I delete my appos and start over, I may lose the apps that I purchased (like the ones for $5 +....

    Apps are always tied to the ID that was used to purchase them originally. Did you try entering your old password and see if that works?
    If you need to sign out of your old account go to Settings>Store>Tap on your ID and sign out. Sign in with the new one.
    you can also access your ID in the featured tab of the App Store. Swipe to the bottom of the screen and you will find it there as well.

  • How to add a new line item to a Purchase Requisition number

    Hello All,
    Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
    Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
    Useful pointers would be appreciated...!!
    Thanks & Regards,
    Tarun Gambhir

    @Gautham,
    Thanks for the quick reply.
    I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
    Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
    Regards,
    Tarun Gambhir

  • How to add a new line in pe51?

    Hi Team,
    I want to add anew field in pe51 form editor.
    for that i want to add anew line in pe51 form
    i went to pe51 tcode and selected background raidobutton.
    but from ther i dont know how to add a line at the required position.
    So please reply me on this as soon as possible.
    Thanks & Regards,
    Kranti.

    Hi Kranti,
    The reason, why you are not able to insert a new line in background could be that the maximum line size defined in attributes is already utilized. Thats why F7 doesn't work.
    1- From main screen of PE51, select your pay slip, click on attributes and than click on change button.
    2- Increase value in lines field and save changes.
    3- Go to background and try to insert new line with F7 keyboard key.
    I hope this is what you are looking for.
    Regards,
    Waqas Rashid

  • How to add the new line in reciever FCC

    Hi All,
    I have my reciever FCC with me, but I just need to add one more additional line or you can say seprate the first line.
    So how to add extra or new line in the current structure?
    Please let me know if there is any parameter for this.
    Thanks in advance.
    Regards,
    Rahul Kulkarni

    Hi Rahul,
    You can achieve this by endseperatot "nl"
    If record set structure is * means fine, you just add second line field names by using end separator "nl".
    If you added first line names in recordsetstructure add second line names as well and remaining same use end separator.
    Example (below file is having two lines):
    <NameA>
    name,address,id
    empid,sal,region
    <NameA/>
    your FCC will be (according to your requirement the below 3 fileds will be use full).
    Recordsetstructure  - *
    NameA.fieldvalues - name,address,id
    NameA.endseperator - nl
    NameA.fieldvalues - empid,sal,region
    Thanks & Regards,
    A.Neelima.

  • How to add a blank line in configurat​ion file

    Hi,
    I would like to add an empty / blank line in my configuration file. (.ini file) as below:
    [H1]
    key1=1
    [H2]
    key2=2
    I don't have any idea on how to add the empty/blank line.
    Could anyone help me on this? 

    In case you do not have such luxury, like me... 
    This example VI show an alternative way of inserting empty line/ space between sections of a configuration file...
    PS1: Note that Additional Empty Element is intentionally added to create/ add empty line/ space between sections... 
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFFCT_CFIO_example add empty line between sections.vi ‏64 KB

  • How to add a vertical line in crosstab

    Hi guys,
    Like below picture, I'm designing a crosstab, with many columns.
    How to add a line between each other?
    Thanks.

    Hi Hu,
    CR doesn't draw gridlines for summaries unfortunately. This has been a feature that has been requested quite a few times and you should be able to find it in the Ideas Place as well.
    Only two workarounds for now:
    1) Draw a line manually using the line object or
    2) Turn On right/left borders for the field.
    -Abhilash

  • How do add a new line in the JavaScript Editor?

    I have a script like this:
    var n = this.getField("score").value;
    if (n >= 0 && n < 5) {
        event.value = "The WP 100% Bond\nThe WP 10% Stock / 90% Bond\nThe WP 20% Stock / 80% Bond";
    I want to output that line like...
    The WP 100% Bond
    The WP 10% Stock / 90% Bond
    The WP 20% Stock / 80% Bond
    But it's not honoring the \n for a new line. How in the heck do you add a new line??? I've tried \r, \r\n, \n\n. All it does is add a character space, and looks like this...
    The WP 100% Bond The WP 10% Stock / 90% Bond The WP 20% Stock / 80% Bond

    You can use \n like you did to indicate a new line, or \r (carriage return). If it's not working, be sure to set the field to multiline on the Options tab of the field properties dialog.

  • How to add a horizontal line in RoboHelp HTML 7

    HI - I am working with RoboHelp 7 HTML. I want to add a
    horizontal line to my topic. I am using RoboHelp as my editor. Work
    mostly in WYSWYG / Design mode and don't do much hand coding as a
    rule, but sometimes I tweak the code. Since I couldn't find a
    WYSIWYG way to add a horizontal line, so thought I would try the
    <hr/> tag.
    Sadly - that just shows up on the Design view page as a big,
    red highlight of the <hr/> tag.
    Suggestions?
    Thanks, Leisa

    Leisa
    There's a menu option too. Don't have RH open but it's
    something like Insert | HTML | Line.
    The line will be 50% page width. Look in Snippets on my site.
    Rick Stone posted recently how to make that 100% by default.

Maybe you are looking for

  • How to automate creation of MS Access databases/tables/records

    Can someone point me to some examples that automate the creation of MSAccess database files and tables? Can I do this with a bat file? If not, a ps1 file? I bing searched and could not find an example. I want to test the existence of a mdb (or accdb)

  • Opening Raw files in Elements from Bridge

    When I right click on a raw file in Bridge there is no selection in the context menu under 'Open With' for Elements.  I'm using PSE 8 on a MacBook Pro and these are raw files from a Panasonic Lumix DMC-LX3 camera. Has anyone encountered this? Thanks

  • Converting Smartform into pdf in encrypted format

    Hi All, I have a requirement to download smartform into pdf format. I have done this,but this pdf is editable with pdf editor tool. is there any way to encrypt pdf data and downloading it? I find some FM's in forum but those are used to encrypt and d

  • SelectBooleanCheckbox in RIch:datatable

    Hello All, I have data table with some actions(column 1, column 2, column 3 , delete, update).. And selectBooleanCheckbox for checking before start delete, its must mandatory before any actions. I added validator vor selectBooleanCheckbox to make it

  • What monitors are people using w/ there Rage 128 Cards (AGP) ADC/VGA

    Need to get a new monitor and wondering if anyone is running a new LDC w/ this card?