‎2006 Nov 12 6:44 AM
1what is the difference between IDOC types and IDOC views?
2.What is Document Tool and what is use of it?
3.what is IDOC archiving?
4.what is the difference between watch point and break point.?
5.How to add extra functionality to a standard print program without
touching the print program?
6.what is Output Determination?
7.What is the program to get the difference between two dates.
8.Write down the program to display previous date from current date by default.
9. Develpoe a program how to set month first and last date by default
for the select-options.
10. There are two radio buttons on screen wherever select one that one will be in enable mode other will display in disable mode give the code for it.
‎2006 Nov 15 3:43 AM
For IDOC related info have a look at below link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
7. U can use FM SD_DATETIME_DIFFERENCE or check below code
data: fromdate type sy-datum value 15.11.2006,
todate type sy-datum value 20.11.2006,
numofdays type i.
DATA : d TYPE sy-datum.
d = fromdate - 1.
DO.
d = d + 1.
IF d > todate.
EXIT.
endif.
CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
EXPORTING
date = d
factory_calendar_id = '01'
message_type = 'I'
EXCEPTIONS
date_after_range = 1
date_before_range = 2
date_invalid = 3
date_no_workingday = 4
factory_calendar_not_found = 5
message_type_invalid = 6
OTHERS = 7.
IF sy-subrc = 0.
numofdays = numofdays + 1.
write 😕 d.
ENDIF.
ENDDO.
9. Use FM HR_JP_MONTH_BEGIN_END_DATE to get start date and en day of month.
Also use below FMs to get the last day of month:
SG_PS_GET_LAST_DAY_OF_MONTH
HRVE_LAST_DAY_OF_MONTH
SLS_MISC_GET_LAST_DAY_OF_MONTH
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Nov 13 7:10 AM
<b>1.IDOC View</b> - Contains a subset of all segments for one IDoc type.
When transmitting a logical message, not all segments in an IDoc type are required. Views can be used to ensure that only the segments required for a message are displayed, which in turn reduces the size of the dataset.
<b>IDOC type</b> - Supplied by SAP.
IDOC types can be modified by customers to create a new, upward-compatible IDoc type. They can also be defined by customers and modified later. IDOC types and subsequent modifications created by customers are not necessarily upward compatible.
3.IDOC archiving - i.e archiving the IDOC for future reference (for example Financial documents are archieved).RSEXARCA - IDOC archiving Program, RSEXARCB-Periodic implementation program in background. If u want to know about archiving more go to transaction SARA.
4.There are two type of break-point Static and Dynamic.Break point can be set for a statement, function modules,subroutines,methods,exceptions.
Watch point is a special type of break point which is set dynamically and local watch points are set for a statement , internal table, classes. we can use logical operator AND , OR between watch points.
5.If u want to change standard program means use user exists or BADI's.
6.Have u worked in transaction VK01. There u have to specific the transmision medium, partner function, date/time, processing program through this ur output will be determined.See VK01 transaction.
8.DATA : PREV TYPE D.
PREV = SY-DATUM - 1.
WRITE : PREV. "THE DATA FORMAT WILL BE mONTH/DATA/YEAR.
‎2006 Nov 13 12:49 PM
Hi Madav,
PARAMETERS:
p_create RADIOBUTTON GROUP 1 DEFAULT 'X',
p_change RADIOBUTTON GROUP 1. " Assign Change Number
‎2006 Nov 14 7:19 PM
Mention a watch point in debugging screen for e.g.
itab-ebeln = '123456789' and save. Execute the program. When the condition is met the program switches to debugging mode.
Put the radio button logic in CHAIN ENDCHAIN.
‎2006 Nov 16 12:06 PM
pls provide the code . i cannot understand how to write? i dont know anything about chain ..end chain
‎2006 Nov 15 3:43 AM
For IDOC related info have a look at below link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
7. U can use FM SD_DATETIME_DIFFERENCE or check below code
data: fromdate type sy-datum value 15.11.2006,
todate type sy-datum value 20.11.2006,
numofdays type i.
DATA : d TYPE sy-datum.
d = fromdate - 1.
DO.
d = d + 1.
IF d > todate.
EXIT.
endif.
CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
EXPORTING
date = d
factory_calendar_id = '01'
message_type = 'I'
EXCEPTIONS
date_after_range = 1
date_before_range = 2
date_invalid = 3
date_no_workingday = 4
factory_calendar_not_found = 5
message_type_invalid = 6
OTHERS = 7.
IF sy-subrc = 0.
numofdays = numofdays + 1.
write 😕 d.
ENDIF.
ENDDO.
9. Use FM HR_JP_MONTH_BEGIN_END_DATE to get start date and en day of month.
Also use below FMs to get the last day of month:
SG_PS_GET_LAST_DAY_OF_MONTH
HRVE_LAST_DAY_OF_MONTH
SLS_MISC_GET_LAST_DAY_OF_MONTH
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers