Vendor address printing

Hi All,
I want to print vendor address in SAPScript as per country specific format.
The standard ADDRESS--ENDADDRESS is not printing formatted output.
Please help me in this.
Thanks in advance.
RK

HI Jagadish / All,
Thanks for your reply.
I have used the following statement. For South Africa country code 'ZA' and region 'GP' it is giving me some space before printing country name 'SOUTH AFRICA'.
/:           ADDRESS PARAGRAPH AD
/:             TITLE       &REGUH-ZANRE&
/:             NAME        &REGUH-ZNME1&, &REGUH-ZNME2&, &REGUH-ZNME3&,  &REGUH-ZNME4&
/:             STREET      &REGUH-ZSTRA&
/:             POBOX       &REGUH-ZPFAC& CODE &REGUH-ZPST2& CITY &REGUH-ZPFOR&
/:             POSTCODE    &REGUH-ZPSTL&
/:             REGION      &REGUH-ZREGI&
/:             CITY        &REGUH-ZORT1&, &REGUH-ZORT2&
/:             COUNTRY     &REGUH-ZLAND&
/:             FROMCOUNTRY &T001-LAND1&
/:             ADDRESSNUMBER &REGUH-ZADNR&
/:           ENDADDRESS
Output is like as below.
Test Company, Inc.
PO Box 684902
TEST
4094
              SOUTH AFRICA
And for some countries like India there is a gap between address lines as below.
TEST VENDOR
701  Lee RD
400135 STREET
INDIA
Please help me out to avoid blank spaces and blank lines in address format.
Thanks

