Function module to populate itab with event's name
Is there any function module which would populate internal table with all the events name of the submitted program.Actually I used F4_PROG_EVENT but it is generating a alv popup with event's name but not storing anything in the internal table.
Hi,
Check FM: REUSE_ALV_LIST_DISPLAY
Export
It_events : internal table with a list of all possible events of ALV and their corresponding routine names.
Similar Messages
-
Function Module to create Delivery with JIT Calls
Hi SAP Guru's,
We are working on SAP 4.6C version.
I am looking for a function module to create delivery with JIT Calls.
We are currently using the SAP standard function module "SHP_VL10_DELIVERY_CREATE" to create Delivery with JIT Calls. Each JIT Calls has apx 60-80 materials in it and each material refers to a unique Scheduling Agreement. This function module is taking very long time in production server to create delivery, it does not take much time in dev or quality server.
We have JITV setting profile (For Sold To Party and Partner Description Profile) set as RELACE (to summarize the line items in JIT Call).
Is there another function module that we can use to create delivery with JIT Calls?
Thanks in Advance,
AmitHi there,
There is no such function module.
Regards
Sanju -
Hi,
Function module ZBAPI_DELV_HU_DETAILS is failing with status TARGET_METHOD_EXCEPTION external server. What could be the reason for this?
This Function Module will be called within program ZMWXO011. This program will be configured in the output determination for HU's. It will be triggered whenever a relevant HU is created. The BAPI will extract Delivery & HU level data that is required by Exacta & Scan code and send to a predefined TRFC Queue.
Thanks & Regards,
Srinivas Reddy.Hi Efren,
Go to transaction ST22 and check for any dump.
The work item is in process, so there will be a dump in the system.
The Function module parameters could be a problem.
ST22 transaction will give you details about the dump.
Thanks,
Viji. -
RFC function module always creating BPs with the same user name (RFC user )
Hi All
I posted the below question in a different area before. But thought it would be more suitable here.
Moderators - Please let me know if am doing any mistake.
Question:
I have a RFC function module in CRM that creates Business Partners in ECC (XD01 tcode).
I am using a dialog RFC destination configured in SM59 in CRM.
But my RFC function module in CRM is always creating the Business Partners in ECC with the RFC user id (the user that we maintain for the RFC destination in SM59).
This is a problem for the users because they are not able to track the actual person responsible for creating these Business Partners.
Can somebody please let me know how to solve this problem?
Thanks
RajHi.
You may use the trust relationship between CRM and R/3 and in SM59 instead of set a specific username, you set the flag "current user".
With this flag, the system will access R/3 system with the user logged in CRM system. The Trust relationship must be created between CRM and R/3 in order to the system doesn't ask for a password to login in R/3.
If you need more details please reply.
Kind regards,
Susana Messias -
Function Module/BAPI for Posting with Residual Clearing
Hello All,
I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
Please let me know how this can be handled.
Thanks in advance.
With Regards,
Senthil.Hi senthil ,
Look at these threads
POSTING_INTERFACE_CLEARING
bapi for Transfer posting with clearing
BAPI_ACC_GL_POSTING_POST for FB05
Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
Regards,
Gaurav -
Inbound Idoc function module for Cycle count with msg type WVINVE
Can any one tell me which is the standard function Module which processes Cycle count for message type WVINVE.
My requirement is to setup Inbound Idoc for cycle processing with message type WVINVE.Hi Mukesh,
Inbound FM is IDOC_INPUT_STORE_INVENTORY , and Process code is WVIN.
Yoou can check this in Tcode WE42 for process code WVIN.
Regards
Srikanth M -
Function module for popup window with list display.
Hi,
I need simple program or function module name that accepts internal table as input and displays the content of the internal table as list in popup window.
Regards
Madhu.Hii Madhu
check this fm
<b>REUSE_ALV_POPUP_TO_SELECT</b>
check this implementation..
*& Report ZALV_SAMPLE *
*& Program for displaying data using function modules : *
*& REUSE_ALV_LIST_DISPLAY *
*& REUSE_ALV_POPUP_TO_SELECT *
*& REUSE_ALV_GRID_DISPLAY *
REPORT ZALV_SAMPLE .
TABLES VBAK.
DATA it_vbak LIKE VBAK OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN uline.
PARAMETERS: ALV1 RADIOBUTTON GROUP ALV, "REUSE_ALV_LIST_DISPLAY
ALV2 RADIOBUTTON GROUP ALV, "REUSE_ALV_POPUP_TO_SELECT
ALV3 RADIOBUTTON GROUP ALV, "REUSE_ALV_GRID_DISPLAY
ALV4 RADIOBUTTON GROUP ALV. " NORMAL DISPLAY
SELECTION-SCREEN uline.
SELECT * FROM VBAK
INTO CORRESPONDING FIELDS OF TABLE it_vbak
UP TO 10 ROWS.
IF ALV1 = 'X'.
PERFORM ALV_FUNC1.
ELSEIF ALV2 = 'X'.
PERFORM ALV_FUNC2.
ELSEIF ALV3 = 'X'.
PERFORM ALV_FUNC3.
ELSEIF ALV4 = 'X'.
PERFORM NORM.
ENDIF.
*& Form ALV_FUNC1
* text
* --> p1 text
* <-- p2 text
FORM ALV_FUNC1 .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'VBAK'
TABLES
T_OUTTAB = it_vbak
EXCEPTIONS
PROGRAM_ERROR = 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.
ENDFORM. " ALV_FUNC1
*& Form ALV_FUNC2
* text
* --> p1 text
* <-- p2 text
FORM ALV_FUNC2 .
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
I_TITLE = 'SALES ORDER INFO'
I_ZEBRA = 'X'
I_TABNAME = 1
I_STRUCTURE_NAME = 'vbak'
TABLES
T_OUTTAB = it_vbak
EXCEPTIONS
PROGRAM_ERROR = 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.
ENDFORM. " ALV_FUNC2
*& Form ALV_FUNC3
* text
* --> p1 text
* <-- p2 text
FORM ALV_FUNC3 .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'vbak'
I_GRID_TITLE = 'SALES ORDER INFO'
TABLES
T_OUTTAB = it_vbak
EXCEPTIONS
PROGRAM_ERROR = 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.
ENDFORM. " ALV_FUNC3
*& Form NORM
* text
* --> p1 text
* <-- p2 text
FORM NORM .
format intensified.
skip 1.
WRITE: /'SALES DOC.',
' Created on ',
' Time',
' Created by',
' Valid from ',
' Sold-to party'.
format intensified off.
skip 2.
LOOP AT it_vbak.
write: / it_vbak-vbeln,' ',
it_vbak-erdat,' ',
it_vbak-erzet,' ',
it_vbak-ERNAM,' ',
it_vbak-ANGDT,' ',
it_vbak-KUNNR.
endloop.
ENDFORM. " NORM
Reward points if helpful
Revert back for more help
REGARDS
Naresh -
Is there any function module about same record with a time phase?
Dear Expert,
I am developing a program to upload time data into SAP and I was asked to delete the records which coming within 5 mintues and upload the last one into SAP.
Is there any function module about this?
BR Wang YichaoHI ajay,
1. If i am not wrong, this infotype hrp1005,
is maintained using PP01.
2. One method is
using FM RH_RELATION_MAINTAIN.
regards,
amit m. -
Function module for error message with language param
any Function Module that has language param in it?
thanks,Dear Rayann,
Use FM FORMAT_MESSAGE.
Thanks & Regards,
Nagaraj Kalbavi -
Function module to create query view from technical name of the query ?
Hi Experts,
I am trying to create webservice definition using function module.
In this code, I am calling function module 'RSCRMBW_REPORT' which requires query view name ( we can see this in RSCRM_BAPI) as a value for parameter i_reportuid.
For the time being I am hardcoding the value but I need to use a function module which will convert techincal name of query into query view.
Can anyone have any idea about the above requirement? Or is there any other way to solve the problem?
Thanks in advance
Shamkant
Edited by: SHAMKANT SONAWANE on Apr 7, 2009 5:38 AMHi,
You can use FMs CONVERSION_EXIT_GENID_INPUT and CONVERSION_EXIT_GENID_OUTPUT to get query view.
First call FM CONVERSION_EXIT_GENID_INPUT with parameter input as query technical name then it will return Output in the form of GENID .
Pass this GENID as input parameter to FM CONVERSION_EXIT_GENID_OUTPUT to get query view as output.
Eg :
Test for function group RRI5
Function module CONVERSION_EXIT_GENID_INPUT
Uppercase/Lowercase
Runtime: 6,652 Microseconds
Import parameters Value
INPUT Y0IC_C03_Q0018_2
Export parameters Value
OUTPUT 4D1I916ID7TWS1CK27154WYZ8
Test for function group RRI5
Function module CONVERSION_EXIT_GENID_OUTPUT
Uppercase/Lowercase
Runtime: 2,818 Microseconds
Import parameters Value
INPUT 4D1I916ID7TWS1CK27154WYZ8
Export parameters Value
OUTPUT 0IC_C03/Y0IC_C03_Q0018_2
0IC_C03/Y0IC_C03_Q0018_2 is expected query view.
Hope it helps...
regards,
Raju -
Any Function Module/Class to get Program's Package Name??
Hi Guys,
Are there any Function Modules/Classes that return the Package name of any given Program?
I have had a look but have been unable to find any...
thanks,
C
PS POINTS WILL BE REWARDEDHi,
1)u can get Package name from SE93
go to SE93>give transaction code>display
2)you can also get from
go to t-code>system>status>d.click on program name>goto-->attributes
Thanks
Ankur Sharma -
Help with event.target.name
I am very green with actionscript and coding in general so please forgive me if I am asking something that sounds super simple.
Is it possible to take "event.target.name" value which in my case would be something like "SW5005_mc" and change that value.
I use that value right now to tell another clip to gotoAndStop(event.target.name); which I have frames labeled the same as the event.target.name.
I would like to take the value of event.target.name for instance "SW5005_mc" and remove the "_mc" and put a dash in between the "SW" and the "5005"
to get "SW-5005" which then I would pass into a text field.
I really don't know where to begin or if this is possible.
Thanks for any help or suggestions,
Chrisyes you can do it with String manipulation, check out the various String Class methods, some examples here:
http://www.wuup.co.uk/as3-basics-string-manipulation-in-actionscript-3/
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/String.html -
Function module create inbound delivery with text
Hello
I'm trying to create an inbound delivery with reference to a purchase order and create additional texts. I found FM GN_DELIVERY_CREATE but the texts are not added. I entered data in table IT_GN_TEXTL & IT_GN_TEXTH.
What can be the problem?
KRWe will solve it with some extra development.
As we do not have the parameter IS_BORGR_CONTROL-SAVE_TEXTS = 'X', I compared the version of ECC 6.0 to the 4.7. In debugging, we just have to pass one check and it will work. We will create a own version of gn_delivery_create with one extra parameter and put this parameter where it is added in Ecc 6.0.
Check:
if v50agl-create_decentral ne space
or v50agl-create_uclief = 'X'.
KR -
Is there Any Standard Function Module that populates mail in SAP inbox
Hello Experts,
The scenario that we are working is , Email Integration in SOLMAN.That is the done using XI , first the mails raised for Support Desk issues from Outlook are read and collected in XI ,now the requirement is from XI we have to populate the mails into SOLMAN's Inbox. So is there any standard FM that can be used in XI for this purpose.
Or is there any other way in which the mails can come into Solman's Inbox,If someone has worked on this , please give me your valuable suggestions ASAP.
Thanks & Regards,
MohanaHi deepak,
1. we can use the FM
DATE_CHECK_PLAUSIBILITY
regards,
amit m. -
Copy Standard Function modules to Z Function modules
Hello,
I have a requirement like , I need have a typical requirement where i need to copy few function modules in the same function group , in this regard i copied 4 function module and calling performs with the program name , but i am unable to achive the requirement , Function module is getting Dump,
Can any one explain the standarded function modules and place it in Z function group. or is it possible to include standard function group in to Z function group ?
How to get reslove ? please guide ...
Thanks In Advance.
With Best Regards
Naganjaneyulu.P.VHi Naganjaneyulu,
If you copy it will be similar to Standard. But you can modify those FMs as you like which will not be possible in standard. Also if you solely copy the FM, If that FM consists or depends on the screens or Includes which are present in the Function Group then there will be syntax errors and shortdumps. The Reason for your short dump might be this.
If you are still not happy with this approach, Kindly paste the standard FM that you are trying to clone and the short dump that you are encountering.
Thanks,
Sai
Maybe you are looking for
-
Can two people use the same Nike plus and Nano?
Or will we each need our own. My husband purchased one and I would also like to use it. We work out at different times and it would be nice not to have to purchase different units, but will it upload both or our workout information or does anyone kno
-
Hi, I very recently bought an iPad 2 for my wife. She tried to do some online shopping and couldn't get past the checkout screen. Poor girl tried all day and was so frustrated when I came home. I told her to use my PC laptop and she was done in mi
-
Hi there ! I have a website where I put some YouTube videos , So when i put theme and I want to play them , my Flash player crash , what should i do ? please help me this is my website [link removed] Best regards
-
I have P.E.6 and all the pictures now have ? icons in the top left corner of each image. When selected to do an action, the computer proceedes with a search for the selected picture. Even though the image is in Adobe Elements, are all the pictures lo
-
Tab with required fields forms
Hi, I'm using tabs (paneltabbed) to show and hide 5 diferent forms. When I'm seeing forms withour required fileds I can switch between forms without any problem but when I'm seeing forms that have required fields I get the message that the field is r