Data passing from abap to SAP Scripts

Hi all,
I am facing a  problem while passing the data from abap progrm to sap scripts.
I have designed asap script which contains the main window and the text elements.
I have to print the line item in the text element 'LINE_ITEM'
the following :
&wa_bseg-belnr& ,, &wa_bseg-wrbtr&.
In the abap code :
I have data in my internal table,
I have used the write_form
ELEMENT       = 'ITEM_LINE'
FUNCTION      = 'APPEND'
TYPE          = 'BODY'
WINDOW        = 'MAIN'
But When i execute the pgm my data is not disaplyed in the print.
What could be the reason,.
Please help me soon
Regards,
Priya

hi can u check once the text element name in abap code and script main window 's text element name.it must be same
in script u have to give like this
\E LINE_ITEM
in program
u have to pass the parameters
ELEMENT = 'LINE_ITEM'
FUNCTION = 'APPEND'
TYPE = 'BODY'
WINDOW = 'MAIN'
reward points if useful.
Thanks,
Usha

Similar Messages

  • Data passed from ABAP proxy not reaching PI...

    Hi,
    My scenario is
    ECC ABAP Proxy --> PI --> legacy
    In dev box, it is working fine, when data is sent from ECC dev, it reaches PI dev.
    But when data is sent from ECC quality, data is not reaching PI quality.
    This set up has already been in production and working fine.
    I have done some minor mapping changes only in ESR and moved to PI quality. Nothing changed in the Integration builder side.
    But a client copy was done from ECC prod to ECC quality (not PI systems). Will this have any impact on proxy ?
    What can I check to make sure everything is in place ?
    Pl advise.
    thnks

    Hi,
    In SLDAPICUST the SLD server host and port will be maintained. The ECC will use this to connec to SLD at runtime and get the business sytem details. This can be checked via transaction SLDCHECK.
    Also what the transaction SPROXY says in the ECC system. Is it connecting your PI system and loading the ESR information?
    There are a few more configuration that needs to be checked in ECC system for proxy communication, I think this blog can help you.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    regards,
    francis

  • Print data at new line in SAP Scripts

    Hi,
    Is there any way that i can print data at new line in sap scripts. I am looping my data and its printing in the same line but i need to print it at new line. Is there any formating options or any command to do that.
    Thanks

    Than you must take all the values from the internal table into the different variables and than print them.
    In program:
    READ TABLE ITAB INTO WA_TAB INDEX 1.
    IF SY-SUBRC = 0.
      VAR1 = WA_TAB-FIELD1.
    ENDIF.
    * read all the lines and fill the VAR variables
    In SAPScript:
    /E LINE_VAR
    /P &VAR1&
    /P &VAR2&
    /P &VAR3&
    /P &VAR4&
    Regards,
    Naimesh Patel

  • How To change UME Data source from Abap to Java.

    Hi Experts,
    Can any one give me Detailed Steps of how to Migrate from UME Data Source from Abap to Java, as the Ume Data Source is initally configured for Abap.
    Regards,
    Siva

    Siva,
    Please search before you post a question.
    This has been discussed many a times in here. Please refer to this [thread|To change ABAP UME database to Portal database;.
    Good Luck!
    Sandeep Tudumu

  • Copy Chinese Text from Word to SAP Script

    Hi,
    I need to change Chinese form. I am not able to copy Chinese text from word document to SAP Script.
    When I copy Chinese text from word to SAP Script, I am getting the Chinese text 承运商签 as ?????.
    I have done the following steps in my PC and SAP front end settings.
    1. At the Operating system level install the Chinees language.[Control panel - >Regional and language Option - >language Tab - > Click on Install Files for East Asian languages] If these language already installed then click on Detail and add the Chinese languages[Chinese (PRS) and Chinese(Taiwan).
    2. At SAP level click on Customizing of Local layout[Alt+F12] and click on options.Go to tab I18N and click on Activate the multi-byte functionalities to support check box.
    4.Take care of the Font while assigning to Character formar or paragraph format. Dont use normal font name. Example of chinese phone "CNSONG".
    Please help on the same.
    Thanks & Regards,
    Govind.

    Hello,
    I hope when you are changing form ,you hv logged in  chinese language .
    Sap log-in: Chinese ,PC-setting : chinese font loaded & correct charcter format in script : chinese font.
    If all this is there then you should not hv trouble in getting chinese text from word to SAP script.
    Thanks.

  • Regarding passing table array to sap scripts - urgent

    Hi Experts,
    I am calling an SAP Script form from a custom program. The code snippet is as follows:
    MOVE : 'ZFRM_EX_COM_INV' TO w_form.
    PERFORM open_form USING w_form.
    PERFORM write_form USING 'MAIN'     'HEADER'.
    PERFORM write_form USING 'MAIN'     'LINE_ITEM'.
    LOOP AT it_cond INTO wa_cond.
    <b>PERFORM write_form USING 'TOTAL' 'TOTAL_COND'.</b>
                   <i> " TOTAL is the page window and TOTAL_COND is the element.</i>
    ENDLOOP.
    PERFORM close_form.
    *&      Form  write_form
          text
         -->VAR1       text
    FORM write_form USING var1 var2.
      IF var2 IS INITIAL.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window                   = var1
          EXCEPTIONS
            element                  = 1
            function                 = 2
            type                     = 3
            unopened                 = 4
            unstarted                = 5
            window                   = 6
            bad_pageformat_for_print = 7
            OTHERS                   = 8.
      ELSE.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            element                  = var2
            window                   = var1
          EXCEPTIONS
            element                  = 1
            function                 = 2
            type                     = 3
            unopened                 = 4
            unstarted                = 5
            window                   = 6
            bad_pageformat_for_print = 7
            OTHERS                   = 8.
      ENDIF.
    ENDFORM.                               " WRITE_FORM
    In the text that is in bold in teh code snippet, I am tring to pass the values one-by-one and print in the output.
    But only the last line item from that table is begining printed. The other lines are overwritten by the last line.
    How should I display all the lines in the internal table it_cond.
    Please help me...
    regards,
    arul jothi a.

    U are using a variable window to print the 'total_cond' text element..
    so whenever u call the write form   for a variable window .. it will get over written by the current contents.. I t wont append the contents to the form...
    Instead u use this text element in the MAIN window then onli u will get all the data..
    i hope this is the problem..
    reward if it helps u...
    sai ramesh

  • Issue in alignment of PE51 data when printing it in SAP Script

    Hi Experts
    I have a SAP Script which is used to print Check at the top and Re-numeration Statement at the second half via RFFOUS_C program. The re-numeration statement is designed in PE51. The Check is designed in SAP Script and the PE51 form is printing inside the script using Main window/ Text Element : 525-HR.
    The FM RP_IMPORT_PAY_STATEMENT is used inside the RFFOUS_C program which returns the table PFORM and the contents of  the PFORM is exactly the re-numeration statement data and are getting  printed one by one in the script using the variable REGUD-TXTHR. My object is fine with all the above said things. Only issue is with the alignment which is weird in SAP Script for the re-numeration part. But when I look into PC00_M10_CEDT (TCODE to view re-numeration statement) the output of designed PE51 form is good with proper alignment.When it is printed via script the alignment is not good at all.
    There is some differences in the formats of printing between PE51 and SE71. Do not know what exactly it is. How I can resolve this issue?
    Thanks
    Siva
    Message:Siva

    Hi Madhu,
    Sorry for the delayed response.See the below screen shot.This is how it prints now.The amounts are not aligned.Increasing the line spacing will increase only the space between the lines and i am using same character format for the variable REGUD-TXTHR.I would like to align them.
    Thanks
    Siva

  • Data transfer from SQLDB to SAP R/3 without JDBC adapter

    Hi Experts,
    Please suggest the possible methods of transferring data from SQLDB to SAP R/3 without using a JDBC adapter at sender side.
    Regards,
    Kalyan

    Hi KKC242 ,
    Please suggest the possible methods of transferring data from SQLDB to SAP R/3 without using a JDBC adapter at sender side.
    > Data links can work..but not recommended..and that too will be with out using PI.
    any way we hav eto connect to the database...even without adapter..by using a OLEDB/JDBC connector...in VB.. an dsend it across to PI
    Regards ,

  • Viewset does not have data passed from GenIL

    Hi All,
    We have a custom component in which data is not getting passed from a ViewSet to the Overview page. The details of the issue are given below:
    There is a detail view zsoEF and a table view zsoChild. These 2 views are housed in a viewset zsoVS. This view set has an event Eh_OnBack which requires the data from views zsoEF and zsoChild to be passed to overview view zsoOV.
    We recently upgraded to CRM 7.0. After the upgrade, the values entered on the views zsoEF and zsoChild are processed in the ZGenIL. The context nodes and the custom controllers are filled correctly with the screen values and some auto added data based on validations..
    When we click on the Back button, then Eh_OnBack does not have data in the Custom Controller. I am not able to pin point the reason for this missing data in the Back event. From the way i understand, when we do data binding in the views, we don't have to do that in ViewSet. Has there been any change in this design in CRM 7.0?
    I would like to know if there is any workaround for this issue.
    Thanks,
    Rini

    Hi Rini,
        Did you try to bind the context nodes with the component controller. Can give it a try whether it resolves the problem. Any way it is difficult to say anything as we don't have an idea what exactly you did in the component. Lets take it forward. In the mean time have a look in the below link.
    History navigation and context initialization calls - CRM - SCN Wiki
    Thanks,
    Javed.

  • Encrypt data send from a non-SAP system to ECC.

    Hi,
    We are tryign to encrypt the credit card details send from web (non-sap system) via a xml file to ECC.
    From Basis side, I have exported the public key from the ECC for the web server to encrypt the CC details while sending via xml.
    The external web consultants encrypted the cc detail with the public key and send it via xml but that was not able to decrypt at the ECC side.
    The developers were using the FM 'CCARD_DEVELOPE'at ECC to decrypt the data in the xml file. It was saying SSF error: No data transfered.
    Meanwhile SAP CryptoLib is installed and credit card encryption/decryption is working fine for CC details entered via GUI interface.
    Is there anything I am missing out here to encrypt CC details send from a Non-SAP system to ECC.? Do we need to load the SAP cryptolib in the non-SAP system to ecrypt this data at the senders end. Or is there a alternate solution for this ?
    We are in ECC6.0/RHEL/Oracle10204.
    Appreciate your help.
    Thanks

    Hi Nelis,
    Thanks for your reply.
    This note does not get any information regarding encrypting data from a non-SAP system to SAp system.
    I am looking setup/information for encrypting data from a non-SAP system to SAP system.
    Thanks

  • How to Add Long Text from CA10 on SAP Script

    Hi Friends,
    I got a requirement to add a long text from CA10 on to the SAP Script.
    How to do this ?
    Is it using INCLUDE ?
    Please give me some solution
    Thanks in Adv.

    Hi Bhupal,
    Could you tell me how did u add the long text from CA10.  I have the same requirement.
    Thanks in advance.
    Manisha

  • Customer data upload  from legacy to SAP

    Hi
    We have SAP AR system running . our co has aquired another co.Now we are required to upload the customer data (master data and also transactional data) of legacy system to SAP.I will appreciate if some one can give me the steps to upload customer data into SAP.
    Thanks in advance
    SN

    Hi Satya,
    Following link are useful:
    lsmw to upload master data : lsmw to upload master data
    http://wiki.ittoolbox.com/index.php/FAQ:What_are_the_points_to_take_care_of_prior_to_cutting_over_to_a_new_ERP_system_such_as_SAP%3F
    SAP Data Migration with LSMW: http://www.sap-img.com/sap-data-migration.htm
    Hope this helps.
    Pls assign points as way to say thanks

  • Data exchange from CRM to SAP BI 7.0 using eSOA

    Hi Experts,
                    How to build data exchange between CRM and SAP BI system using eSOA method. Since i am into BI and new to eSOA a step by step procedure or document for the above will be a great help.
    Thanks in advance
    Shiva

    Hi Shiva,
    In general you can use following options for data exchange between CRM an BW based on SOA technology:
    Transferring Data Using Web Services:
    [http://help.sap.com/saphelp_NW70EHP1/helpdata/en/43/f234633ffe025be10000000a1553f7/content.htm|http://help.sap.com/saphelp_NW70EHP1/helpdata/en/43/f234633ffe025be10000000a1553f7/content.htm]
    BR
    m./

  • Change of UME data source from ABAP to LDAP

    Hi all
    we are running a NW04s installation with separate ABAP and JAVA stacks. As we thought our LDAP would be available soon, we configured the JAVA stack as UME data source and of course the ABAP stack for the ABAP-users.
    Now it looks like the LDAP will take some time to come. So we would like to change the JAVA data source to the ABAP, so that we can reduce the double work needed for the user administration (JAVA + ABAP).
    Now the questions. Once the LDAP will be available we would like to configure the user administration to use the LDAP.
    Is this possible, with or without SAP support? Can we get SAP support for this?
    Thanks for your answers.
    Edmund

    I know if you install the portal with an ABAP UME it cannot be changed to something else but assuming you install as database originally then I dont see why you could change from db --> abap --> ldap if you so choose?
    There doesnt appear to be any "technical" reason why you shouldnt be able to do this but almost all SAP documentation says you cannot.  I assume it has something to do with data inconsistency once the link is broken - probably leaving you with lots of users you cannot delete.  I get the distinct impression reading between the lines that you cannot revert back to ABAP when it doesnt work either, which is presumably why SAP do not recommend you even try .....
    Haydn
    PS.  Ive never actually tried it myself - ive been frightened by SAP telling me it doesnt work!!!!

  • Data Passing from a Subreport to the Main Report

    <p>Hello,</p><p>I have been able to pass data from a subreport to a main report using shared variables. The Complete Reference: CR XI (p. 313) states that you should be able to now suppress the subreport to prevent it from showing on the main report, however this is not working. I want to get the data from the subreport and then further manipulate it in the main report, and I do not want the subreport shown on the main report. I tried suppressing/hiding the section where the subreport is placed as well as suppressing the subreport itself. The formula values on the main report become null when I do this though. Is it possible to keep the subreport off the main report?</p><p>Thanks.</p>

    Search forums, this has been answered multiple times.

Maybe you are looking for

  • Fixed Exchange rate in PO

    Hi, The requirement is to update Exchange rate as Fixed at PO. But this should apply for only the selected Company code. Hope this is not possible by std. Any Exits in line with this requirement can be applied. Rgds, Shrenu

  • CS3 Crashing for fun

    Hi, I've just started a new job this week where I'm working as the in-house videographer & I'm experiencing a massively frustrating issue with CS3 - Premiere in particular (although this problem isn't limited to Premiere) where it's crashing on me al

  • Tables for audit logs

    Dears, I need to find out the table which maintain Audit/Security Log and can be access through ABAP or any other programming language. I already have seen the reports from SM30 and SM31 but what i need is the tables from where these reports are fetc

  • IPTV and ACNS integration issue

    I have a new IPTV/ACNS 5.1 implementation and am trying to create programs that will be distributed thru the ACNS network. I have configured all items as stated in the install & config guides, but when I got to add a program in IPTV, when I click the

  • XML Error Message when uploading

    I've updated my blog to a podcast like the instructions said, my Google Reader picks up the mp3 I put in it, but when I put my url into iTunes so it will add it as a podcast it gives me this error: "Error parsing feed: Invalid XML: Error on line 4: T