Smartforms Global Data

I am using the below Method to extract Resubmission data from a contract.  The data I need extracted is in parameter t_resubm_date. 
The problem is I don't know what TYPE to use when defining the variable under Global Data which Smartforms requires.
t_resubm_date is type RECP_T_RESUBM_DATE_C.  When I try to enter the below types in Global Data I receive the error "field t_resubm_date is unknown".
DATA: itab_resubm LIKE LINE OF t_resubm_date OCCURS 0,
      wa_resubm LIKE LINE OF t_resubm_date.
Any help would be appreciated.
Thanks Much.
CALL METHOD cl_recp_data_cn_general=>get_contract
  EXPORTING
    id_guid                  = is_sfparam-content
  IMPORTING
    es_contract              = contract
    et_partner_all           = t_partner
    et_object_all            = t_object
    es_term_period           = term_period
    es_term_renewal          = term_renewal
    es_term_notice           = term_notice
    et_term_notice_obj       = t_term_notice_obj
    et_term_notice_obj_list  = t_term_notice_obj_list
    es_term_def_payment      = term_def_payment
    et_term_payment_all      = t_term_payment
    es_term_def_rhythm       = term_def_rhythm
    et_term_rhythm_all       = t_term_rhythm
    es_term_def_orgass       = term_def_orgass
    et_term_orgass_all       = t_term_orgass
    et_condition_all         = t_condition
    et_settl_cnpart_overview = t_settl_cnpart_overview
    et_settl_cnpart_detail   = t_settl_cnpart_detail
    et_option_rate_all       = t_option_rate
    es_resubm_summary        = resubm_summary
    et_resubm_rule           = t_resubm_rule
    et_resubm_date           = t_resubm_date
DATA: itab_resubm LIKE LINE OF t_resubm_date OCCURS 0,
      wa_resubm LIKE LINE OF t_resubm_date.
LOOP AT t_resubm_date INTO wa_resubm.
  APPEND wa_resubm TO itab_resubm.
  CLEAR wa_resubm.
ENDLOOP.

You need to pass to global data initialization using import export parameters fields.
t_resubm_date
If you want to use any global data in initialization, you need to send them through import , export fields.
sorry it is input and output parameters.
Whatever you defined under global data and if you want to use that, you need to pass it.
Edited by: abap technical on Jan 17, 2008 1:17 PM

