Adding Street 2 field in a SAPScript

I need to add the street 2 field in a SAPScript.  However, I am unsure how to do this.  Below is what I have on the SAPScript:
/:           IF &RPCOBQBDAT-DSUBT& EQ '0   ' OR &P0106-STRAS(30)& EQ &SPACE(30)&
/:           ADDRESS PARAGRAPH L4
/:             TITLE       &FORM_OF_ADDRESS&
/:             NAME        &RPCOBLET01-NAM01&
/:             STREET      &P0006-STRAS&
/:             CITY        &P0006-ORT01&, &P0006-ORT02&
/:             POSTCODE    &P0006-PSTLZ&
/:             COUNTRY     &P0006-LAND1&
/:             REGION      &P0006-STATE&
/:             FROMCOUNTRY &P0006-LAND1&
/:           ENDADDRESS
/:           ELSE
/:           ADDRESS PARAGRAPH L4
/:             TITLE       &FORM_OF_ADDRESS&
/:             NAME        &RPCOBLET01-NAM01&
/:             STREET      &P0006-STRAS&
/:             CITY        &P0106-ORT01&
/:             POSTCODE    &P0106-PSTLZ&
/:             COUNTRY     &P0106-LAND1&
/:             REGION      &P0106-STATE&
/:             FROMCOUNTRY &P0106-LAND1&
/:           ENDADDRESS
/:           ENDIF
I know that I need to add the field &P0006-LOCAT& to the form (under &P0006-STRAS&) but I am unsure what to use in place of 'STREET'.  I tried the following but it doesn't print:
/:             STREET2      &P0006-LOCAT&
/:             BUILDING      &P0006-LOCAT&
/:             STREET      &P0006-LOCAT& -> This one just overwrites the field &P0006-STRAS&
I realize that this is an easy thing but I am not sure what to use.
Regards,
Davis

Hi Davis,
Instead of "/: LOCATION &P0006-LOCAT&", you should use:
LOCATION &P0006-LOCAT&.
Means replace /: with *.
Regards,
Vishal