Similar Messages

  • One-Time Customer or Vendor Address Printing in Smart Forms

    Hi friends,
    I am using the Address Node in Smart Forms to print the Addresses in Tax Invoice Printing. How to get the address details for the One-Time Customers which is stored in the BSEC table using the same Address Function.
    (We can directly get the address details from BSEC and display it by using a separate Text Node. But the address formatting according to the recipient country postal standards will be handled only by Address Function in Smart Forms right)
    Regards,
    Riaz.

    Hi friends,
    I am using the Address Node in Smart Forms to print the Addresses in Tax Invoice Printing. How to get the address details for the One-Time Customers which is stored in the BSEC table using the same Address Function.
    (We can directly get the address details from BSEC and display it by using a separate Text Node. But the address formatting according to the recipient country postal standards will be handled only by Address Function in Smart Forms right)
    Regards,
    Riaz.

  • Vendor Address not getting printed properly in cheque printing.

    Hi
    While printing the vendor address for the cheque printing, for certain vendors the street no. is not getting printed & for certain vendors PO Box is not getting printed.
    In the program we are fetching vendor address from REGUH table & then passing onto the global variables which are being used in the script & data is there in the database table for both street & PO Box number.
    The code in the script is as follows:
    /:           ADDRESS PARAGRAPH UH TYPE '3'
    /:             TITLE    &W_ANRED&
    /:             NAME     &W_ZNAME1&,&W_ZNAME2&,&W_ZNAME3&,&W_ZNAME4&
    /:             STREET   &W_ZSTRA&
    /:             POBOX    &W_ZPFAC& CODE &W_ZPST2& CITY &W_ZPFOR&
    /:             POSTCODE &W_ZPSTL&
    /:             CITY     &W_ZORT1(28)&
    /:             COUNTRY  &W_ZLAND&
    /:             FROMCOUNTRY &W_LAND1&
    /:             ADDRESSNUMBER &W_ZADNR&
    /:           ENDADDRESS       
    Can anyone please let me know, what could be the possible reason for this?

    you can tyr with TYPE '1' or TYPE '2'
    : ADDRESS PARAGRAPH UH TYPE '3'

  • Vendor Address not displayed in Payment list RFZALI20 (F110)

    Dear All,
    One country users are not able to see the vendor address/bank details in payment list RFZALI20 in F110 transaction. However, this information is displayed when I run the payment list as shown below:
    I could find that this information is controlled by the field "Max No. of lines for Address" field on selection screen of program RFZALI20. If I set it to 0, these details disappear for me as well.
    User is running the program with a variant which uses 5 No. of lines for address but still doesn't see these details.
    Any inputs on the matter will be greatly appreciated.
    Thanks & Regards,
    Vishal Ahuja
    P.S. : I already checked for authorization by creating a test user(with same parameters) copying users' ID in production but issue could not be replicated.

    Hi,
    which output type u used for print preview? is it NEU?
    Regards,
    Pavan

  • Vendor address not displayed fully in ME23n

    Hi All,
        The vendor address in ME23n is not displayed fully during print preview. May I know the cause for this problem and how can I correct it.
    Thanks and Regards,
    John

    Hi,
    which output type u used for print preview? is it NEU?
    Regards,
    Pavan

  • TABLE FOR ONE TIME VENDOR ADDRESS

    Hi
    I have created RFQ using one time vendor code.
    I have maintained the address of the vendor  against the one time vendor code.
    While printing of RFQ , program is not printing the address data maintained against one time vendor code.
    Can u suggest in wich table this data can be avaliable?
    rgds
    Sara

    Hai,
    Use table LFA1 - vendor general data - use the KTOKK - accont group - one time vendor - get the vendor address from the field ADRNR.

  • Problem in address printing in sap script in Russian language

    hi all
    I am trying to get a PO output using a sap script. The problem is that the vendor address in not coming in the required Russian language. The language in PO is Russian and the logon langauge is also Russian.
    The script uses ADDRESS ENDADDRESS statement to print the address in form. This statement
    uses the function module ADDRESS_INTO_PRINTFORM to print the address. The address can be obtained in the required language from this function module but I want the address in Russian language uses the ADDRESS ENDADDRESS statement.
    Please let me know if any body has faced this kind of problem earlier.
    Thanks.

    Hi,
    pls check that u have provided the following parameters in ADDRESS ENDADDRESS.
    /:address
    /:COUNTRY recipient country [language code]
    /: COUNTRY_IN_REC_LANG
    /: LANG_FOR_COUNTRY language key
    /:endaddress
    language codes can be know in table T002.
    Hopes this helps!!
    thanks

  • Sapscript - email form - vendor address

    Hello all,
    we are emailing our purchase orders out of SAP to one of our email addresses, it is always the same address. As configuration, we have setup a new vendor X and use this vendor to enter the recipient email address.
    We then enter this vendor number as partner into the output message in the purchase order. Partner type is VN for vendor, medium external send and we created a new output type. Once the output is triggered, email is sent to our email address.
    The vendor address is also on the sapscript form:
    /: ADDRESS PARAGRAPH AS
    /: TITLE &LFA1-ANRED&
    /: NAME &LFA1-NAME1&, &LFA1-NAME2&,
    /: STREET &LFA1-STRAS&
    /: POBOX &LFA1-PFACH& CODE &LFA1-PSTL
    /: CITY &LFA1-ORT01&, &LFA1-ORT02&
    /: POSTCODE &LFA1-PSTLZ&
    / :REGION &LFA1-REGIO&
    Now the LFA1 table seems to contain the address of our vendor X that has been setup for email only. Meaning it prints the physical address of our email vendor on the form. But it should show the address of the actual vendor of the purchase order, which is in &EKKO-LIFNR&.
    How can we show the correct address on the form?
    Thanks
    Anne

    Hi,
    ok, I think I got it now. Please see below code. The sapscript and the subroutine pool are activated. I have set a break point into the subroutine pool, but whenever I start the output of the PO, it doesn't stop at the break point. So I guess it never reaches the subroutine.
    Any suggestions why?
    THANKS
    Anne
    :/ DEFINE &WA_ADRNR& = ' '
    :/ PERFORM GET_ADDRESSNUMBER IN PROGRAM Z_PO_VENDOR_ADDRESS
    :/ USING &EKKO-LIFNR&
    :/ CHANGING &WA_ADRNR&
    :/ ENDPERFORM
    *& Subroutine pool   Z_PO_VENDOR_ADDRESS                               *
    PROGRAM  Z_PO_VENDOR_ADDRESS.
    TABLES: LFA1.
    *&      Form  GET_ADDRESSNUMBER
    *       get the addressnumber value for EKKO-LIFNR from LFA1
    FORM GET_ADDRESSNUMBER TABLES fp_it_intab STRUCTURE itcsy
                                  fp_it_outtab STRUCTURE itcsy.
      LOOP AT fp_it_intab.  <-- BREAKPOINT
        SELECT * FROM LFA1
             WHERE LIFNR = fp_it_intab-value.
        endselect.
        IF SY-SUBRC = 0.
          MOVE LFA1-ADRNR TO fp_it_outtab.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "GET_ADDRESSNUMBER
    Edited by: Anne on Aug 4, 2010 3:56 PM

  • Need to pull vendor address information from PO

    Hi Friends..
    I am creating a shipper instructions smartform and need to display shippers address in the form.. For that purpose i need to pull the vendor address information from the PO...
    Can some one tell me the data extraction logic involved here like what tables i need to access to get the required vendor address and flow of it...
    Here the client is creating the PO and also sending the shippers instruction form when PO is created as far as i my understanding...
    Thanks,
    Kanthi..

    Hi
    When a PO is created, at that time you need to enter vendor number (LIFNR).
    The details of different vendors are maintained in table LFA1.
    The tables for PO are EKKO (header table) and EKPO (line item table).
    But, if you want to capture the vendor address for printing, you only need to know the PO number (EBELN field). And, then you can proceed like:
    Select LIFNR from EKKO into <yourDefinedVAR> where EBELN = XYZ.
    Select <requiredAddressFields> from LFA1 into (....) where LIFNR = <yourDefinedVAR>.
    So, finally, if you know the PO number, you can find rest of the things.
    Regards
    Ashish

  • Arabic Text in Vendor Address field Name2

    Hi
    My user wanted to enter Arabic Text in vendor address field NAme2 Field . Now i have to print that Arabic text on smart form .
    it appears ################### in this way kindly help me out
    Regards
    ammad

    Make sure your output device is tied with device type I6SWIN(Arabic SWIN saplpd 4.22+).
    Also check whether your printer is uni-code enabled or not.
    Regards,
    SaiRam

  • " Vendor Address on the PO "

    Hi Guys,
    I've created an Order but the Vendor Address doesnt appear when i do Print Preview what can be the reason. And what can i do now.
    Thanks
    Charles

    Hi Charles,
    Vendor address is being picked from vendor master check if you have given address there, if yes even then it is not printing you have check with program & form (if any) for output type NEU, check with abaper he will be able to help you.
    If it is standard program definitely it will print.
    Regards
    Rang

  • Vendor address not updated in Scheduling Agreement

    I have a peculiar problem where the vendor address is not being updated in all scheduling agreements. I have multiple SAs against a vendor. When i change the name of the vendor, the name changes only in one of the SA. All the remaining SA carry the old name of the vendor. I tested with another vendor on the test system and the names on all the agreements change as soon as I make the change in the vendor master.
    Does anyone have any explanation on why the system is behaving strangely?
    Thanks

    Hi,
    I am more surprised that the name changed automatically on the ones that DID change.
    I would not have expected this to update in this way. The main idea is that outline agrements can have different data to the master records because they are specific agreements and often relate to very specific data.
    If you wanted to change the address of a vendor it should NOT change the address of existinmg VSAs etc. automatically because the document is  a =fixed contract that is agreed between you and the vendor and should ONLY be changed manually.
    We had a similar question earlier today asking why the system does not change the short description on a contract when the short description on the material master changes. My reply was basically the same, it SHOULDN'T change it automatically because the agreement is a legal document and cannot be changed by just ONE of the parties involved.
    So I would be asking  why the one VSA changed automatically (and the ones in the test syste) not why the others didn't change.
    Just trying to lok at this from all angles.
    Steve B

  • Function module for getting Vendor Address details

    Hi,
    Im new to this group,and new to ABAP
    plz hep me out by solving ABAP Query...
    i want to generate a report for getting Vendor Details
    like Vendor address,Ph num and Email
    input fields are Company code,country key and Account Group.
    im Using Smart Forms for this..
    but im not getting the Exact Function module to get All Required Details..
    regards
    Smitha

    thanks for ur quick reply...
    SELECT SINGLE LIFNR
      FROM LFB1
      INTO V_LIFNR
      WHERE BUKRS EQ V_BUKRS.
      CALL FUNCTION 'VENDOR_READ'
        EXPORTING
          i_bukrs         = V_BUKRS
          i_lifnr         = V_LIFNR
        EXCEPTIONS
         NOT_FOUND       = 1
         OTHERS          = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    this is the code i have written...
    but my problem is there no table in the Function module....
    for Example...
    CALL FUNCTION 'QPAX_PLMKB_READ_FROM_PLKO'
        EXPORTING
          i_plnty            = 'Q'
          i_plnnr            = V_PLNNR
          I_PLNAL            = V_PLNAL
          i_sttag            = V_DATUV
       TABLES
        T_PLMKB_TAB        = IT_TAB
    i want the function modules with tables and proper input...

  • How to remove vendor address from T. Code S_ALR_87012103 - List of Vendor

    Hi Guru's
    There is one report called S_ALR_87012103 - List of Vendor Line Items, after executing this report it will give Vendors line item with vendors name & address with it.
    But I dont want to show the address of the vendors address in the out put?
    How can one remove this?
    Please help me.
    Thanks & Regds,
    Santosh Rothe

    Hii
    need to go for ABAPER help...
    or else u can try out by changing the layout try if it works
    sejal

  • ALE: how do I use dependent distribution for customer and vendor addresses?

    Hello SDN'ers
    Hopefully someone can help me with an ALE question.
    We have two ERP systems connected with ERP - Retail and AFS.
    Customers and Vendors may be created in Retail, and are distributed to AFS using DEBMAS, CREMAS and ADRMAS messages.
    Not all customers and vendors are required in AFS, so we have various filters set up in the Retail distribution model (BD64).
    However with the filters in place, addresses were still being distributed for customers and vendors that had been filtered out.
    To try and avoid this for vendors, we created a filter group for AddressOrg.SaveReplica in receiver determination. In the filter group we selected Dependent Distribution for CREMAS (Address owner object).
    This works perfectly for vendors - vendor addresses are now only distributed if the vendor itself is distributed.
    However I've now discovered it is preventing any customer addresses from being sent! I was surprised about this: I expected CREMAS dependency to only affect vendor addresses. Can someone tell me:
    - is this how dependent distribution is designed to work? In which case can anyone offer any suffestions to achieve the filtering some other way?
    - or are we doing something wrong to be getting this result?
    Thanks for any help!
    regards, Roger

    Hi all,
    as Robert suggested, I've written an exit to get round this, although I'm surprised I should need to!
    What I did was to code an enhancement in function group BDBF, at the start of subroutine COMPUTE_LOGIC_EXPRESSION.
    * In the case of addresses, dependencies should only be applied for the appropriate type of address
      data: lwa_tbd14 type tbd14.
      if P_MODEL_DATA-FTYPE = C_FTYPE_DEPENDENCY_FROM_MESTYP.
    *   Dependency from Message Type.
    *   Read the Address Object type
        READ TABLE P_FILTER_VALUES
                         WITH KEY OBJTYPE  = 'AD_OBJTYPE'
                         BINARY SEARCH.
        if sy-subrc = 0.
    *     Check if the Message Type is linked to the Address Owner Object Type
    *     (Table is buffered on DB)
          select single *
            from TBD14
            into lwa_tbd14
           where MESTYP = P_MODEL_DATA-FMESTYP
             and OBJTYP = P_FILTER_VALUES-OBJVALUE.
          if sy-subrc <> 0.
    *       Wrong type of address for this dependency - stop here
            P_REPLICATE = c_true.
            exit.
          else.
    *       Correct address type. Standard processing continues, checking any
    *       filter values set up against the Address Owner Object Type.
          endif.
        else.
    *     It isn't an address - continue with standard processing
        endif.
      endif.
    Let me know if this helps you, or if you know of a better way to achieve the same result.
    Roger

Maybe you are looking for

  • Anti-slip rubber pads for mbp 13'

    Hi all, I've been losing the anti-slip rubber pads from the bottom of my macbook pro 13'', i just wonder is this part is buyable separately? apple store guys says I need to change the entire aluminium bottom pan which would cost around £30 !!

  • Cost-effective, fast, B&W, network printer

    hi all... i am from india and i want a printer of above description for my daily usage of more than 150 pages... plz suggest... thanks 

  • Converting PDF to Word Using Automator?

    I'm trying to convert a PFD file into a word processing Word Document. Don't know if this is the right place, but if anyone can tell me how to do it, or direct me a software program, I would appreciate it. Thank you

  • XI and E-Recruiting

    Hello, I'm just curious to know if anyone has done any implementation of XI and E-Recruiting.  Also, if you could point me in the way of a blog or documentation on the XI configuration, that would be most helpful and I'll award points.  The documents

  • Driver disturbs lock-in amplifier?

    The LabVIEW driver for the Stanford Research Systems SR830 Lock-in Amplifier, downloaded from the NI web site, does not produce accurate readings of the measured voltages(Channel 1 or Channel 2). It appears the phase has been offset, but no offset wa