Similar Messages

  • Smartform global forms can't see global data?

    I'm trying to create a global smartform however for some reason you can't see the global data which doesn't sound right. Am I doing something wrong or is this actually what is supposed to happen.
    Thanks,
    -Shaunt

    For each smartform a function module is created. You can see it in 'Environment / Function module name'. In this function module you can not see the global data of other function groups.
    Maybe you can pass the required data to the smartform when calling it by defining some input parameters in the form interface.
    regards Jack

  • How to drag global data in text editor in smart forms

    Hello friends,
    I am doing a smartform. I tried to drag the global data from field list and drop it in text editor but its not working.
    can you please help me how to do that or is it need any extra settings?
    Please help me friends.
    Thanks,
    Manisha
    Edited by: PATIL MANISHA on Apr 23, 2010 12:14 PM

    Hi Manisha,
    It is looking very strange. But still try to do following may be helpfull.
    1. First activate your smart form after declaring the variable in Global definition. Then try to drag n drop from Field list
    2. Or else click on Editor tab of Text node, Then Goto-> change editor (You will get a editor same as Sapscripts)
    put the variable like that:
    HT : &W_TOTAL-MASSG&
    Try this. Best luck...
    Regrads,
    Lokesh.

  • Global data getting reset when running under IIS?

    We have a scenario using IIS with an ASP.NET web service written in VB.NET. When a call to the web service is made, the web service calls a native dll (written in C, compiled using VS2010) using platform invoke, which in turn calls into our product API:
    VB.NET web service -> native library (p/invoke) -> native API ....
    Web service requests are successfully completed and the system runs without problem for hours. A trace of the native API shows it is being called by multiple processes and multiple threads within those processes.
    The main native API dll contains a static global variable used to detect whether it is the first time it has been called and run initialization logic if it is. This dll is itself linked to a second dll that contains a global variable used to detect if it is
    the first time it has been called.
    After some hours the trace shows that the native API is invoked by an existing process but that the initialization logic is being exercised again, even though the global variable was set to indicate not first time and is never reset.  One theory was that
    the first process has ended and a new process has started almost instantaneously using the same process ID. However this is not the case as existing thread IDs from the same process are seen to write to the trace again after the first time logic has executed
    for the second time, indicating the process has not restarted. The problem occurs regularly.
    It is as though the process's global data has been initialized again and malloc'ed memory freed while the processing is still running. Is there any way this is possible when running under IIS?
    There is an internal thread which waits on a blocking read of a named pipe (via ReadFile), and when the problem occurs, the ReadFile call ends with ERROR_NO_ACCESS, which appears to indicate the malloc'ed buffer is no longer valid, again implying something
    has happened to the memory allocated to the process.

    Suggestting you asking it on:
    http://forums.iis.net/

  • Global data charges with data roaming OFF

    I have an issue with both my iPhone 4 and 4S getting incoming global data "leakage" I will call it.
    Both are running iOS 6.1.3, which is the latest software update. Both phones are used fairly regulary along the San Diego border with Mexico, and often times on the Mexican side within 2-3 miles of the border. My phones are always set as follows: "Cellular Data -> On" Roaming = "Voice Roaming -> On" and "Data Roaming -> Off" with the iPhone 4S also having "International CDMA -> On"
    However, both phones consistently receive incoming global data hits in very minor amounts (0.1 KB to 5.5. KB) when they are in an area where the signal is switching between my USA carrier (Verizon) and the Mexican cellphone towers. I know this because almost every time it happens it is when we are crossing the border or close to the border where the towers are competing for the signal to my phones. In one case I watched as my iPhone 4 switched from Verizon 3G to Extended network and shortly thereafter I received a push notification (message) from my WhatsApp application. The next day it showed the hit on my daily usage as a 6.9 KB hit even though data roaming was set to OFF.
    Please don't respond to tell me that the solution is to switch Cellular Data -> Off when I am near the border. I already know this will solve the problem, but the issue is that we want to use the full functionality of our phones in this area as our employment and our residence is right along the border and we don't want to have to suspend data completely every single time we cross the border, which is nearly every day.
    The data hits have thus far been in the range of less than 500 KB per month total (almost no impact at $5 per MB) so my concern is not so much with the minimal expenses incurred, it is more the principal of the issue and the problem.
    I want to know if there are other users experiencing the same issue so I can have some more evidence to get Verizon to push Apple for a fix. Apple iPhones have consistently had "Data/WiFi/Roaming" issues on its phones since 2008 (or more as far as I can tell) and I believe this is a related issue that has never fully been fixed.
    Thanks in advance for your replies of similar situations, regardless of what country this happened in.

        Thanks for clarifying. I do hope you had a wonderful trip! You mentioned you were turning the cellular data on occasionally to use a little data. When your data is turned on, even for just a few minutes, your phone sees that connection as a window to look through your applications for any notifications that you've missed and download email and other messages, occasionally resulting in a significant amount of data usage. What were the countries that you visited? When you log in to view your statement on http://bit.ly/xB4iTc, does it show you had a $25 Global Data or $29.99 Global Value plan for any part of your trip?
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • Differnace b/w SID and Global data base name

    please tell me what is differance b/w SID and global data base name.

    Hi,
    Oracle System Identifier (SID)
    A name that identifies a specific instance of a running pre-release 8.1 Oracle database. For any database, there is at least one instance referencing the database.
    For pre-release 8.1 databases, SID is used to identify the database. The SID is included in the connect descriptor of a tnsnames.ora file and in the definition of the listener in the listener.ora file.
    http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14213/glossary.htm#i433004
    Global database name
    The full name of the database which uniquely identifies it from any other database. The global database name is of the form "database_name.database_domain," for example, sales.us.acme.com.
    The database name portion, sales, is a simple name you wish to call your database. The database domain portion, us.acme.com, specifies the database domain in which the database is located, making the global database name unique. When possible, Oracle Corporation recommends that your database domain mirror the network domain.
    The global database name is the default service name of the database, as specified by the SERVICE_NAMES parameter in the initialization parameter file.
    http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14213/glossary.htm#i435858
    Adith

  • Global data in a servlet using iPlanet Web Server

    Our configuration is an Applet->Servlet->JNI->C/C++ code.
    We have C code that does a number of lengthy mathematical calculations. This C code not only uses its own global variables but, it is also comprised of numerous subroutines that all call each other, reading and writing global C variables as they go. These globals are all isolated to the C code shareable object (.so) library that is included using the LoadLibrary call when the servlet is initialized.
    The problem is that in a multi-user environment (3-5 simultaneous users) we need to have each user have their own "copy" of the servlet (and the C code) so that users will not be accessing each other's global data. We can NOT have only one copy of the C code and define it as synchronized because the calculations that are performed can take a very long time and we can not hold off user requests while the firs user finishes.
    Our hope is that there is a way to configure the iPlanet Web server such that each new user that starts up a copy of the Applet/Servlet combination will get their own "space" so that they can work independently of any other user. We have at most 20 users of this system and only 3-5 simultaneous users so we should not have a problem with memory or CPU speed.
    If anyone has a solution, I would greatly appreciate it!

    The C library is shareable. But you don't want it to be shared. That's your question summarized, isn't it?
    You probably can't prevent it from being shared, so to prevent multiple use of it you would have to queue up the requests to be done one at a time. WynEaston's suggestion of having the servlet implement SingleThreadModel would help, but I believe the servlet spec allows servers to run multiple copies of a servlet that does that (as opposed to running a single copy in multiple threads).
    Your other alternative is to rewrite the math in Java, or at least in some object-oriented language where you don't need global variables (which are the source of your problem). All right, I can already hear you saying "But that wouldn't be as fast!" Maybe not, but that isn't everything. Now you have a problem in queueing theory: do you want a single server that's fast, but jobs have to wait for it, or do you want multiple servers that aren't as fast, but jobs don't have to wait? That's a question you would have to evaluate based on the usage of your site, and it isn't an easy one.

  • How to access the global data in user exit.

    Hi All,
    How to access the global data in user exit.
    the question is that when we were writing a code in the FM. i need to read data from the standard program like newly created documen and this document number need to be accessed in my program.
    this document number is not imported to the FM i needed to access for frther proceed.
    Thanks in advance.

    Hi,
    See the below PDF file by Jeff Goldstein. There you can find all the details about accessing data outside of the exit.
    [SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]
    This will help you to solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Dec 2, 2008 4:18 PM

  • How to configure LabVIEW 2010 to communicat​e with GE Speedtroni​c Mark VI ethernet global data (EGD)

    We want to use LabVIEW 2010 to send/receive floating points from LabVIEW 2010 to/from a network (192.168.101.xxx) that utilizes GE ethernet global data protocol (EGD).
    The network has several HMI's running Cimplicity Plant Edition 4.01.
    We can configure Cimplicity to read modbus points from LabVIEW using LabVIEW's multi-variable editor and a modbus slave library.
    However, we cannot get the points from LabVIEW to read/write to the EGD protocol.  Anyone ever run into this?

    EGD is a UDP message (port 4746h) with a special header.See below for header structure (32 Bytes). Send UDP at constant rate. Limit user data to 1400 bytes. If you want to receive EGD data don't forget to increase the MaxSize connector on UDP receive to 1500. Are you using the a csv file or SDB Server to get tag names? Or manually entering tag names in cimplicity? This works much better than OPC because all parameters are contained in your labview executable. If you have a redundant cimplicity HMi Server send as Broadcast to the local subnet. All consumers will get the EGD telegram.  Example IPA of 192.168.0.255.  Server 1 IPA 192.168.0.1 and Server 2 IPA 192.168.0.2
    Maybe to late for this project but would be a good upgrade or the next project.

  • Global Data Plan not working in the Netherlands

    I called customer service a week before my trip and arranged for the $30 "Global Data" plan to begin April 1. I have been unable to get a data connection here in the Netherlands and e-mails to customer service have gone unanswered. I cannot see anything on my account to indicate whether this has ever been activated.
    By poking around the settings and setting the data networks to GSM I've been able to see Vodophone, T-Mobile, and KPN listed, but if I try to connect to any of them I get an error that indicates I cannot connect to them.
    Can anyone provide some advice on how to get this working? I was really relying on this to help with getting info on places to visit and it's proving a pretty difficult trip when having to rely on free wifi spots to make up for this.

        roninacolyte,
    Greetings from the states! To be honest, the Thunderbolt will not work in Hong Kong. You can check out our trip planner for future reference at http://vz.to/n9PFe9
    EvanO_VZW
    Follow us on Twitter @VZWSupport

  • How do you separate global data running in different threads of TestStand

    I have created a DLL which I want to call from multiple threads of TestStand. I also need to have some global data that is local to each thread. VC++ allows me to use the declaration:
    __declspec(thread) int foo
    to create "Thread Local Storage"
    (ie global data that is local in the each thread -- not shared between threads).
    This works fine from a VC++ application, but when I try to access data declared with this from Test Stand I get the following error.
    Win32error code 998 - Invalid access to memory location
    This occurs when I try to set a variable declared using this convention in my DllMain function.
    I get a -17502; System Level Exception when I access it from a function that I call in the DL
    L.

    Russell -
    I found the following comment in Microsoft's MSDN and I know that TestStand dynamically loads DLLs:
    If a DLL declares any nonlocal data or object as __declspec( thread ), it can cause a protection fault if dynamically loaded. After the DLL is loaded withLoadLibrary, it causes system failure whenever the code references the nonlocal __declspec( thread ) data. Because the global variable space for a thread is allocated at run time, the size of this space is based on a calculation of the requirements of the application plus the requirements of all of the DLLs that are statically linked. When you use LoadLibrary, there is no way to extend this space to allow for the thread local variables declared with __declspec( thread ). Use the TLS APIs, such as
    TlsAlloc, in your DLL to allocate TLS if the DLL might be loaded with LoadLibrary.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Who knows a Std. global data type for vendor bank details (ESR modelling) ?

    Hi,
    we are going to design some simple partner in ESR to be implemented in different backends using SAp global data types.
    What i cannot find anywhere in there is a structure containing the standard fields of customer / vendor bank details. As this is a baisc to partner master - i hope anyone of you has done this and knows it.
    The funny thing thing is, there exists a type called "BusinessPartnerBankDetailsID",
    which is only used  as reference in payment transactions but nowhere in bank details
    Does anybody know a GDT to maintain BusinessPartnerBankDetails?
    Thanks in advance & br,

    No solution -closed

  • In smartform table data is repeating

    in smartform table, data is repeating and filling the page...
    actual data is only 3 rows...
    but it repeats and fills the page...how can i stop this...

    Hi Rajkamal
    You can easily debug the smartform; try hardcoding the break-point for your user ID.  (Break <ID>)
    Please check the number of entries in your table.
    If the number of entries are correct it can be only some loop in smartform - happy hunting !!
    Neer

  • Where used list doesn't work for global data

    Hi,
    When i try to do where used list on a constant in an include, it doesn't give the results for classes.
    The class contains the include in a method that uses the constant, and the where used list for that constant doesn't find the appearance of the constant in the class.
    I tried to look for oss note that solves the problem but i couldn't find any.

    I tried to update the navigation index but it still doesn't work. from my debuging i found out that it just doesn't look in classes, all classes. I mean even in the where used itself there is not an option for used in classes. I checked it and it's a generic problem of the where used list for global data.
    Edited by: Cohen Lior on Apr 14, 2010 6:52 PM

  • Combo Box Use Global Data issue

    I am using a drop down combo box to select a name, and have checked specifiy item values, am using the item numbers in a switch statement to populate other text boxes depending on selection of drop down.  These same items appear several times in the form, so am setting them to use global data.  All work great except for the textboxes bound using global data to the drop down.  In those results, it's putting the item number, not the text value.  How do I get the text value to show instead of the item value?  Thank you!

    Resolved it by changing the switch statement to use the text value instead of item number, and unchecked the specify item values in the combo box.  I would be interested for future use to learn how to do this, but no worries if not.  At least the form is operating the way it needs to.  Thanks.

Maybe you are looking for

  • Flash not working in Windows 8.1 x64 with Internet Explorer 11

    I updated my Windows 8 to 8.1 and Flash has stopped working in IE11.  Flash still works fine in Firefox.  I have tried to use the patches available from Windows, but the patch won't install because "not applicable to your version".  The Flash verific

  • Upgrade from Solaris 8 to Solaris 10

    What are the points to take care of when migrating the system from Sun Solaris v 8 to Sun Solaris v 10? Any help would be greatly appreciated.

  • ALE Message type HRMD_A Infotype 0001 is incorrect using PROOF flag = X

    Hi We have an issue using HRMD_A for Infotype 0001 with the PROOF flag swithed on. Using the PROOF flag triggers a call of HR_MAINTAIN_MASTERDATA instead of a direct write to db tables. However sometimes the update of Infotype 1 is incomplete and rec

  • Image and label location in JButton

    I have a class MyButton that extends JButton. I'm trying to override the contains(int x, int y) method of MyButton in such a way so as to return true if and only if the point x,y is contained within either the button's image or the button's label. So

  • Solaris 10 dvd reinstallation

    When I try to reinstall Solaris 10 8/07 from the dvd I get the message that it wont fit into memory. any ideas?