Hi,
Try to change the default Date n Time formats as required in transaction SU3 and check the values in SE16.. Hope this helps..
-SS-
Hi,
Try to change the default Date n Time formats as required in transaction SU3 and check the values in SE16.. Hope this helps..
-SS-
Hi Guys
have you ever been faced the below issue ???:
when VF01 giving mass print of invoice to front printer some document got missed !!!(not printed required re print the documented))
My frontend printer access method is G...
please provide me the solution... if anyone know...
Thanks
engli
hi everyone,
I have requirement, where i have to add new records into ztable based on 2 condition.
for the 1st condition i am using itab1 and getting value into it.
for the 2nd condition i am using itab2 and getting value into it.
My wa1 and wa2 contains same fields.
But the values in ITAB1 will be different from ITAB2.
Currently i am inserting ztable seperately each time for this ITAB1 and ITAB2.
Now i wanted to know whether it's possible to combine this itab1 and itab2 into a final itab (ITAB_FINAL), If so explain me, With Ex.
With Regards,
Kishan Raj.K
Hi gurus
how to debug the standard t.code me51n(PR) to find out which badi is triggering for my requirement and how to change the code in the badi.
Thanks in advance.
Hi Enoch,
Navigate to SE24 and give the class name CL_EXIT_HANDLER and then put break-point there and then run transaction ME51n, or go to SE80 and then select enhancements and there provide the package name and then execute.
Regards,
Dinesh
Hi Kishan,
The best is to combine both the tables into one common table and then insert the record into final Ztable.
SORT ITAB1 and ITAB2 by primary keys.
Loop at ITAB1 into WA1.
Read Table ITAB2 into WA2 with key WA1-fieldname (common in both the tables).
IF sy-subrc eq 0.
WA3-fieldnames = WA1/WA2- fieldnames.
Append WA3 to ITAB3.
endif.
Clear: WA1,WA2,WA3.
Endloop.
Regards,
Dinesh
hi dinesh,
But in my case 2 itab contains 2 different values.
there is no common field here in this 2 ITAB.
1st ITAB is to calculate Storage Cost.
2nd ITAB for procurement cost.
What should be done in this case.
With Regards,
Kishan Raj .K
Hello Enoch,
go to tcode SE24. put class CL_EXITHANDLER in input. press on display button. you can see a method named GET_INSTANCE under method tab. doble click on GET_INSTANCE method. you have to put a break point at :
CALL METHOD cl_exithandler=>get_class_name_by_interface.
in command field you have to put /nme51n. press ENTER. debugger screen will open. double click on
exit_name. exit_name = badi name.
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
you have to press F6 button for debugging...... you dont have mentioned your exact requirement in your question. For that reason i give an example. suppose you have to find out badi name when you press save button...i think you understand my example.. in time of debugging, after creating of purch. req , you press on save button for save purpose. when you press save button, at that time you find a badi name ....thats means this is the badi name which is triggered at pressing SAVE button after activating this badi...
actually which you find out this is the badi definition... go to SE18. put this badi name. press DISPLAY.
next you have to implement this badi....means badi implementation. for this, go to SE19 tcode...go to CREATE IMPLEMENTATION block. select radio button classic badi. put your badi definition name.
press on create implementation. give a implementaion name(starts with Z or Y). give short text. press on INTERFACE tab. one or many methods you can see. choose the correct method which fullfill your requirement.....
double click on your required method.. give packae name..and save the object.
just for example you see like this:
method IF_EX_BADI_MATERIAL_CHECK~CHECK_MASS_MARC_DATA.
break-point.
endmethod.
between method ... endmethod you have to put your logic which you want.....
save it and finally activate the implementation....
go to tcode me51n.. after creating purch req. press save button...then this badi(Activated) will be called....for test purpose, put a breakpoint between method and endmethod in badi.... you can understand...cheers...![]()
your problem will be solved... if any problem revert back..close your thread according to SCN rules....obey this rules..
Thanks
Sabyasachi
Hello, Dinesh Ailawadi
dinesh writes:
Dinesh Ailawadi wrote:
Hi Enoch,
Navigate to SE24 and give the class name CL_EXIT_HANDLER and then put break-point there.
i beleive that this class name is CL_EXITHANDLER. You wrote that put break point there..my question to you where??? i think your answer is not so clear for a learner........ when you post in SCN , be carefull about your answer and mistake......
likes this answer.....
Hello
did you notice this class name when you click on LIKE button....????????
Thanks
Sabyasachi
Hi Pavan,
I follow what is indicated in this link:
I implemented the badi BADI_FDCB_SUBBAS04 and also I implement the badi AC_DOCUMENT recommended but did not work.
Best Regards
Diego
Hi Susmitha,
I implement the badi BADI_FCDB_SUBBAS04 according this link:
Please can you tell me what code to put in the badi INVOICE_UPDATE.
Best regards ,
Diego
Hello Matteo,
In your scenario I would use a data cluster to IMPORT and EXPORT.
Create a key that is aligned with the user specifics.
The data cluster will be guaranteed over multiple sessions.
From ABAP Keyword Documentation->ABAP Reference->Processing External Data->Data Cluster->EXPORT->EXPORT - medium:
Example
An internal table itab with the name tab and the ID "TABLE" is exported to the area "SQ" of
the database table DEMO_INDX_TABLE,
filling the freely selectable components from the structure wa_indx.
TYPES:
BEGIN OF tab_type,
col1
TYPE i,
col2 TYPE i,
END OF tab_type.
DATA:
wa_indx
TYPE demo_indx_table,
wa_itab TYPE tab_type,
itab TYPE STANDARD
TABLE OF tab_type.
WHILE sy-index < 100.
wa_itab-col1 =
sy-index.
wa_itab-col2 = sy-index ** 2.
APPEND wa_itab TO itab.
ENDWHILE.
wa_indx-timestamp = sy-datum && sy-uzeit.
wa_indx-userid = sy-uname.
EXPORT tab = itab
TO DATABASE
demo_indx_table(SQ)
FROM wa_indx
ID 'TABLE'.
Regards,
Kim
Hi Edgar,
right, i will try that and let you know. yeah i am in CST zone.
regards,
NK
Hello Venkrat,
To find the events, go to SE11 to display/change the view.
Once in the view, follow menu path Utilities->Table Maintenance Generator.
In the next screen, follow menu path Environment->Modification->Events.
Any events that have been customized will be listed.
Also, you can look at the drop down list for the table column "Table maintenance dialog event" for all possible events.
Regards,
Kim
https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+-+Getting+PDF+file+from+spooling+list
So far, i have been using that only. Check the above wiki link
Regards,
NK
Hello Guys,
I am creating a ZTABLE with different fields. One of the fields will be creationdatetime (will have date amd timestamp).
What data type can I use for this field?
Thanks,
James
Hello all,
What are the community's thoughts on directly updating custom tables in the underlying RDBMS, outside of the SAP Application Layer? I understand that updating SAP Standard Tables outside of the provided FM's and programs is verboten, but how much flexibility are we given with Z-tables?
Our data is hosted in a DB/2 database, and I'd like to connect directly to the DB to populate a z-table that was created within SAP. The table doesn't have any dependencies on other SAP tables.
Thanks in advance for your input,
Jarrod
You will have to configure the supported output formats for the SMTP node, see the attached link for details.
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/49/e5e6a986420896e10000000a421937/frameset.htm
DATE
TIME