Functional module which get triggered after posting of the document F-22
Hi,
I am posting the documents using the transaction F-22. I need to update some table after the documet will get post.
I try to find out the BTE'S in the transaction FIBF but unable to find it out.
Can anyone help me to find out the relvant functional module which will get triggered after the posting of the documents.
Please help me with this.
Thanks in advanced.
Regards,
Darshana
Hi Harini,
It is also not get triggered while i am posting the documents.
Can you please suggest me some more functional modules.
Thanks in advanced.
Regards,
Darshana
Similar Messages
-
Function module to get 'Date one year in the past' in APO
Hi,
Required function module to get date one year in the past in APO.
Thanks and regards,
M.R.Reddy.Hi Reddy,
Try these function modules
/SAPAPO/DATE
/SAPAPO/FISCAL_BDATE
/SAPPO/MAPI_MAP_CREATDATE
/SAPPO/MAPI_MAP_POSTDATE
/SAPAPO/LCP_CALC_DATE
/SAPAPO/VS_ORDER_GET_DATES
/SAPAPO/PERIOD_CONVERT_DATE
/SAPAPO/PERIOD_DATE_GET_FROMTO
/SAPAPO/PERIOD_GET_DATE_RANGE
/SAPAPO/PERIOD_GET_FOR_DATE
/SAPAPO/PERIOD_GET_FROM_TODATE
Regards
R. Senthil Mareeswaran. -
Required function module to get date one year in the past.
Hi,
Required function module to get date one year in the past.
Thanks and regards,
M.R.Reddy.Hello,
You can check this:
DATA:
V_DATE1 TYPE D,
V_DATE2 TYPE D.
V_DATE1 = SY-DATUM.
TRY.
CALL METHOD CL_HRPAD_DATE_COMPUTATIONS=>SUBTRACT_YEARS_FROM_DATE
EXPORTING
START_DATE = V_DATE1
YEARS = 1
RECEIVING
DATE = V_DATE2.
CATCH CX_HRPA_VIOLATED_POSTCONDITION .
ENDTRY.
WRITE:
/ V_DATE1, / V_DATE2.
Hope this helps.
Br,
Suhas -
Function module or any BAPI that lets park the document in the transaction
Function module or any BAPI that lets park the document in the transaction FBV1.
I need to park the invoice by providing some test value in FBV1. I want to know is there any function module or BAPI that is used to park the doucument in transaction FBV1hi,
Use the BAPI BAPI_INCOMINGINVOICE_PARK to park the Document
Regards
Sudheer -
Enhancement spot - Function module not getting triggered in background
Hello Experts,
I have implemented an explicit enhancement spot. In the code implementation, I am calling a Function Module.
When I call that FM in background, things are not working as expected. But if I am calling that FM in normal mode, things are working fine.
I am passing parameter to FM by 'Value'.
Can anybody please let me know what I am doing wrong?
Regards,
AshishHi,
Enhancement not getting triggered in BDC
Regarding on your query, You would go through below link.
Screen Enhancement of Transaction CO11N
I hope, it helps to you.
Regards,
Sekhar -
Function module for getting month and year of the previous month (say -6)
Hi,
Is there a function module that will get you the month and year of say, a month before, and as far as 11 months ago.
For example, say today is 6/2007. I want 7 months ago.
How do i get this value?
What function module or method is available?
Points will be rewarded and responses will be appreciated.
Thank You,
JohnHi
lv_period gives the month and year which is two months earlier now as we have specified lv_months as -2.
DATA: LV_PERIOD LIKE S001-SPMON,
LV_MONTHS(2) TYPE C VALUE '2-',
LV_DATUM LIKE SY-DATUM,
LV_NEWDT LIKE SY-DATUM,
P_SPMON LIKE S001-SPMON VALUE '200601'.
CONCATENATE P_SPMON '01' INTO LV_DATUM.
LV_PERIOD = P_SPMON+0(6).
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
MONTHS = LV_MONTHS
OLDDATE = LV_DATUM
IMPORTING
NEWDATE = LV_NEWDT
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
LV_PERIOD = LV_NEWDT+0(6).
ENDIF.
WRITE :/ LV_PERIOD.
OR
Use the following FM for getting the year and the month based on date
CACS_DATE_GET_YEAR_MONTH
or
Call Function 'CCM_GO_BACK_MONTHS '.
Funny module: 03/31/2002 - 1 month = 02/31/2002
OR
RE_ADD_MONTH_TO_DATE ( Add / substract month to/from date )
Need ur reward points.
Best regards,
Ravi -
Same output type getting triggered twice upon saving the document
Dear SDNers,
I have a shipment Document.
Upon saving it the same Output type gets generated twice. ( in a gap of 1 second)
Clarification needed:
1. Please guide as to where i need to look for the error as to why same output is getting triggered twice simultaneously( gap of 1 second).
2. i have checked in the processing routine associated with it. Is it the right place?
P.S. I had posted another similar thread. Closed it since i felt it lacked clarity.
Regards,
SuryaD.Hi,
Fetch the data from Nast table for that document number
Check the vstat . if it is 0 then use the below function module.
CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.
Then it will update the existing single record for the first time .
Next time on wards you will get the multiple records for te document in the Nast table.
For that you need to change the VSTAT status as per the requirement.
Hope this might solve your problem.
With Regards,
Sumodh.P -
Function Module to get planned Quantity from posting date
hi,
i need one function module which takes plant and posting date date as an input parameter and get the Planned quantity for that range of that ...i dont want to fetch it from material since the report is run for the whole plant(werks).so it has got a lot of data entries so i need a function for that...
is there any function module which will fetch this data ...
Edited by: sonal musale on Jun 23, 2008 3:53 PMHi,
I have also the same problem. Any solution you have for this one?
Thanks,
Raymond -
Function module to get material characteristics and coresponding value
Hi experts,
I have got one problem...when we go to t code MM03..we select the views for a specific material for Basic Data1,Basic Data2 and Classification..in classification we get the material description and its corresponding values...
These values we receive through specific class and its corresponding object....I want some Function Module which will allow me to receive the description and corresponding value for the material which will automatically retrieve the data for that material using the class and object...
Please help me to sort this problem...
Thanks in advanceTRY these two FMs
1) CLAF_CLASSIFICATION_OF_OBJECTS and
2) Bapi_objcl_getdetails.
for first one it gets the all characteristics assigned to the class even though the values are not assigned
in second case onle the vlaues assigned characteristics will get -
Function module to get Pricing conditions of billing document
Hi All,
Please help me getting the pricing condition values for a billing document. I got values from KONV table against perticular Condition type. but i need to get the values against step number maintained in Conditions for my billing item. is there any function module to get all condition data maintained in document with totals and discounts aswell.
Please help me. if required i will give tou full details what i required.
Kumar.Hi Kumar,
Please check below mentioned Function Module for details:
RV_PRICE_PRINT_GET_BUFFER
RV_PRICE_PRINT_GET_MODE
RV_PRICE_PRINT_HEAD (Header)
RV_PRICE_PRINT_HEAD_BUFFER
RV_PRICE_PRINT_ITEM (Item)
RV_PRICE_PRINT_ITEM_BUFFER
RV_PRICE_PRINT_REFRESH
Regards,
Tutun -
Function module to get PRT for the operation in Maintenance Order
Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order? and also tell me the FM to get all details of those PRT Docs so that I can Print those documents.
Thanks.Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order in TCode IW31/32/33? and also tell me the Function Module to get all details of those PRT Documents so that I can take Print out of those documents.
Thanks,
Jay. -
Account Hierarchy : Function Module to get all the nodes of a hierarchy
Hi Experts,
Is there a function module which will give as output all the Node GUIDs for a particular account hierarchy in SAP CRM,when the Node GUID of any single node in the same tree is given as input?
Best Regards,
Ashish DhagatThanks mate.
Edited by: pankaj kandhare on Aug 14, 2011 7:56 AM -
Function module to get BOM which WOULD be created if I open a production
Is there a function module to get the BOM which WOULD be created if I open a production order?
note that I don't have the produciton order created.
I already tried with the FM CS_BOM_EXPL_MAT_V2 and CSAP_MAT_BOM_READ.
I debuged the CO01, but I did not find it.
This BOM should include materials which are under a phantom component.
Edited by: Rodrigo Pelos on Jul 20, 2011 6:55 PMHi Greetson Shunmugasundaram,
thanks for the reply, but for the FMs CO_SD_RESB_FROM_BOM_CREATE and CO_SD_NEW_BOM_ASSIGNEMENT it's necessay to have an production order but I don't have it. And with CS_ALT_SELECT_COUPLED_PRODUCT I could not get a BOM.
Let me explain in more details how I'm going to use this information, I think I was not clear in my post.
I'm creating a report to compare the BOM of a production order with BOM which would be created today if I open a production order.
Then I can check if there was changes in the reservation (RESB) of the production order. If this changes happened, how many pieces. I'll check also if there was differences in consumption, because during the production order confirmation it is possible to make changes.
I would not like to make the BOM explosion "manually" because there are too many variables in the BOM like phantom, alternative, scrap and so on, but I don't know if the function module that I'd like to use exists. -
Function Module to get the GST tax rate on basis of posting date
Hi Guys,
Can somebody suggest any function module to get GST tax rate (Canada) according to the posting date. I have already tried GET_TAX_PERCENTAGE. It is not giving me any results.
Is there any other functions modules.?
What is the the name of table for finding the tax?hi,
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-LOW
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 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.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-HIGH
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 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.
ags. -
Function module to get the posting period based on date
Hi to all,
Is there any function module to get the posting period based on date?
Regards,
Nageshhi,
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-LOW
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 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.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-HIGH
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 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.
ags.
Maybe you are looking for
-
Attempting to install CC on my Mac IOSX Mavericks. keep getting this message and have not been successful following the 'roundabout' install directions. not worth the effort Photoshop: how to install You are running an operating system that Photosh
-
Multiple Apple TV's with Movie Rentals
I have searched everywhere for this online, and can not find a answer for this. I have two apple tv's throughout the house. If I rent a movie in the living room, can I continue watching in the bedroom, or is it only available on that one APTV? If som
-
Hi, I'm trying to connect my Samsung Continuum schI400 with my PC running the 64-bit version of Windows 7. After mounting the device, I'm prompted to open the connection on my computer. However, wehn the connection is recognized by the device and U
-
How to get rid of .dtd file in XML file?
If there is "<!DOCTYPE xxx SYSTEM "xxx.dtd">" in a XML file and there is no xxx.dtd file, there will be wrong while parsing in Java using JAXP, and the function: setValidating(false) is no use. I can't modify original XML file containing "<!DOCTYPE x
-
Dear Experts, In VA02 when we go to GoTo>Header>Status--->Object Status , when we change Object status e.g. from RELE to CHVL , then i need immediately that status in some field or table without saving it. Although i can get status from FM ALM_ME_REA