Here is how to use the no of months in warranty transaction BGM2
REPORT ZSDCONVERT
data : char_value(10).
data : fltp type f .
data : fltp1 like fltp.
data : decimals like t006-DECAN value 15 .
from char to floating point
call function 'CHAR_FLTP_CONVERSION_TO_SI'
EXPORTING
CHAR_VALUE = '3'
CHAR_UNIT = 'MON'
UNIT_IS_OPTIONAL = 'X'
DECIMALS_MAX = decimals
FIELD_NAME = 'FLTP'
IMPORTING
FLTP_VALUE = fltp
FLTP_VALUE_SI = fltp1
DECIMALS = decimals
EXCEPTIONS
NO_UNIT_GIVEN = 1
UNIT_NOT_FOUND = 2
STRING_NOT_FLTP = 3
OTHERS = 4
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 to convert from FLTP to char
call function 'FLTP_CHAR_CONVERSION_FROM_SI'
exporting
CHAR_UNIT = 'MON'
DECIMALS = 1
EXPONENT = 0
fltp_value_si = fltp1
INDICATOR_VALUE = 'X'
MASC_SYMBOL = '_'
IMPORTING
CHAR_VALUE = char_value
EXCEPTIONS
NO_UNIT_GIVEN = 1
UNIT_NOT_FOUND = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ada
Similar Messages
-
How to use the table maintenance events for validating the input entries..?
Hi,
I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
Or Is there any other way to solve my problem.
Please share your inputs. Thanks in advance.
Best regards,
paddu.In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
Here is documentation for Event 01(Before Saving the Data in the Database )
Event 01: Before Saving the Data in the Database
Use
This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
hidden entry processing
fill hidden fields
flag data to be written to hidden tables after the database change.
To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
Realization
This event has no standard routine. The following global data is available for the realization of the user routine:
internal table TOTAL
field symbols
field symbols <ACTION> and <ACTION_TEXT>
<STATUS>-UPD_FLAG
If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
FORM abc.
DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
LOOP AT TOTAL.
IF <ACTION> = desired constant.
READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
IF SY-SUBRC EQ 0.
F_INDEX = SY-TABIX.
ELSE.
CLEAR F_INDX.
ENDIF.
(make desired changes to the line TOTAL)
MODIFY TOTAL.
CHECK F_INDX GT 0.
EXTRACT = TOTAL.
MODIFY EXTRACT INDEX F_INDX.
ENDIF.
ENDLOOP.
SY-SUBRC = 0.
ENDFORM.
Regards,
Joy. -
How to use the Output clause for the updated statment
How to use the output clause for the below update stament,
DECLARE @MyTableVar table(
sname int NOT NULL)
update A set stat ='USED'
from (select top 1 * from #A
where stat='AVAILABLE' order by sno)A
Output inserted.sname
INTO @MyTableVar;
SELECT sname
FROM @MyTableVar;
Here am getting one error incorrect syntax near Output
i want to return the updated value from output clausesee
http://blogs.msdn.com/b/sqltips/archive/2005/06/13/output-clause.aspx
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to use the Eudora e-mail program with new ports
For those of you that still use Eudora as your mail program. Here is how I made the required changes for the new port settings
1) Open Eudora and from the "Tools" drop down menu select "Personalities"
2) In the "Personalities" pane - right click the account you want to change and select "Properties"
3) In the "Generic Properties" pane change the following
a) Change the SMTP server to smtp.verizon.net and leave the "Authentication Allowed" box checked
b) In the"Secure Sockets When Sending" selection box pick "Required,Alternate Port" . This both turns on SSL
and makes the port number 465 as required by Verizon
4) Click the "Incoming Mail" tab at the top and then make the following changes
a) Change the POP server to pop.verizon.net
b) In the"Secure Sockets When Sending" selection box pick "Required,Alternate Port" . This both turns on SSL
and makes this port number 995 as required by Verizon
Thats it . It should work for you now. You need to do this for each "Personality" (Sub account) you haveEudora users may also need to make changes to Eudora's Options (Tools > Options) "Getting Started", "Checking Mail" and "Sending Mail" in addition to the changes for each Eudora Personality. I outlined those changes in the "Eudora & server changes" thread--note there is a typo ("smpt" rather than "smtp") in the first post (couldn't edit that post to make the correction) in the thread so make sure to check the entire thread as a later post shows the correct entry.
I had problems with Eudora sending mail (I didn't have problem with incoming mail because I don't use Verizon's servers for that) until I made changes to both Personality accounts and to the Option/suboptions noted above.
Did you get things to work properly without having to make changes in Options? -
How to use the Calculated attibute in view object
Hi,
I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
After the page gets loaded, there is a search section in the same page at the top.
Here i will have to build the whereclause to the same query and retrieve the values.
i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
SELECT /*+ first_rows(10) */
BatchCntl.FILE_CNTL_ID,
CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
THEN
CASE eeh.TRAN_CODE
WHEN '21' THEN 'C'
WHEN '22' THEN 'C'
WHEN '31' THEN 'C'
WHEN '32' THEN 'C'
WHEN '26' THEN 'D'
WHEN '27' THEN 'D'
WHEN '36' THEN 'D'
WHEN '37' THEN 'D'
ELSE eeh.TRAN_CODE
END
ELSE
CASE Entry.TRAN_CODE
WHEN '21' THEN 'C'
WHEN '22' THEN 'C'
WHEN '31' THEN 'C'
WHEN '32' THEN 'C'
WHEN '26' THEN 'D'
WHEN '27' THEN 'D'
WHEN '36' THEN 'D'
WHEN '37' THEN 'D'
ELSE Entry.TRAN_CODE
END
END AS TRANCODE,
FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
WHERE (BatchCntl.BATCH_TYPE = 'E')
AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
and Entry.fi_rt = eeh.fi_rt (+)
and Entry.entry_id = eeh.entry_id (+)
AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
regards
Raj.Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
public void doSomething(int i, String s) {
}and you exposed this AM custom method using the AM editor.
BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
package com.yourcompany.someapp.services.common;
import oracle.jbo.ApplicationModule;
public interface MyService extends ApplicationModule {
public void doSomething(int i, String s);
}To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
import com.yourcompany.someapp.services.common.MyService;
MyService mySvc = (MyService)yourAM;
mySvc.doSomething(1,"foo"); -
How to use the chart option in bex analyzer
Hi Expert
i want to know how to use the Chart in Bex Analyzer.
Next week i hve End user Training. my user wanthow to use the chart option in Analyzer.
plz let me know how to use chart & any Document on that plz reply me.
Reagards
siva
Edited by: patel siva on Sep 16, 2008 4:34 PMCheck here:
https://reporting.uky.edu/BWBExContextMenu.pdf
http://help.sap.com/saphelp_nw70/helpdata/EN/8b/4ffd9b07474279b3bbee75a60db41f/content.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/30d43b0527a17be10000000a114084/frameset.htm
Thanks..
Shambhu -
How to use the customer types in customer master data
how to use the customer types in customer master data?
menu path is Extras -> account group info -> customer typeshi,
This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
default sp ,consumer.
See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
I hope this clarifies your quiery.Reward points if so.
Thanking you,
Best regards,
R.Srinivasan -
How to use the "identify" feature in new 6.3.1 airport utility?
how to use the "identify" feature in new 6.3.1 airport utility?
so you can find the basestations in larger networks?There is a workaround, which is to use Airport Utility 5.6.
I can confirm that 5.6 will run on 10.8.4 Mountain Lion, it will recognize the new 2013 Airport Extreme Base Station (A1521) running firmware 7.7.1, and it will give you access to view the device's Log & Statistics, DHCP Clients, and Profiles.
Four caveats:
1) The easiest way to install it is to download the app itself, not an installer or through the App Store. There is a page here where you can download the app: http://coreyjmahler.com/2013/03/08/airport-utility-5-6-on-os-x-v10-8-mountain-li on/ This way, you still have both versions, Airport Utility 6.x.x and 5.6.
2) When you launch 5.6, you'll get a message saying a newer version is available and asking if you want to update. Click Cancel to proceed into the utility.
3) When you click the Manual Setup button in 5.6, you'll get a warning dialog that "This version of AirPort Utility doesn't support this AirPort wireless device and might improperly configure the device if you continue to use it. Check www.apple.com/support/airport for the latest version of AirPort Utility." You can click Continue to get into the utility without issue.
4) You should probably only use 5.6 to view the additional status details. I have not tried to modify and save any AEBS settings using 5.6. There are other discussions here in the forums indicating that attempting to save settings via 5.6 that are no longer available in 6.3.1 will not actually save the settings to the AEBS even if both utilities indicate that the settings are changed. See https://discussions.apple.com/message/22677993#22677993
So, even though you can't use it to modify settings no longer available in Airport Utility 6.3.1, using Airport Utility 5.6 to view DHCP clients, Logs and Statistics is very useful for troubleshooting network issues.
PS - There are two ways to get to the DHCP Clients list, neither of which is obvious The first is to go to the Airport pane -> Summary tab and click on the "Wireless Clients:" label in the Summary display. All of the labels from "Wireless Mode:" down on the Summary display operate as links to view/edit the corresponding info/settings, which is also not obvious at first glance. Also not obvious, clicking on "Wireless Clients:" actually brings up a new pane with three tabs: Logs, Wireless Clients, and DHCP Clients. You can also get to the same pane by going to the Advanced pane and clicking on the Logs and Statistics button.
I hope this is helpful information. Took me a while to find out how to do this. -
How to use the cartridge HP122 in the printer CH340B?
How to use the cartridge HP122 in the printer CH340B - HP DJ 1000? cartridgeHP301 in our country is not found!
UKRAINE.You will need to Contact HP to request a "Regionalization Reset". There should not be any charge for this, it is covered as part of the cartridge warranty. You will need to have access to your computer and printer while on the line with HP. You will also need to have a set of cartridges for the new region, once the reset is complete cartridges from the original region will no longer work. HP's web page on the subject is here.
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
How to use the static lib of berkeleydb in VC6?
I know there is a libdb45s.lib. But when I try to link my project to it, VC6 reports many errors. Even the getting start examples cannot link correctly. The documents coming with berkeley db do not tell me how to link project to the lib, no matter static or dynamic.
Could anyone tell me how to use the static lib libdb45s.lib and how to link it properly?
OS: Windows XP pro SP2
IDE: Virsual C++ 6.0 sp6
BDB: 4.5.20
Here is what I have done to link the libdb45s.lib:
1.Add BDB related diretorys to VC6 link/lib dirs
2.Add #include <db.c> to my .cpp file, I use the C API
3.Change Project Options
Link-> Libs/Objects-> add "libdb45s.lib"
C/C++-> code generation-> Use Run Time Library-> MutiThreaded
Link-> Ignore Library-> MSVCRT
4.Build, here is the output, hope it would be some help:
--------------------Configuration: wordseg - Win32
Release--------------------
Linking...
LINK : warning LNK4049: locally defined symbol
"_fflush" imported
LINK : warning LNK4049: locally defined symbol "__iob"
imported
LINK : warning LNK4049: locally defined symbol
"__errno" imported
LINK : warning LNK4049: locally defined symbol
"_malloc" imported
LINK : warning LNK4049: locally defined symbol
"_realloc" imported
LINK : warning LNK4049: locally defined symbol "_free"
imported
LINK : warning LNK4049: locally defined symbol
"_fclose" imported
LINK : warning LNK4049: locally defined symbol
"_fopen" imported
LINK : warning LNK4049: locally defined symbol
"__pctype" imported
LINK : warning LNK4049: locally defined symbol
"___mb_cur_max" imported
LINK : warning LNK4049: locally defined symbol
"__isctype" imported
LINK : warning LNK4049: locally defined symbol
"_strchr" imported
LINK : warning LNK4049: locally defined symbol
"_printf" imported
LINK : warning LNK4049: locally defined symbol
"_strncmp" imported
LINK : warning LNK4049: locally defined symbol
"_strncpy" imported
LINK : warning LNK4049: locally defined symbol "_atol"
imported
LINK : warning LNK4049: locally defined symbol
"_getenv" imported
LINK : warning LNK4049: locally defined symbol
"__open" imported
LINK : warning LNK4049: locally defined symbol
"__close" imported
LINK : warning LNK4049: locally defined symbol
"_strftime" imported
LINK : warning LNK4049: locally defined symbol
"_memmove" imported
LINK : warning LNK4049: locally defined symbol
"_strtoul" imported
LINK : warning LNK4049: locally defined symbol
"_fwrite" imported
LINK : warning LNK4049: locally defined symbol
"_fgetc" imported
LINK : warning LNK4049: locally defined symbol
"_strtol" imported
libdb45s.lib(db_err.obj) : error LNK2001: unresolved
external symbol __imp__strerror
libdb45s.lib(db_getlong.obj) : error LNK2001:
unresolved external symbol __imp__strerror
libdb45s.lib(qam_verify.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved
external symbol __imp___snprintf
libdb45s.lib(repmgr_util.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(env_region.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(log_put.obj) : error LNK2001: unresolved
external symbol __imp___snprintf
libdb45s.lib(qam_files.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(db.obj) : error LNK2001: unresolved
external symbol __imp___snprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved
external symbol __imp___snprintf
libdb45s.lib(db_pr.obj) : error LNK2001: unresolved
external symbol __imp___snprintf
libdb45s.lib(env_failchk.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(env_register.obj) : error LNK2001:
unresolved external symbol __imp___snprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved
external symbol __imp___vsnprintf
libdb45s.lib(log_debug.obj) : error LNK2001:
unresolved external symbol __imp___vsnprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved
external symbol __imp__vfprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved
external symbol __imp__fprintf
libdb45s.lib(db_pr.obj) : error LNK2001: unresolved
external symbol __imp__fprintf
libdb45s.lib(db_getlong.obj) : error LNK2001:
unresolved external symbol __imp__fprintf
libdb45s.lib(os_errno.obj) : error LNK2001: unresolved
external symbol __imp__WSASetLastError@4
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__WSAGetLastError@0
libdb45s.lib(os_errno.obj) : error LNK2001: unresolved
external symbol __imp__WSAGetLastError@0
libdb45s.lib(repmgr_method.obj) : error LNK2001:
unresolved external symbol __imp__WSAGetLastError@0
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSAGetLastError@0
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__WSAGetLastError@0
libdb45s.lib(env_open.obj) : error LNK2001: unresolved
external symbol __imp__strncat
libdb45s.lib(mut_win32.obj) : error LNK2001:
unresolved external symbol __imp___getpid
libdb45s.lib(os_pid.obj) : error LNK2001: unresolved
external symbol __imp___getpid
libdb45s.lib(txn_chkpt.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(env_stat.obj) : error LNK2001: unresolved
external symbol __imp__time
libdb45s.lib(rep_record.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(rep_backup.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(env_recover.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(txn_region.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(log.obj) : error LNK2001: unresolved
external symbol __imp__time
libdb45s.lib(rep_region.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(db_stati.obj) : error LNK2001: unresolved
external symbol __imp__time
libdb45s.lib(rep_util.obj) : error LNK2001: unresolved
external symbol __imp__time
libdb45s.lib(env_region.obj) : error LNK2001:
unresolved external symbol __imp__time
libdb45s.lib(txn.obj) : error LNK2001: unresolved
external symbol __imp__time
libdb45s.lib(db_idspace.obj) : error LNK2001:
unresolved external symbol __imp__qsort
libdb45s.lib(log_archive.obj) : error LNK2001:
unresolved external symbol __imp__qsort
libdb45s.lib(db_join.obj) : error LNK2001: unresolved
external symbol __imp__qsort
libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved
external symbol __imp__qsort
libdb45s.lib(db_meta.obj) : error LNK2001: unresolved
external symbol __imp__qsort
libdb45s.lib(lock_list.obj) : error LNK2001:
unresolved external symbol __imp__qsort
libdb45s.lib(mp_sync.obj) : error LNK2001: unresolved
external symbol __imp__qsort
libdb45s.lib(txn_stat.obj) : error LNK2001: unresolved
external symbol __imp__qsort
libdb45s.lib(rep_record.obj) : error LNK2001:
unresolved external symbol __imp__qsort
libdb45s.lib(os_config.obj) : error LNK2001:
unresolved external symbol __imp__wcscmp
libdb45s.lib(env_config.obj) : error LNK2001:
unresolved external symbol __imp__fgets
libdb45s.lib(repmgr_method.obj) : error LNK2001:
unresolved external symbol __imp__gethostname@8
libdb45s.lib(os_open.obj) : error LNK2001: unresolved
external symbol __imp___snwprintf
libdb45s.lib(os_map.obj) : error LNK2001: unresolved
external symbol __imp___snwprintf
libdb45s.lib(os_unlink.obj) : error LNK2001:
unresolved external symbol __imp___snwprintf
libdb45s.lib(os_dir.obj) : error LNK2001: unresolved
external symbol __imp___snwprintf
libdb45s.lib(os_map.obj) : error LNK2001: unresolved
external symbol __imp__wcsrchr
libdb45s.lib(log_archive.obj) : error LNK2001:
unresolved external symbol __imp___getcwd
libdb45s.lib(lock_stat.obj) : error LNK2001:
unresolved external symbol __imp__localtime
libdb45s.lib(qam_files.obj) : error LNK2001:
unresolved external symbol __imp__strrchr
libdb45s.lib(ctime.obj) : error LNK2001: unresolved
external symbol __imp__ctime
libdb45s.lib(os_clock.obj) : error LNK2001: unresolved
external symbol __imp___ftime
libdb45s.lib(os_uid.obj) : error LNK2001: unresolved
external symbol __imp__rand
libdb45s.lib(os_uid.obj) : error LNK2001: unresolved
external symbol __imp__srand
libdb45s.lib(repmgr_msg.obj) : error LNK2001:
unresolved external symbol __imp__ntohs@4
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__ioctlsocket@12
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSACleanup@0
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__WSACleanup@0
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSAStartup@8
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSASend@28
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSARecv@28
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol
__imp__WSAEnumNetworkEvents@12
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol
__imp__WSAWaitForMultipleEvents@20
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSAEventSelect@12
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__WSAEventSelect@12
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__WSAEventSelect@12
libdb45s.lib(repmgr_windows.obj) : error LNK2001:
unresolved external symbol __imp__WSACreateEvent@0
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__WSACreateEvent@0
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__WSACloseEvent@4
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__WSACloseEvent@4
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__closesocket@4
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__closesocket@4
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__accept@12
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__connect@12
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__socket@12
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__socket@12
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__htonl@4
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__htonl@4
libdb45s.lib(getaddrinfo.obj) : error LNK2001:
unresolved external symbol __imp__htonl@4
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__ntohl@4
libdb45s.lib(repmgr_sel.obj) : error LNK2001:
unresolved external symbol __imp__send@16
libdb45s.lib(repmgr_util.obj) : error LNK2001:
unresolved external symbol __imp__htons@4
libdb45s.lib(getaddrinfo.obj) : error LNK2001:
unresolved external symbol __imp__htons@4
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__listen@8
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__bind@12
libdb45s.lib(repmgr_net.obj) : error LNK2001:
unresolved external symbol __imp__setsockopt@20
libdb45s.lib(getaddrinfo.obj) : error LNK2001:
unresolved external symbol __imp__gethostbyname@4
libdb45s.lib(getaddrinfo.obj) : error LNK2001:
unresolved external symbol __imp__inet_addr@4
Release/wordseg.exe : fatal error LNK1120: 47
unresolved externals
Error executing link.exe.
wordseg.exe - 100 error(s), 25 warning(s)After adding MsWSock.Lib, WSock32.Lib, build returns following errors:
(error count reduced from 100 to 71)
--------------------Configuration: wordsegzjp - Win32 Release--------------------
Compiling...
main.cpp
Linking...
LINK : warning LNK4049: locally defined symbol "_fflush" imported
LINK : warning LNK4049: locally defined symbol "__iob" imported
LINK : warning LNK4049: locally defined symbol "_malloc" imported
LINK : warning LNK4049: locally defined symbol "_realloc" imported
LINK : warning LNK4049: locally defined symbol "_free" imported
LINK : warning LNK4049: locally defined symbol "_fclose" imported
LINK : warning LNK4049: locally defined symbol "_fopen" imported
LINK : warning LNK4049: locally defined symbol "__pctype" imported
LINK : warning LNK4049: locally defined symbol "___mb_cur_max" imported
LINK : warning LNK4049: locally defined symbol "__isctype" imported
LINK : warning LNK4049: locally defined symbol "_strchr" imported
LINK : warning LNK4049: locally defined symbol "_printf" imported
LINK : warning LNK4049: locally defined symbol "_strncmp" imported
LINK : warning LNK4049: locally defined symbol "_strncpy" imported
LINK : warning LNK4049: locally defined symbol "_atol" imported
LINK : warning LNK4049: locally defined symbol "_getenv" imported
LINK : warning LNK4049: locally defined symbol "__open" imported
LINK : warning LNK4049: locally defined symbol "__close" imported
LINK : warning LNK4049: locally defined symbol "_strftime" imported
LINK : warning LNK4049: locally defined symbol "_memmove" imported
LINK : warning LNK4049: locally defined symbol "_strtoul" imported
LINK : warning LNK4049: locally defined symbol "_fwrite" imported
LINK : warning LNK4049: locally defined symbol "_fgetc" imported
LINK : warning LNK4049: locally defined symbol "_strtol" imported
libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp__strerror
libdb45s.lib(db_getlong.obj) : error LNK2001: unresolved external symbol __imp__strerror
libdb45s.lib(qam_verify.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(repmgr_util.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(repmgr_net.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(env_region.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(log_put.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(qam_files.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(db.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(db_pr.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(env_failchk.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(env_register.obj) : error LNK2001: unresolved external symbol __imp___snprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf
libdb45s.lib(log_debug.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp__vfprintf
libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp__fprintf
libdb45s.lib(db_pr.obj) : error LNK2001: unresolved external symbol __imp__fprintf
libdb45s.lib(db_getlong.obj) : error LNK2001: unresolved external symbol __imp__fprintf
libdb45s.lib(os_errno.obj) : error LNK2001: unresolved external symbol __imp___errno
libdb45s.lib(env_open.obj) : error LNK2001: unresolved external symbol __imp__strncat
libdb45s.lib(mut_win32.obj) : error LNK2001: unresolved external symbol __imp___getpid
libdb45s.lib(os_pid.obj) : error LNK2001: unresolved external symbol __imp___getpid
libdb45s.lib(txn_chkpt.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(env_stat.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(rep_record.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(rep_backup.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(env_recover.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(txn_region.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(log.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(rep_region.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(db_stati.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(rep_util.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(env_region.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(txn.obj) : error LNK2001: unresolved external symbol __imp__time
libdb45s.lib(db_idspace.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(log_archive.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(db_join.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(db_meta.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(lock_list.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(mp_sync.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(txn_stat.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(rep_record.obj) : error LNK2001: unresolved external symbol __imp__qsort
libdb45s.lib(os_config.obj) : error LNK2001: unresolved external symbol __imp__wcscmp
libdb45s.lib(env_config.obj) : error LNK2001: unresolved external symbol __imp__fgets
libdb45s.lib(os_open.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
libdb45s.lib(os_map.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
libdb45s.lib(os_unlink.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
libdb45s.lib(os_dir.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
libdb45s.lib(os_map.obj) : error LNK2001: unresolved external symbol __imp__wcsrchr
libdb45s.lib(log_archive.obj) : error LNK2001: unresolved external symbol __imp___getcwd
libdb45s.lib(lock_stat.obj) : error LNK2001: unresolved external symbol __imp__localtime
libdb45s.lib(qam_files.obj) : error LNK2001: unresolved external symbol __imp__strrchr
libdb45s.lib(ctime.obj) : error LNK2001: unresolved external symbol __imp__ctime
libdb45s.lib(os_clock.obj) : error LNK2001: unresolved external symbol __imp___ftime
libdb45s.lib(os_uid.obj) : error LNK2001: unresolved external symbol __imp__rand
libdb45s.lib(os_uid.obj) : error LNK2001: unresolved external symbol __imp__srand
libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSASend@28
libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSARecv@28
libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSAEnumNetworkEvents@12
libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSAWaitForMultipleEvents@20
libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
libdb45s.lib(repmgr_sel.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
libdb45s.lib(repmgr_net.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
libdb45s.lib(repmgr_sel.obj) : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
libdb45s.lib(repmgr_sel.obj) : error LNK2001: unresolved external symbol __imp__WSACloseEvent@4
libdb45s.lib(repmgr_net.obj) : error LNK2001: unresolved external symbol __imp__WSACloseEvent@4
Release/wordsegzjp.exe : fatal error LNK1120: 28 unresolved externals
Error executing link.exe.
wordsegzjp.exe - 71 error(s), 24 warning(s) -
How to use the "Flash Field"?
Hi Everyone,
I'm trying to figure out how to use the new "Flash Field" inside my form.
The form we are working on required the user to interact with the "Flash Field" (i.e., click on the bar on a bar-chart) and the "Flash Field" should return some value (defined in the Flash logic) should be returned to the host (the PDF form) as the FlashField.rawValue, for example.
BTW: The SWF object that is consumed by the "Flash Field" is built by the Flash Builder latest edition (4.5). So we do have a total control on the logic inside the SWF project.
The Q here is: What is the possibility to modify my code inside my Flash project so it can expose the SWF object computed value to the rawValue property of the Flash Field?
Appreciating your collaboration....
BR,
YasserHi,
Have a look at the Flash object Reference Card and the Flash object examples here: http://assure.ly/rqCuEn.
Hope that helps,
Niall -
How to use the function module ....
hi
how to use the function module ssf_function_module_name in smartformsHi..
If you are using this Function module, you can get the generated function module name of smartform dynamically. It is good progrmaming practice to get the fucntion module name dynamically because there might be some problems if you are hard coding in program.
This will return the name of the function module and then from the exporting parameters you can use the fucntion module name to pass parameters to Smartforms.
Check this link.I am expalining here how to use this function module.
https://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=36109&version=2
Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
<b>Reward points if useful</b>
Regards
Ashu -
How to use the function module /IRM/IPBB_AGREEMENT_CREATE.
Hi all,
Please help me how to use the function module /IRM/IPBB_AGREEMENT_CREATE.
It is a Vistex fuction module which is used to create Sales contract in SAP-Vistex. If anyone has use the function module and do have the sample code please share it.
Thanks.FORM create_agreement TABLES pt_agreement
CHANGING po_agreement .
CONSTANTS: c_strt_knumh TYPE knumh VALUE '0000000000'.
DATA: lc_kona TYPE /irm/s_gkona,
lc_cbasp TYPE /irm/s_ipcbasp,
lt_cbapr TYPE /irm/t_ipcbapr, "Partners
lc_cbapr TYPE /irm/s_ipcbapr,
lt_cbadt TYPE /irm/t_ipcbadt, "Dates
lc_cbadt TYPE /irm/s_ipcbadt,
lt_cbafs TYPE /irm/t_ipcbafs,
lc_cbafs TYPE /irm/s_ipcbafs,
lt_cbacn TYPE /irm/t_ipcbacn,
lc_cbacn TYPE /irm/s_ipcbacn,
lt_cbacl TYPE /irm/t_ipcbacl,
lc_cbacl TYPE /irm/s_ipcbacl,
lt_cbtpv TYPE /irm/t_ipagtpv,
lc_cbtpv TYPE /irm/s_ipagtpv,
lt_texts TYPE text_lh,
lc_texts TYPE itclh,
lt_cbasd TYPE /irm/t_ipcbasd,
lc_cbasd TYPE /irm/s_ipcbasd,
lc_agreement TYPE /irm/s_ipcbasp_doc,
lc_e_log_number TYPE balognr,
lt_messages TYPE /irm/t_gprolog.
DATA: lt_vake TYPE cond_vakevb_t,
lc_vake TYPE LINE OF cond_vakevb_t,
lt_konh TYPE /irm/t_gkonh,
lc_konh TYPE LINE OF /irm/t_gkonh,
lt_konp TYPE /irm/t_gkonp,
lc_konp TYPE LINE OF /irm/t_gkonp,
lt_konw TYPE /irm/t_gkonwu,
lc_konw TYPE LINE OF /irm/t_gkonwu,
lt_konm TYPE /irm/t_gkonmu,
lc_konm TYPE LINE OF /irm/t_gkonmu,
lt_komg TYPE /irm/t_gkomg_index,
lc_komg TYPE LINE OF /irm/t_gkomg_index,
lt_user_data TYPE /irm/t_gpraxfu_index,
lc_user_data TYPE LINE OF /irm/t_gpraxfu_index.
DATA: lc_updt(1) TYPE c.
DATA: lc_knumh TYPE knumh.
DATA: BEGIN OF lc_str_knumh,
hd(2) TYPE c VALUE '$$',
inc_num(8) TYPE c,
END OF lc_str_knumh.
DATA: blank_agree_key TYPE knuma VALUE '~~~~~~~~~~'.
FIELD-SYMBOLS <konh_line> LIKE LINE OF lt_konh.
FIELD-SYMBOLS <konp_line> LIKE LINE OF lt_konp.
DATA: lc_rule TYPE type_key_rule.
READ TABLE pt_agreement INTO lc_rule INDEX 1.
SELECT SINGLE * FROM kona
WHERE vkorg = lc_rule-vkorg
AND vtweg = '10'
AND spart = '10'
AND boart = 'ZPS1'
AND botext = lc_rule-sap_agkey.
IF sy-subrc = 0.
lc_updt = 'U'.
ELSE.
lc_updt = 'I'.
ENDIF.
LOOP AT pt_agreement INTO lc_rule.
MOVE sy-tabix TO lc_str_knumh-inc_num.
CONDENSE lc_str_knumh-inc_num NO-GAPS.
WHILE lc_str_knumh-inc_num+7(1) = ' '.
CONCATENATE '0' lc_str_knumh-inc_num INTO lc_str_knumh-inc_num.
CONDENSE lc_str_knumh-inc_num NO-GAPS.
ENDWHILE.
CONCATENATE '$$' lc_knumh INTO lc_knumh.
MOVE lc_str_knumh TO lc_knumh.
MOVE c_strt_knumh TO lc_knumh.
CLEAR: lc_konh, lc_konp, lc_komg.
MOVE: lc_rule-vkorg TO lc_komg-komg-vkorg,
'10' TO lc_komg-komg-vtweg,
'10' TO lc_komg-komg-spart,
p_waers TO lc_komg-komg-waerk,
'1300' TO lc_komg-komg-bukrs,
lc_rule-lifnr TO lc_komg-komg-lifnr,
lc_knumh TO lc_komg-knumh,
lc_knumh TO lc_konh-knumh,
lc_knumh TO lc_konp-knumh,
lc_rule-datab TO lc_konh-datab,
lc_rule-datbi TO lc_konh-datbi.
CASE lc_rule-tablnam.
WHEN 'A701'. "Every Agreement will have a A701 rule -
"Therefore we acn setup the header using A701
MOVE: 'New ' TO lc_kona-knuma,
lc_rule-vkorg TO lc_kona-vkorg,
'10' TO lc_kona-vtweg,
'10' TO lc_kona-spart,
'ZPS1' TO lc_kona-boart,
'C' TO lc_kona-abtyp,
'V' TO lc_kona-kappl,
p_waers TO lc_kona-waers,
lc_rule-knuma_ag TO lc_kona-abrex,
'ZPS2' TO lc_kona-kobog,
lc_rule-datab TO lc_kona-datab,
lc_rule-datbi TO lc_kona-datbi,
lc_rule-sap_agkey TO lc_kona-botext,
'1300' TO lc_kona-bukrs,
'I' TO lc_kona-updkz.
MOVE: 'New ' TO lc_cbasp-knuma_ag,
'ZPS1' TO lc_cbasp-boart_ag,
p_waers TO lc_cbasp-waers,
'A' TO lc_cbasp-setl_mth,
'B' TO lc_cbasp-setl_typ,
'A2' TO lc_cbasp-ident,
'E' TO lc_cbasp-setlm,
'ZPDA' TO lc_cbasp-pargr,
'X' TO lc_cbasp-npric,
'LF' TO lc_cbasp-stprl,
lc_rule-lifnr TO lc_cbasp-stpar,
lc_rule-contract_rev TO lc_cbasp-rvnum,
'I' TO lc_cbasp-updkz.
CONCATENATE: blank_agree_key
lc_rule-lifnr INTO lc_konh-vakey.
MOVE: lc_rule-lifnr TO lc_konp-lifnr.
WHEN 'A703'.
CONCATENATE: blank_agree_key
lc_rule-kunnr INTO lc_konh-vakey.
MOVE lc_rule-kunnr TO lc_komg-komg-kunnr.
WHEN 'A709'.
CONCATENATE: blank_agree_key
lc_rule-zzprodh1 lc_rule-zzprodh2 lc_rule-zzprodh3
lc_rule-zzprodh4 lc_rule-zzprodh5 INTO lc_konh-vakey.
CONCATENATE: lc_rule-zzprodh1 lc_rule-zzprodh2 lc_rule-zzprodh3
lc_rule-zzprodh4 lc_rule-zzprodh5 INTO lc_komg-komg-prodh.
WHEN 'A710'.
CONCATENATE: blank_agree_key
lc_rule-matkl INTO lc_konh-vakey.
MOVE lc_rule-matkl TO lc_komg-komg-matkl.
WHEN 'A711'.
CONCATENATE: blank_agree_key
lc_rule-matnr INTO lc_konh-vakey.
MOVE lc_rule-matnr TO lc_komg-komg-matnr.
IF lc_rule-kschl = 'ZPPL'.
MOVE: 'C' TO lc_konp-krech,
'CAD' TO lc_konp-konwa.
lc_konp-kbetr = lc_rule-net_po_price * 1.
ENDIF.
WHEN 'A717'.
WHEN 'A718'.
CONCATENATE: blank_agree_key
lc_rule-zzextwg INTO lc_konh-vakey.
MOVE lc_rule-zzextwg TO lc_komg-komg-zzextwg.
WHEN 'A719'.
CONCATENATE: blank_agree_key
lc_rule-werks INTO lc_konh-vakey.
MOVE lc_rule-werks TO lc_komg-komg-werks.
WHEN 'A721'.
CONCATENATE: blank_agree_key
lc_rule-kunnr lc_rule-werks INTO lc_konh-vakey.
MOVE: lc_rule-kunnr TO lc_konp-kunnr,
lc_rule-kunnr TO lc_komg-komg-kunnr.
WHEN 'A722'.
CONCATENATE: blank_agree_key
lc_rule-vkbur INTO lc_konh-vakey.
MOVE lc_rule-vkbur TO lc_komg-komg-vkbur.
WHEN 'A724'.
CONCATENATE: blank_agree_key
lc_rule-kunnr lc_rule-vkbur INTO lc_konh-vakey.
MOVE: lc_rule-kunnr TO lc_konp-kunnr,
lc_rule-kunnr TO lc_komg-komg-kunnr,
lc_rule-vkbur TO lc_komg-komg-vkbur.
ENDCASE.
MOVE: 'A' TO lc_konh-kvewe,
lc_rule-tablnam+1(3) TO lc_konh-kotabnr,
lc_rule-kappl TO lc_konh-kappl,
lc_rule-kschl TO lc_konh-kschl.
REPLACE ALL OCCURRENCES OF '~' IN lc_konh-vakey WITH ' '.
APPEND lc_konh TO lt_konh.
CLEAR lc_konh.
*--- Add in the KONP.Do we need to add
MOVE: lc_rule-kappl TO lc_konp-kappl,
lc_rule-kschl TO lc_konp-kschl,
'G' TO lc_konp-krech.
IF lc_rule-kschl+3(1) = '%'.
MOVE: 'A' TO lc_konp-krech,
'%' TO lc_konp-konwa.
lc_konp-kbetr = lc_rule-rebate_perc * 1.
ENDIF.
APPEND lc_konp TO lt_konp. CLEAR lc_konp.
APPEND lc_komg TO lt_komg. CLEAR lc_komg.
ENDLOOP.
IF lc_updt = 'I'.
CALL FUNCTION '/IRM/IPCB_AGREEMENT_CREATE'
EXPORTING
I_MESSAGES_DISPLAY = ' '
I_SAVE_MESSAGES = ' '
I_COMMIT_WORK = 'X'
I_CALL_FROM_WS = ' '
is_kona = lc_kona
is_cbasp = lc_cbasp
it_cbapr = lt_cbapr
it_cbadt = lt_cbadt
it_cbafs = lt_cbafs
it_cbacn = lt_cbacn
it_cbacl = lt_cbacl
it_cbtpv = lt_cbtpv
it_texts = lt_texts
it_cbasd = lt_cbasd
IMPORTING
es_agreement = lc_agreement
e_log_number = lc_e_log_number
TABLES
t_messages = lt_messages
CHANGING
CT_VAKE = lt_vake
ct_konh = lt_konh
ct_konp = lt_konp
CT_KONW = lt_konw
CT_KONM = lt_konm
ct_komg = lt_komg
CT_USER_DATA = lt_usr_data
EXCEPTIONS
no_documents_to_process = 1
no_authorization = 2
creation_failed = 3
new_pricing_not_maitained = 4
OTHERS = 5.
IF sy-subrc <> 0.
Implement suitable error handling here
ELSE.
MOVE: lc_agreement-knuma_ag TO po_agreement,
lc_agreement-knuma_ag TO lc_kona-knuma.
ENDIF.
APPEND LINES OF lt_messages TO gt_messages.
ELSE.
MOVE-CORRESPONDING kona TO lc_kona.
ENDIF.
LOOP AT lt_konh ASSIGNING <konh_line>.
MOVE lc_kona-knuma TO <konh_line>-vakey+0(10).
move '&' to <konh_line>-knumh+0(1).
ENDLOOP.
LOOP AT lt_konp ASSIGNING <konp_line>.
MOVE lc_kona-knuma TO <konp_line>-vakey+0(10).
move '&' to <konh_line>-knumh+0(1).
ENDLOOP.
lc_kona-updkz = 'U'.
lc_cbasp-updkz = 'U'.
CLEAR lt_messages.
CALL FUNCTION '/IRM/IPCB_AGREEMENT_CHANGE'
EXPORTING
I_MESSAGES_DISPLAY = ' '
I_SAVE_MESSAGES = ' '
I_COMMIT_WORK = 'X'
I_INIT_DATA = 'X'
is_kona = lc_kona
is_cbasp = lc_cbasp
it_cbapr = lt_cbapr
it_cbadt = lt_cbadt
it_cbafs = lt_cbafs
it_cbacl = lt_cbacl
it_cbacn = lt_cbacn
IT_FIELDS =
it_texts = lt_texts
IMPORTING
e_log_number = lc_e_log_number
TABLES
t_messages = lt_messages
CHANGING
cs_agreement = lc_agreement
CT_VAKE = lt_vake
ct_konh = lt_konh
ct_konp = lt_konp
CT_KONW = lt_konw
CT_KONM = lt_konm
ct_komg = lt_komg
CT_USER_DATA = lt_usr_data
EXCEPTIONS
no_documents_to_process = 1
no_authorization = 2
change_failed = 3
agreement_locked = 4
OTHERS = 5.
IF sy-subrc <> 0.
Implement suitable error handling here
ENDIF.
APPEND LINES OF lt_messages TO gt_messages.
ENDFORM. " CREATE_AGREEMENT -
How to use the multi-touch trackpad to adjust icon size?
After I upgrade my OS X 10.6 to 10.9.2, I lost.
Everyday I search the forum to look for the "feeling" of using Mac OS (migrate from windows to OS X10.6). The OS X 10.6 is just great.
Now the questions, how to use the multi-touch trackpad to adjust icon size with simple pinch open or close gesture?
Thank you.Welcome to Apple Support Communities. We're users here and don't speak for "Apple Inc."
Using the multi-touch trackpad to 'zoom' in or out is temporary.
The best way to permanently change icon size on the Desktop is to Command+click on an empty place on the Desktop screen and select Icon Size from the Desktop preference pane: -
I am not sure how to use the mesh tool
it can be tricky! it's best to use with geometric shapes and not random figures that you create with the pen or brush tools.
so lets say you wanted to make an apple using a real picture for reference. first off, you'd place the picture of the real apple in the background. next, you would choose the circle tool to create a circle around the apple. then, you would use the mesh tool and press the center anchor to create a simple grid looking form onto the circle. grab the selection tool to move around the anchor points surrounding the apple to make a more accurate outline. after this step, it's easier to add more anchor points for the actual apple! all you must do is grab the pen tool and add more anchor points along the path and use the selection tool to move the anchor points around the apple; eventually it'll look somewhat like a 3D graph of an apple. important tip to remember, the less lines the better. but a few are okay.
so after you've graphed/mapped out your apple you're going to want to press the selection tool and use your eyedropper tool to get an accurate color of the spot/anchor you selected. the basic point of the mesh tool is to outline a picture,@ and with the eyedropper tool you can use the exact colors from the original picture you're working from. i learned this technique from class. here's my example it can be a really useful tool if it's what you're looking for.
Maybe you are looking for
-
Problem with Russian translation
Yesterday I took in to rent a movie "we Millers"! However, no Russian track. Just a silent movie! This is not the first time Same problems i'd have with "Machetto killes" movie . What's the matter?
-
Hi, This is the error I am receiving when I attempt to make a database connection on SQL Developer. Can someone please assist me as to how to resolve this error. Thank you Regards Casper Seloane
-
Completely uninstall Adobe Application Manager
I mistakenly installed Adobe Application Manager last night because I thought it was needed to make it easier to update my existing Adobe Reader v10 and my other Adobe products (AIR, Flash, Photoshop Elements, and Premier Elements). How stupid of me
-
Post Author: pranathi20 CA Forum: Data Connectivity and SQL Hi All, Can someone help me with the below SQL query? I am not sure how to have the sub query in CR SELECT x.created_on, x.ssn, x.age , max(DECODE(x.rn,1,x.nlsi_answer)) BIO001 ,
-
BEx report is showing wrong total but individual cell's total gives correct figure
Hi, For a bex report at sales office level, there are about 110 sales offices giving sales figures. But for some 2 sales offices, it's not giving the correct figure(for Total Volume). When I bring the Bex report at sales office level and custo