Similar Messages

  • Steps for adding a new field in the sapscript

    pls give me the step by step procedure to insert a new field in the sap script.
    like wat i need to to do in the form layout/line editor
    and wat n how i need to change in the print program like subroutine, etc..
    where should i use the itcsy structure?

    Hi,
    This will give you a step to step procedure for SAPScript.
    <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf">SAPScript</a>
    regards,
    Amit
    Reward all helpful replies.

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • Error while adding a new field to the Segment in we31

    Hi ,
    I am getting error when i am trying to add the new field to the cust. segment.
    It is released for the adding the new fields i am cancelling the release , but i got a message like this
    Error while resetting release of segment 'segment name'.
    it is comming from the message class EA and message number 259.
    Thanks in advance.
    Reagrds,
    bharani

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

  • Adding a signature field takes a lot of time

    Case: I have a Microsoft excel sheet that I save as PDF directly from excel. I use Adobe Acrobat X PRO to create 3 signature fields on this PDF to allow document signing in Adobe Reader.
    Problem: Adding a signature field in form editing mode are extremly slow. After placing the signature field, Adobe Acrobat stops responding for about 1-3 minutes. I need to do this for a lot of documents, so it's time-consuming to say the least..
    Is it possible to speed up this process?

    We don't control the forum emails, you do.
    For each separate message,
    1. Return to the forum ("View the full discussion")
    2. Sign in at top if your login isn't shown
    3. Click Stop email notifications

  • Adding a new field to search of Service Contracts

    Hi Experts,
    I have a requirement where in to add an existing field i.e your ref (sold_to) your_ref_sold field into the search criteria of Service Contrct .
    How to add the field to the Search .
    I have few questions here.
    1 need I use EEW to add the field to Search but its already existing?
    2 If not How to append the Structure crmst_query_src_btil and enhace it with field required?
    3 how to implement the BADI crm_rf_search_eew?
    Thanking You,
    Sree.

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • Adding a new field to a DB table

    Hi,
    I am working on 4.6C.
    The requirement is to add an extra field to a database table which already has data in it...
    Will this effect the system in any way...if I add a field with the data in the table.
    What precuations do i have to take before adding an extra field to a DB table.
    I was wondering what will happen when i need to transfer the TR.. Basically the data is there in Production and Quality and not in development... so it will not be a problem in development...
    I mean changing the structure of the table with data in it ... Is it Ok...
    Thanks & regards

    Hi Sam,
    you can add a new field to any database table if even
    if contains data in production, only thing to do is u just
    have create an append structure to that table and in that
    append structure just create the new field.
    NOTE : Naming Conventions as follows:
    For Append Structure e.g :
    In se11 enter Table Name and select change button.
    now select GOTO option in the menu bar and select APPEND STRUCTURE option.
    now the screen shows u an default name for ur append structure, so dont change the name
    just hit enter button and
    now enter the your new field name with two Z's infront of the field.
    e.g if ur field name is MATNR then enter ZZMATNR as ur field in the append structure.
    and now save and activate and also adjust in the DATABASE UTILITY.
    thanks & regards,
    CH Vamsi Bharath

  • Adding a new field to Emigall

    Hi All,
    I was interested in knowing how we can add a new field to an existing emigall object and also how to process the logic after adding the field ie. how would emigall handle the field after we have added the field in emigall.
    I would appreciate if you can share the screen shots (if any) at karanchopra dot kc at gmail dot com.
    Thanks,
    Karan

    Hello,
    Before I provide you with solution, can you be more ellobrative with your requirement.
    a) Are you adding new 'Z' field?
    b) Do you want to just extend the existing Structure?
    Depending on your requirements, there are different approaches to solve this problem.
    Regards,
    Anup Mohite

  • Adding a new field to a Z table

    We have a Z table on which we have created a datasource. We have created a virtual cube on this datasource and queries are built on this cube. This setup is present on Dev, Quality and Prod environment.
    Now we have added a new field to the Z table in Dev. We will be creating a new Infoobject for this new field and will be adding it in the Virtual Infoprovider and also in the queries.
    1. Do we need to replicate the datasource so that newly added field is visible to the datasource? If no, is there any way?
    2. When I have to transport this to Quality and Prod, do I have to capture all the components and objects (Table,Datasoure,Virtual Cube Queries)? If no, what should I capture in the transport request?

    Hi,
    First, you have to regenerate the datasource in order to add the field:
    1) Log on to source system (where Z table is stored) and go to transaction RSA6.
    2) Select the root node and click Expand (icon with '+' sign).
    3) Search for your datasource (you can use the binoculars icon).
    4) Click on Change.
    5) Verify that the field appears on the list.  Make sure that "Hide field" and "Field only known on client exit" options are not marked for this field.
    6) Click on Save.
    7) Select "Datasource" -> "Generate" (CTRL+S) menu option.
    8) Use RSA3 transaction in order to verify the new field appears on test extractions.
    Then, to replicate the datasource in BI:
    1) Log on to SAP BI and go to RSA1 transaction.
    2) Go to "Modeling" -> "DataSources" section.
    3) Search for your datasource and right click on it.  Select "Replicate metadata" from context menu.
    4) Add the new InfoObject to the VirtualProvider.
    5) Update the transformation which joins the DataSource to the VirtualProvider.
    As far as transport requests are concerned, even though it requires more work, it is a good practice to group objects in different transport requests according to their type:
    In the source System (R3 for instance):
    1) One transport request with the table.
    2) One transport request with the datasource and its structure.
    In BI:
    1) One transport order with the datasource replica.
    2) One transport order with the new InfoObject(s).
    3) One transport order with the modified VirtualProvider.
    4) One transport order with the modified transformations from the datasource towards the VirtualProvider.
    5) One transport order with the Queries and their elements.
    I hope this helps you.
    Regards,
    Maximiliano

  • Adding a new field to a standard webdynpro component's layout

    Hi all,
      I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD')  layout.How do i go about adding a new field to the standard component's lay out?
    can anyone help me with the necessary details?
    Regards,
    Abhinay.

    Check if this is useful to you (Login required)
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Rgds/Kiran

  • Adding a new field to existing structure

    HI all
    I am adding a new field to the existing structure in BW ,shall I remove all the data in the cube to fill fill this field for the previous records and reload again or any other solution
    thanks in advance

    Hi,
    Yu need to delete the data to fill the new field again.
    Assign points if it helps
    Regards,
    Srinivas

  • CProjects - Adding a new field to the detail screen of object link

    Hi All,
    I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
    Please let me know how could i realise this functionality?
    Thanks in advance.

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • Adding a new field to the selection screen of a LDB

    Hi all,
    I want to add a new field Clearing date(BSEG-AUGDT) in the dynamic selection screen of  the report RFUMSV00.
    For adding a new field i have copied the SAP view of a Logical database to CUS view.
    Next i had added the Clearing date(BSEG-AUGDT) to the function group Document header(01) and selected the check box Preselect and saved the view.
    But still i am not able to find the newly added field in the dynamic selection screen of the report.
    Please suggest me where i am going wrong or how to do this.
    Thanks in advance
    Ajay

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • Adding a new field to the search help exit

    Hi friends,
    adding a new field to the search help exit. How does it work ?
    Thanks in advace
    Ilhan

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • SAP Work Manager customization - adding a new field to equipment details screen (Syclo Agentry)

    Hi Experts,
    I am trying to add a field (NAME1) on the Equipment details screen under work orders in work manager 5.3 application.
    I have performed the following steps, but I am getting an error while connecting to the application.
    1) Create extension for Equipment class to add a new field.
    2) added the new field (Name1) as the property to the standard object Equipment.
    3) Added the field on the screen.
    4) Added the field (name1) to the complex table ctEquipment.
    5) Added the JAR file to Agentry.ini file.
    6) Changed the Class mapping for parameter "Equipment" under group "SAPOBJECT" to point it to the custom (Extended) class.
    7) Changed the class mapping for complex table parameter "ctEquipment" under group "CT_SAPOBJECT" to point it to the custom class.
    8) after publishing the changes and re-starting the server, I get following error.
    the log file generated (message.log) also has the same description.
    What am I missing here? Any help would be really appreciated.

    Hi Emanuel,
    Thanks for looking into this issue.
    I have performed the following steps as suggested by you, still it doesn't seem to work and gives the same error.
    Below are the changes done on the ECC Side.
    1) Copied the standard equipment class /SYCLO_CL_PM_EQUIPMENT1_DO to custom class ZSYCLO_CL_PM_EQUIPMENT1_DO. Changes made in the GET Method to get custom equipment related data
    2) Modified the standard equipment structure /SYCLO/PM_EQUI_STR by adding one custom field
    3) Configured this custom class as the object handler in the equipment mobile data object
    4) Configured this custom class as the object handler for the equipment complex table
    5) We are still using the standard BAPI Wrapper itself for getting the equipment data and the added field is reflected in the BAPI Wrapper table parameter
    Is there something we are missing?

