How Freight is handled in SAP
Hello Gurus,
Can anyone please explain to me how Freight is handled in SAP. I see in SAP best practice there is a freight clearing account, which is a balance sheet account on the current liabilities side, and is assigned to key ERF in VKOA.
I understand that freight in balance sheet account probably captures the revenue earned from freight when a business charges freight to its customers. But shouldnt this very same account also be posted too when we actually get the invoice from our freight vendor?
Ideally this account should be then cleared against the vendor invoices we get. If there is a positive balance left then it would be revenue but if it had a negative balance then thats and expense. In case of an expense balance, shouldnt this balance sheet account be actually an expense account.
Anyone with a clear understanding of the process, please let me know how it works
Thanks
Hi,
Please go through the following FI postings for frieght so that you can easily understand the process when the frieght is involved in business process.
Accounting Entry for Goods receipt
Stock/Inventory account Dr
GR/IR account Cr
Freight clearing account Cr
Accounting Entry on invoice verification of freight vendor
Freight clearing account Dr
Freight Vendor account Cr
When payment made to fieight vendor
Freight vendor account Dr
Bank Account Cr
Regards,
Satish Muvva.
Similar Messages
-
One customer paying for another customer ....how is this handled in SAP
Hi Gurus,
Would appreciate if anyone can explain to me how SAP handles one customer paying for another customer.
Scenario is Customer A owes us money but Customer B pays on his behalf.
Subsequently, Customer B also pays for customer c,d, e,f etc...how do I set the relationship between customer B and all these other customers so that the payment flows automatically in SAPThanks Srikanth
How do I test the scenario...I want to see the final debits and credits happening on the paying customer and not the invoiced customer. -
How does adv tax payments are handled in sap
how does adv tax payments are handled in sap
is there any method involved to handled it through appAndres,
Thanks for your feedback - my question was probably a little vague (at best).
The ASCII characters are hidden in the barcode - they do not form part of the numeric string when scanning into a normal char field.
If I open notepad and scan I do not see the special character. If I open word and scan, I still do not see the special character but the font size changes where I know the special character exists - obviously it is a command to word.
If I open CMD DOS prompt and scan there, I CAN see the special character.
This led me to this how can I format an SAP field to behave the same way?
I've subsequently found configuration settings in the scanning device itself which allows me to swap these hidden character (called Function Codes) with actual characters of my choice. For now this is how I will have to do it. The only issue with this approach is that I have to make sure all scanners are set up properly in each country which is a bit of a pain.
Regards,
Mark. -
How to Pull data from sap r/3 tables to oracle tables
how to fetch data from sap r/3 tables & data pulled to oracle table .
GIVE THE APPROPRITE ANSWER FOR THIS.
THANKS IN ADVANCE.
If it is useful for me , i am giving point.
regards ,
Navita
Edited by: NAVITA YADAV on Mar 7, 2008 2:07 PM
Edited by: NAVITA YADAV on Mar 7, 2008 2:08 PMYou need to perform some native SQL to fetch data. Before doing this connection must be exists b/w your R/3 and Oracle server.
Basis team will help you to have connection.
Check the connection name in the table DBCON.
Check the below code to handle native SQL.
SELECT SINGLE DBMS
FROM DBCON
INTO DBTYPE
WHERE CON_NAME = DBS.
IF DBTYPE = 'ORA'.
TRY.
EXEC SQL.
CONNECT TO :dbs
ENDEXEC.
ERROR Handling for Native SQL *************
IF SY-SUBRC <> 0.
MESSAGE `Docusphere connection failed.` TYPE 'I'.
EXIT.
ENDIF.
EXEC SQL PERFORMING loop_output.
OPEN C1 FOR
SELECT UK1, UK7, uk6, uk9, uk22, uk23, uk25 "field names of Oracle table
FROM IIS_DOCS_AP10D
WHERE ( UK2 = 'ZFIINVOICE' OR UK2 = 'ZFIPAYREQ' ) AND
UK19 = 'E' AND
UK20 IS NULL
ENDEXEC.
DO.
CLEAR W_OUTPUT.
EXEC SQL.
FETCH NEXT C1 into :wa1-arc_doc_id, :wa1-bukrs, :wa1-belnr, :wa1-gjahr, :wa1-wi_id, :wa1-ARCH_METHOD, :wa1-barcd.
ENDEXEC.
enddo.
Reward points if helpful................. -
Event handling in SAP R/3 CIC
Hi,
I am working on CIC modification ( SAP 4.6 -- its R/3 CIC not CRM) , where in the FM CIC_START_FRAMEWORK
I could see the framework and the different components Subscribing to events like :
ACTION_CONFIGURE
ACTION_EXECUTE
GLOBAL_CONFIG_MOD
OK_CODE
Could someone explain where exactly these EVENTS are maintained/configured and briefly on how this event handling is designed in CIC.
Regards,
Abhilash.THi Florian,
Thanks a lot for the response, few more points :
1. How the user action on the CIC screen are linked to the events ..(any configuration done for this??).
2. Will the Call back functions will be acting as the event handlers.?
3. If custom events are to be maintained in CIC , where it can be configured ,,ie should we call FMs
CIC_EVENT_SUBSCRIBE , CIC_EVENT_RAISE explicitly inside the program or can they be configured?
Thanks in advance,
Regards,
Abhilash.T -
Labor for purchase - How do we handle that?
Hi Forum,
When an item is Labor or Travel, it is available only for sales? How do you handle a Contract Wage that you buy for 75 dollars an hour but sell it for 150 dollars an hour?
Yes we can make the above item a non-inventory regular item (that is not a labor item). Is that right?
When do we use Labor Item as given in SAP B1 then? When actually selling services such as Professional services?
Thanks.I just read the help over again : it is fairly clear -
To define an item as non-inventory, deselect the Inventory Item checkbox. Items such as services, electricity or labor costs are typical non-inventory items. The additional costs resulting from such non-inventory items are included in the production order. Non-inventory items must use the standard evaluation method and have an expense account (unless it is an item group).
When you define an item as non-inventory, on the Item Master Data: Inventory Data Tab, you can define the valuation method as standard, and set an item cost for that item. Then, when you base the gross profit on the item cost, the base prices for non-inventory items are included in the calculation of gross profit.
You can change an inventory item to non-inventory, or the opposite, provided that:
No transactions have been posted for the item
There are no documents for the item, that is, sales quotation, sales order, purchase order, A/R or A/P down payment request, or draft
Item Type Select one of the following:
Items u2013 to define as an SAP Business One item.
Labor u2013 to use in the Service module to calculate the amount of time spent completing a task.
Travel u2013 to use in the Service module to calculate the amount of time the technician spends traveling.
Service type item on the fly is only for onte time occurance. So not suitable for recurring purchasing.
Service u2013 to create a purchasing document for a service, such as a one-time consultation, that has not been defined as an Item in SAP Business One. -
How can we handle table control in BDC?
Hi,
How can we handle table control in BDC?
regards
eswarhi,
check this example:
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
ex:
*& Report ZSR_BDC_TBCTRL
REPORT ZSR_BDC_TBCTRL
NO STANDARD PAGE HEADING LINE-SIZE 255.
TABLES : RF02K,LFA1,LFBK.
DATA : BEGIN OF IT_VEN OCCURS 0,
LIFNR LIKE RF02K-LIFNR,
KTOKK LIKE RF02K-KTOKK,
NAME1 LIKE LFA1-NAME1,
SORTL LIKE LFA1-SORTL,
LAND1 LIKE LFA1-LAND1,
SPRAS LIKE LFA1-SPRAS,
BANKS(6) TYPE C,
BANKL(17) TYPE C,
BANKN(19) TYPE C,
END OF IT_VEN.
DATA : BEGIN OF BANKS OCCURS 0,
BANKS LIKE LFBK-BANKS,
END OF BANKS,
BEGIN OF BANKL OCCURS 0,
BANKL LIKE LFBK-BANKL,
END OF BANKL,
BEGIN OF BANKN OCCURS 0,
BANKN LIKE LFBK-BANKN,
END OF BANKN.
DATA : FLD(20) TYPE C,
CNT(2) TYPE N.
DATA : BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
INCLUDE BDCRECX1.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'Z:\sr.TXT'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_VEN
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM OPEN_GROUP.
LOOP AT IT_VEN.
REFRESH BDCDATA.
REFRESH : BANKS,BANKL,BANKN..
SPLIT IT_VEN-BANKS AT ',' INTO TABLE BANKS.
SPLIT IT_VEN-BANKL AT ',' INTO TABLE BANKL.
SPLIT IT_VEN-BANKN AT ',' INTO TABLE BANKN.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'RF02K-LIFNR'
IT_VEN-LIFNR.
PERFORM BDC_FIELD USING 'RF02K-KTOKK'
IT_VEN-KTOKK.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0110'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFA1-SPRAS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'LFA1-NAME1'
IT_VEN-NAME1.
PERFORM BDC_FIELD USING 'LFA1-SORTL'
IT_VEN-SORTL.
PERFORM BDC_FIELD USING 'LFA1-LAND1'
IT_VEN-LAND1.
PERFORM BDC_FIELD USING 'LFA1-SPRAS'
IT_VEN-SPRAS.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0120'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
*perform bdc_field using 'LFBK-BANKS(01)'
'DE'.
*perform bdc_field using 'LFBK-BANKS(02)'
'DE'.
*perform bdc_field using 'LFBK-BANKL(01)'
'10020030'.
*perform bdc_field using 'LFBK-BANKL(02)'
'67270003'.
*perform bdc_field using 'LFBK-BANKN(01)'
'12345'.
*perform bdc_field using 'LFBK-BANKN(02)'
'66666'.
MOVE 1 TO CNT.
LOOP AT BANKS.
CONCATENATE 'LFBK-BANKS(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKS-BANKS.
CNT = CNT + 1.
ENDLOOP.
MOVE 1 TO CNT.
LOOP AT BANKL.
CONCATENATE 'LFBK-BANKL(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKL-BANKL.
CNT = CNT + 1.
ENDLOOP.
MOVE 1 TO CNT.
LOOP AT BANKN.
CONCATENATE 'LFBK-BANKN(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKN-BANKN.
CNT = CNT + 1.
ENDLOOP.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_DYNPRO USING 'SAPLSPO1' '0300'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=YES'.
PERFORM BDC_TRANSACTION USING 'XK01'.
ENDLOOP.
PERFORM CLOSE_GROUP. -
Hi All, How we can handle a table control in bdc - in detail its urgent pls
Hi All, How we can handle a table control in bdc - in detail its urgent. Please send me the explanation in detail.
Thanks®ards.
Bharathi,
Create Table Control
Step 1 (Create new structure for table control)
Type is name of structure (ZTC_EKKO) and press create
Step 2 (Create Program)
Goto transaction SE80(Object Navigator) -> Repository Browser -> Program.
Enter your program name, please ensure that is begins with SAPMZ as this is a module pool (dialog program).
Press enter to create, and press yes!
Ensure that you create a top include, and press Enter.
Accept the name created for the top include.
Press Enter.
Press Save
Step 3 (Create TOP include)
Double click on the top include and enter following ABAP code:
Tables: ZTC_EKKO.
controls: tc100 type tableview using screen 100.
data: ok_code type sy-ucomm.
data: it_ekko type standard
table of ZTC_EKKO initial size 0,
wa_ekko type ZTC_EKKO.
data: ok_code type sy-ucomm.
Press Save and Activate
Step 4 (Create screen)
Right click the program to create a screen 100 for the dialog. Enter Short description, set screen type to Normal and enter 0 or blank into Next screen. Then move to Element List tab and enter the OK code as OK_CODE (i.e. the same as what you declared in the top include with data: ok_code type sy-ucomm).
Step 5 (Create table control)
Press the Layout button to bring up the screen painter editor.
Press table control button and drag it on to the screen, enter the name of table control created in TOP include (TC100). Now press the yellow button for attributes and set the table control as below options
Step 6 (Populate table control )
Press the orange button (Fields). On the next screen enter ZTC_EKKO and press the Get from Dict button. Select the fields you want (all) and press enter. Now drag them onto your Table Control.
Below is the result, there will been syntax errors if we check now! So Save and go back into the flow logic tab.
Step 7 (Create flow control )
Within the flow logic of screen 100 and create two modules, one to select the data from the database and the other to move the selected fields into the table control. Also insert the two loop statements to populate and retrieve the lines of the table control.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
module data_retrieval.
loop at it_ekko into wa_ekko with control TC100.
module populate_screen.
endloop.
PROCESS AFTER INPUT.
loop at it_ekko.
endloop.
MODULE USER_COMMAND_0100.
Double click the module data_retrieval to create and click yes to get past the popup. Ensure that a new include is created to hold all the PBO modules (default). Press enter.
Select 10 rows of data from the EKKO table and load into the internal table it_ekko. Go back to the flow logic to load this data into the Table Control.
check this one
REPORT ZCALL_TRANS_TAB1 .
TABLES: LFA1,LFBK,lfb1.
data: BEGIN OF it_vendor occurs 0,
LIFNR LIKE LFA1-LIFNR,
bukrs like lfb1-bukrs,
END OF it_vendor.
DATA: BEGIN OF IT_BANK occurs 0,
LIFNR LIKE LFA1-LIFNR,
BANKS LIKE LFBK-BANKS,
BANKL LIKE LFBK-BANKL,
BANKN LIKE LFBK-BANKN,
koinh like lfbk-koinh,
END OF IT_BANK.
data: it_bdcdata like bdcdata occurs 0 with header line.
data: it_messages like bdcmsgcoll occurs 0 with header line.
*selection screen.
selection-screen: begin of block b1 with frame.
parameters: p_file like rlgrap-filename default 'c:/vendor.txt'
obligatory.
parameters: p_file1 like rlgrap-filename default 'c:/xyz.txt'
obligatory.
selection-screen: end of block b1.
*at selection screen.
at selection-screen on value-request for p_file.
perform f4_help using p_file.
at selection-screen on value-request for p_file1.
perform f4_help1 using p_file1.
*start of selection
start-of-selection.
*******uploading file
perform upload_file using p_file P_FILE1.
******open session.
perform populate_data.
*& Form f4_help
form f4_help using p_p_file.
data: l_file type ibipparms-path.
call function 'F4_FILENAME'
importing
file_name = l_file.
p_file = l_file.
endform. " f4_help
*& Form POPULATE_DATA
form populate_data .
DATA: L_STRING TYPE STRing.
DATA: L_COUNTER(2) TYPE n.
loop at it_vendor.
perform bdc_dynpro using 'SAPMF02K' '0106'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-D0130'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-LIFNR'
it_vendor-lifnr.
perform bdc_field using 'RF02K-BUKRS'
it_vendor-bukrs.
perform bdc_field using 'RF02K-D0130'
'X'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-bankn(03)'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
*********bank details
CLEAR l_COUNTER.
LOOP AT IT_BANK WHERE LIFNR = IT_VENDOR-LIFNR.
l_COUNTER = l_COUNTER + 1.
clear l_string.
CONCATENATE 'lfbk-banks(' l_counter ')' into l_string.
perform bdc_field using l_string
it_bank-banks.
clear l_string.
CONCATENATE 'lfbk-bankl(' l_counter ')' into l_string.
perform bdc_field using l_string
it_bank-bankl.
clear l_string.
CONCATENATE 'lfbk-bankn(' l_counter ')' into l_string.
perform bdc_field using l_string
it_bank-bankn.
endloop.
******CALL TRANSACTION.
call transaction 'FK02' using it_bdcdata mode 'A'
messages into it_messages.
write:/ sy-subrc.
perform format_messages.
clear it_bdcdata.
refresh it_bdcdata.
endloop.
endform. " POPULATE_DATA
*& Form FORMAT_MESSAGES
form format_messages .
data: l_msg(100).
loop at it_messages.
call function 'FORMAT_MESSAGE'
exporting
id = it_messages-msgid
lang = sy-langu
no = it_messages-msgnr
v1 = it_messages-msgv1
v2 = it_messages-msgv2
v3 = it_messages-msgv3
v4 = it_messages-msgv4
importing
msg = l_msg
exceptions
not_found = 1
others = 2
write:/ l_msg.
endloop.
endform. " FORMAT_MESSAGES
*& Form bdc_dynpro
form bdc_dynpro using value(p_program)
value(p_screen).
it_bdcdata-program = p_program.
it_bdcdata-dynpro = p_screen.
it_bdcdata-dynbegin = 'X'.
append it_bdcdata.
clear it_bdcdata.
endform. " bdc_dynpro
*& Form bdc_field
form bdc_field using value(p_fnam)
value(p_fval).
it_bdcdata-fnam = p_fnam.
it_bdcdata-fval = p_fval.
append it_bdcdata.
clear it_bdcdata.
endform. " bdc_field
*& Form upload_file
form upload_file using p_p_file
p_p_file1.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = P_P_FILE
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = IT_VENDOR
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE I000(ZZ) WITH 'UNABLE TO UPLOAD'.
STOP.
ENDIF.
*******UPLOADING BANK DETAILS
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = P_P_FILE1
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = IT_BANK
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE I000(ZZ) WITH 'UNABLE TO UPLOAD'.
STOP.
ENDIF.
endform. " upload_file
*& Form f4_help1
-->P_P_FILE1 text
form f4_help1 using p_p_file1.
data:l_file1 type ibipparms-path.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
FILE_NAME = l_file1.
p_file1 = l_file1.
endform. " f4_help1
http://sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Regards,
Sankar -
When MAIL adapter failed to send the mail to recever, how does it handle XI
Hi Experts,
I used dynamic mail adapter, how do we track whether the mail has been successfully received by receiver, if it is failed to send the mail by mail adapter how do we handle in XI. Please help me out.
thanks
sivaSiva:
There is one option in Mail Adapter (Receiver) "Send Delivery Status Notification". I think, it will help you to get the status. When you fill the above option, you are required to fill a recipient email id to whom, the status of the email will be emailed. From there, you can get the status. Please dig little more into this.
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm -
Re : How to Error Handling In Idoc /ALE.
Hi This is Arief ,
I tranfer the Data Through ALE from One Client To Other Client some of Data not Posted ......how check other client wither Data Posted or not ....
How to error Handling In IDocs.....pls Help me.......
Kind Regards
Arief .SHi
The exception handling for idocs
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm
Exception handling in File to IDoc Scenario
For RFCs
Re: Passing SAP Exceptions to a sync SOAP Call
Error Handling when using RFC
Exception Handling while Calling RFC - BPM
handle exceptions in remote function modules -
Can any one tell me How can I handle internal error in smartforn
Hi,
How can I handle internal error in smartforn, what type of problem can be.
Regards
chandraLook at [SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
Runtime Errors
Each Smart Form can trigger a number of exceptions during its execution. To limit this number of exceptions, you can bundle the occurring errors in error classes and store them in an error log in the composer. For each error, you store an internal error number and (if possible) a message from table T100 (work area, message number, message text and parameters) in addition to the error class. To each error class, you assign an exception, which means that if the recognized error teminates the form processing, the system triggers exactly this exception. When an exception occurs, the caller of the Smart Form can use predefined function modules to read the error log and then decide which reaction is appropriate in the respective error context.
Possible exceptions for the generated function module are:
- FORMATTING_ERROR
- INTERNAL_ ERROR
- SEND_ERROR
- USER_CANCELED
In addition, you can define your own exceptions.
If an error (or a warning) occurs, the system internally fills an error table. The application can now read this table as soon as the function module for the form is processed to the end. To read the table that contains all errors and warnings that occurred, call function module SSF_READ_ERRORS. The table has structure SSFERROR. The fields in the table are the number of the document within the job, the form name, an error number, a message class, a message type, a message number and four additional message variables. If processing is terminated, the application can dynamically display a message. The error numbers are defined in the include SSF_ERROR.
If you want to trigger your own exception in the free coding of the Smart Form, you can use one of the following methods:
- Use the macro user_exception <exception>, which triggers the exception <exception> and fills the above tables. After the termination additional system variables for the error (symsgno, sy-msgtyp, and so on) do not contain the values required for your own exception.
- If you want to access the system variables sy-msgno, sy-msgtyp, and so on for your exception directly, proceed as follows: Call function module SSF_MESSAGE and trigger your exception yourself using the RAISE statement.
The system field &SFSY-EXCEPTION& contains the name of the triggered exception.
Then debug your program.
Regards -
How Benefits is maintained where SAP HR Benefits not implemented?
Hello folks,
Just wondering how Benefits / Benefits config is maintained where SAP HR Benefits is not implemented. How this works out in SAP and out side SAP i.e. outsourcing etc.. Please explain.
Thanks a ton..
JEss..If your client has decided to outsource Benefits admin to a third party, you will most probably have to :
1. Send employee status files with the data stored in PA. Ex Active, Termed, DOB, Dependents etc..... The spec for this will be provided by the 3rd party.
2. Open Enrollment will be handled via online or mail.
3. All queries regarding benefits will be handled by the 3rd party unless it is a master data issue.
Depending on the size of the org, you may want to promote using SAP for benefits as it had many advantages.
thanks,
Tariq Khan -
What is a stage databse? where it exists and how it is handled?
Hi,
I am looking for the details about the stage database.
My concerns are:
1. Details about the stage database.
2. What is its significance?
3. Where exactly it exists?
4. How to interact/handle that? Fetching of the data from it.
Regards
AmitHi Amit ,
Activities
To copy the database, you have to define the name of the new database home directory (of the database copy) in the init<DBSID>.sap profile parameter new_db_home (for local disks) or stage_db_home (for remote disks). Also set the parameter backup_dev_type to disk_copy|disk_standby|stage_copy|stage_standby or call up BRBACKUP with the relevant command option, for example, brbackup -d|-device disk_copy.
Kindly go through this link.
http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/3484646c4b1a52e10000000a1553f7/content.htm
cheers
Mohinder -
How is IPC handled in CRM5.0
Hi experts,
Can any one plz let me know how is IPC handled in CRM 5.0??????
I mean is there any difference how we handled IPC between CRM 4.0 and CRM 5.0??? or is the same way as we handle in CRM 4.0?????
Can any one please let me know in detail????
your inputs will be highly rewarded.
Thanks in advance,
Regards,
DV.DV,
Take a look at the following link in service marketplace:
http://service.sap.com/~form/sapnet?_SCENARIO=01100035870000000202&_SHORTKEY=01100035870000429833
You will find the release notes for SAP CRM located there. That will will give a detailed overview of what has been changed in SAP CRM for each release. All you need is an SAP service marketplace id, which should be no problem if you are a SAP customer or partner, or working at an SAP customer site.
That would be my best source. You could also purchase(if you don't already own), the RKT materials for CRM 5.0 from SAP education. An excellent reference for delta changes between CRM 4.0 and CRM 5.0.
Take care,
Stephen -
What is Investment allowance on asset. and How can we map into SAP?
Hi all,
I want know what is investment allowance on asset and how can we map into sap?
Thank you in advance.
Regards,
Chandu.hello chandu ,
In order to encourage substantial investment in plant or machinery clause 5 of the Finance Bill, 2013 seeks to insert new section 32AC in the Income-tax Act, 1961 to provide for deduction for
investment in new plant or machinery by a company. It is allowed over and above the depreciation rates. This is for tax calculation purpose for availing this benefit so many conditions to be fullfilled. In sap this can be handled through development only. n.selvakumar.
Maybe you are looking for
-
Metadata issue in PPro - UserClipName populates in Metadata and won't go away
I have P2 footage that is behaving oddly in PP - PPro CS6. I am on a PC, using Windows 7 Professional. Footage was shot and archived onto our PC last summer - as is our typical process - and a PP project was started. It was left dormant till now - 6
-
Using iPhoto 09, 8.1.2 How do I re-route saving pictures to the hard drive? Currently am saving to files on 'my' partition, and would like to change to save to a shared file so both partitions can view and access.
-
How to authorise computer to read ibook bought on iPad?
i have bought a few ibooks on my ipad and would like to read them on my macbook pro also. how do i authorise the macbook to read the ibooks bought on ipad?? thank you
-
How can i set the location of my pictures in photos app for mac osx?
Not every photo I import into my MacBook have all the metadata in them. iPhoto allowed for setting the location, but in Photos I cannot manage to do so. Is there another way to do it or perhaps it's coming with an update? Thanks MacBook Mid-2010 OSX
-
I cannot import music I bought from another site into iTunes. The files are there but they won't import into Itunes. How can I fix this? Thanks