Fuction module
Hi all,
Is there any fuction module to convert date of format YYYYMMDD to DDMMYYYY
or DD-MM-YYYY.
Thanks in advance.
<b>CONVERT_DATE_TO_EXTERNAL</b> Converts date from system storage format to users specified display format
Data: v_date(10) TYPE c.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = SY-DATUM
IMPORTING
DATE_EXTERNAL = v_date
* EXCEPTIONS
* DATE_INTERNAL_IS_INVALID = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Output:
02/14/2006
Refer this link
http://www.sap-img.com/abap/abap-program-output-of-date-format.htm
Message was edited by:
Judith Jessie Selvi
Similar Messages
-
How to call rfc fuction module designed in sap from netweaver
Hi all.
Can any one pls let me know how to call the trfc,arfc function modules designed in sap from netweaver system.
Is the method of calling trfc , arfc fuction modules from non sap system same?
If not let me know how to call trffc & arfc function modules from non sap systems.Thanks in advance.
Kind Regards,
sami.Hi
Use
in background task
and
destination
additions when you call tRFC function modules from
SAP system to SAP system. -
Journal voucher select fuction module
Dear gurus,
pls. tell me journal voucher fuction module or any idea.
thank's & regards,
Shiv Pujan SharmaHello,
This functionality is not supported in FICA....
Ofcourse when items are posted to clarification, there shall be 2 GL entries
DR Bank Clearing Account
CR Clarification Account
Ofcourse this may not meet your requirement
Rgds
Rajendra -
Where can I get a list of SAP released "remote enabled" fuction modules?
Dear All,
We are developing some java program remotly do automatically configration check, secuirty check, reporting ... for SAP NW 7.0 based system without creating any program/functions inside ABAP.
I know that, not all the checks can be done by java code (some has to be done manually) but do you have any suggestion to help me get a list of SAP released "remote enabled" fuction modules together with some explainations?
Thanks,
DerekHi Derek.
I would like to suggest a few,
Go to Transaction BAPI.
There you will find BAPIs related to all Modules.
All BAPIs are RFC enabled
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Fuction module input parameters
Hi gurus
can any one please help me out with the input parameters for the following BI function module
/OSP/BW_REPORT_SCHEDULE
Thanks in advanceHi Viki, what do you want to achieve? Best Michael
-
Change of Data type in Fuction Module
Hi,
I have a Function Module XYZ and it contains field Custline of datatype char30.
Now I want to change it to Char65 i.e Character type with 65 length. I get a Error message stating that Type Char65 does not exist whereas when i check in se11. I can see that data type.
Thanks in AdvHI all I found out that there is an include program in which all the Data type for that Function module is present, However it states that
THIS FILE IS GENERATED BY THE FUNCTION LIBRARY**
NEVER CHANGE IT MANUALLY, PLEASE!**
DATA ORG_XY TYPE CHAR30.
Then how to go about Changing it, Its a Remote Function Call. -
BAPI or Fuction Module name for Recipe Management (tcode RMWB).
Hi All,
Please can anyone let me know a bapi or a function module name to map the transaction RMWB (Recipe Management Workbench).
Thanking you in advance for your reply.
Regards,
Chirag Mehta.Hi Pavan,
Thanks first for Replying.
Sorry that i did not specify the details of the requirement before.
My requirement is that i have to either change an existing formula or create a new formula for the recipe.
Can you please advice me on any FM or Bapi for this requirement?
Regards,
Chirag Mehta. -
Hi Gurus
I need to know the one function module description named as "RSPC_VARIANT_DELATE"
and another doubt is where i can found any function module decryption.
Thanks for reply...Hi,
In BW goto SE37 Tcode and give Function Module = RSPC_VARIANT_DELETE and click on Display Button. It will disply the details of FM.
Click on Attribute Tab and see the description = Delete variant and in the same way click on each tab and see the details of teh FM.
Thanks
Reddy -
FUCTION MODULE COPIED GETTING ERROR
I HAVE COPIED - L_TO_CREATE_DN--
THIS FUNCTION MODULE
I M GETTING ERROR IN SAYING THAT THESE FILEDS ARE NOT DECLARED
FLG_KEINE_DYNPROS = CON_TRUE.
FLG_TA_ZUR_UB_LF = CON_X.
CAN U PLZ HELP ITS URGENThi
<b>go to se37
copy source code of FM there
in import parameters copy import parameters
in export parameters copy export parameters
in changing copy changing parameters
in exceptions copy exceptions
acativate the FM</b>
or
Upload ur Fm as
<b>go to utilities-> more utilities->upload /download->upload.</b>
activate ur FM.
it will work for u
regards
ravish
<b>plz dont forget to reward points if helpful</b> -
Regarding calling the fuctional module Using 'in update task'
Hi ,
I want to call a Functional module Z-PS_VK11_FRC using the statement IN UPDATE TASK .
What is procedure to work with . can anybodt tell me how to proceed or give me some sample program .
Regards,
Shilpa TalluriFunction modules that run in update task can not return any values because your program has no longer control over the function module (the update task has).
UPDATE TASK fm mostly used to update database tables.
You don't any special coding other than calling fm UPDATE TASK
And in the attributes of function module you need to tick the Update mode and "Coll Run" so that it can be used to run individually in the V2 update process can be grouped together and run collectively.
a® -
RFC-enabled fuction module with the table parameter as Web Service
Hello,
i try to consume a webservice in my Web Dynpro Application from WAS 6.20. The service consist in a RFC-function module. This function module has more table-parameters. When i execute the service the service terminate correctly but no data is passed to my Web Dynpro Application. When i test the rfc-function module locally i get the correct results in the tables.
Any suggestions?
Thanks for your help!
Regards Thomas.Hello Thomas,
have you tried to analyze the HTTP Traffic from the Web Dynpro Application Sever to the Backend? I suggest Ethereal for doing this.
Regards
Gregor -
Generic Datasource with Fuction Module with delta on Created Date
Hi Experts,
I have created a generic datasource using Function Module RSAX_BIW_GET_DATA. I have copied this function module and created a my own Function Module. I want to load delta using this. But I don't know how to handle delta in the code.
my code is working for full load but not for delta. I have seen that in ROOSOURCE tabel the Delta field is showing the AIE instead of D and extraction method is showing as F2. I have searched a lot of forums and articles but didn't get how to handle this.
Please advice.Hi Amit,
Go through the link as suggested by AKhan which lets you understand the concept of offsets and the last extraction status.
In case of Table or View based GDS, the system takes care of the deltas based on the selections you make in the "Generic Delta" screen whereas in case of FM based DS, it is your responsibility to handle this part. Within your code, capture if the load is a Delta load (I_UPDMODE = D). Since your delta is on Created Date, maintain a Z table with name of the DS as the Key and a field representing the current value of the Delta field(created date in this case). When you first load the delta, there will be no record for your DS in this table. Create an entry with the current day. Next time when you load a delta, take this value, compare it with sy-datum and get all the records falling within these days. This has to be done in the Select stmt. Once selection happens, replace the value in the Z table with sy-datum. This way you can simulate the delta. The Z table can be used for other FM based Datasources also as it has DS as the key.
It would be easy if the exact SAP table where RSA7 delta field status is stored is known. Otherwise, the above method can be used.
Revert for any further queries. -
Output type determination program or fuction module.
HI Gurus,
I'm looking for the standard program or function mudule that the SAP ERP are using for the determination of invoice output type.
I want to debug why is not accepting some fields.
Know anyone wich one is it?
Thank you in advance.
AbelDear Abel,
o Program: RSNASTED
o Form routine: EDI_PROCESSING
o Procedure: V10000
For Complete Information, refer:
[Invoice Message Control Configuration|http://www.erpgenie.com/sap/sapedi/messagecontrol.htm]
I hope, this would be really helpful, to you.
Best Regards,
Amit -
How to initiate a RFC fuction module from ABAP and push data to Java prgm
I want to push the data from ABAP program to a java program, the RFC connection has to be initiated from ABAP. How can i do this.
Kindly help me with a example program if possible.
Thanks in advance.
Sounder.Hi,
If you are using JCo connector for the interface, then please look into this link
http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
aRs -
Fuction Module 'SET_PRINT_PARAMETERS' - Import Parameter 'layout'
Where I can see the layout 'X_65_132' ?
CALL FUNCTION 'SET_PRINT_PARAMETERS'
EXPORTING
layout = 'X_65_132'.
Please let me know.
Edited by: Jaime White 999 on Aug 22, 2011 4:16 AMHi,
that's in SPAD transaction. For more info, see [SAP Library: Creating List Formats|http://help.sap.com/saphelp_nw70/helpdata/en/99/71b036f9fa11d18e3e0000e83dd9fc/frameset.htm ]
Sandra
Maybe you are looking for
-
Safari Browser Crashes - How to Reset the IPAD-2?
I have the latest IOS 8.x installed on my IPAD-2 but haven't been able to get the Safari Browser to work for several months. When I click Safari it opens for a few seconds then shuts down...I'm not able to input any web sites. I tried settings->saf
-
Using StreamConnection with MMAPI emulator
Hi, I am using StreamConnection class to establish a socket connection with my server. If I run the application on PalmOS PDA it works fine. But when I run it in the mobile media emulator it does not connect to the server. Does anyone know why? These
-
Would this hard drive be compatible with a Compaq Presario CQ50-115NR?
I'm wondering if this hard drive would fit in and be compatible with my laptop: http://www.wdc.com/en/products/products.asp?driveid=684 I'm not sure if this 12mm, 2.5 inch drive would fit in it or be compatible with it. I plan to purchase this one if
-
Hi, I have three SelectBooleanRadio buttons of the same group. I am not able to find out, which method will be invoked when any of the radio buttons are clicked. I have written code in Value change listener of the first radio button. But code written
-
I am recording with my USB mic it's a Blue Microphone Spark and at first it was recording fine now... It isn't so much I turned down the mic volume to 2 and even 1 and it still is recording hot and sounds distorted at points. How do I fix this proble