Maybe you are looking for

  • How to execute an SSIS package on a scheduled basis from remote server and pass in input files

    I have an application server and a db server.  My db server has all things SQL Server stored on it (DBMS, SSRS, SSIS, etc.)  I have several nightly batch process SSIS packages (dtsx files currently) that will pickup an input file and import them into

  • Exit code 6 when installing PS CS5 Extended with Win7

    Hi all, I'm sorry to do this again, I know it is a fairly common problem but I've tried everything and still can't install. As the subject line states, I'm trying to install PS CS5 Extended on a Win7 machine. I had installed this same disk successful

  • Incorrect material availability date determination

    Hello Friends , We have one issue with Material availability date . In our system, R/3 fetches the material availability data from APO. We have two materials A & B and for them have enough stock in the plant. We have one FM which determines the mater

  • Pages - how to make a template?

    I need to print in two colums, landscape, on both sides of the paper. So far, no problem as my Kyocera 6950 does it automatically. BUT  the paper I use has a printed logo on one side (let's call it page nr 1/3/5/7 etc) and I need obviously not to pri

  • Subscription via email as an attachment

    hi i am customising the subcription process in portal i want to notify this subcription thru email send the particular document or folder as an attachment i want to implement this using JMS how do i proceed,,,,,any sample codes regards bharadwaja