Idoc -func module
hi,
1 .what are the different function modules & process codes that can be used in idoc's -from SD perspective
2 pl let me know how we can find the same.
pl suggest
hi
Process Code is used to identify the function module for processing(Inbound,Outbound)
WE41 - Outbound Process code
WE42 - Inbound Process Code
Related to SD
1) Customer Master
Message type : DEBMAS
a) Process Code : DEBM
Function Module : IDOC_INPUT_DEBITOR
b) Process Code : DELI
FM : IDOC_INPUT_DELINS_START
c) PC : DELO
FM : IDOC_INPUT_ORDERS
d) PC : DELS
FM : IDOC_INPUT_DESADV1
2) Material Master
MT : MATMAS
PC : MATM
FM : IDOC_INPUT_MATMAS01
Regards
Similar Messages
-
To find the processing Func. module
hi,
can anyone tell me how to find the processing Func. module(outbound) if i know the message type, basic type and extension.
i tried with we57 but coudnt find the one(outbound) needed.Hi Pawan,
From the link
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
For more inf. you can check this link.
From WEDI got to Control -> Inbound process codes -> Inbound with ALE service -> Processing by function module (transaction WE42), or from WEDI go to Control -> Outbound process codes -> Outbound with ALE service -> With function module (transaction WE41). There will be function modules associated with the process codes. For inbound, the function modules usually follow this pattern: IDOC_INPUT_messagetype: for example, IDOC_INPUT_CHRMAS for inbound characteristics master.
*Use transaction WE57 or from WEDI go to Development -> Message/Application Object. The entries list the function module, Business Object, message type, and IDOC type that are used for inbound ALE/EDI interfaces.
Hope you will clear now, if yes please close this thread with rewarding appropriate points to the helpful answers.
Cheers
Sunny -
To get the values from func. module
c i have used a func. module to calculate the values of date , i wrote a subroutine i want the values of this to be dispalyed on the list...
now how do i get them to the list output, i mean how do i assign to the fieldcatalog?????
thanks,
CAPCHi CAPC,
Plese find below a sample program which will solve u r broblem.
report abc.
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
Select Data
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
Display
alvly-box_fieldname = 'FLAG'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid "<-------Important
i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
CALL BACK FORM
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
data : msg(100) type c.
LOOP AT itab.
if itab-flag = 'X'.
msg = sy-tabix.
condense msg.
concatenate 'Row Number ' msg ' ' into msg
separated by space.
message msg type 'I'.
endif.
ENDLOOP.
ENDFORM. "ITAB_user_command
Regards,
Sunil -
Func module to convert list to pdf without using memory id
hi Experts,
Is there any funct module to convert list to pdf without using memory, as I am using Convert_to_PDF func module which outputs last page only when its running in Background.
But my req is to output all the Pages in the PDF format.
Sample code also appreciable,
Reward Points are guranteed..
Cheers
SantoshCheck the below postings :
Re: Convert spool to pdf
Convert a spooljob to a writeprotected PDF
Hope this will helpful -
Comp characteristics extraction - Func Modules
All,
There are 2 function modules to get characteristics info:
1. CUAB_DISPLAY_CD_CONFIGURATION
2. CUD0_GET_VAL_FROM_INSTANCE
Both work off the CUOBJ value that is derived either from the RESB table for the Prod Order (component config information extraction) or from the Purchase Order table EKPO.
Question is what is the diff b/w the 2 function modules in terms of the output they generate.
My interest is to find a function module that will extract all the component characteristics (chars of class 300)
Pls let me know
ThanksThanks,
Then there are these 2 func modules, how do these differ from the earlier ones?:
VC_I_GET_CONFIGURATION_IBASE
CLAF_CLASSIFICATION_OF_OBJECTS
I'm trying to be sure I use the right one that does not give me incorrect data. I'm plng to extract data for the char's & pass them to my MES system for further use.
Thanks -
Need Tables and Func Modules related to Project Systems
Hi
I am working on a custom program that Creates Project ( CJ01) using standard Project Def.
All WBS elements of Standard Project Template should be copied to the newly created Project
I am not able to get any Standard Func Module which creates new WBS elements from Standard WBS elements.
It will be of great help for me, if any one has info on this.
thanks in advance.Hi
See the Tables
PRPS -WBS element
PROJ - Project Definition
other tables are
PRTE,PRTX,PSTX,PSTT -Scheduling data for items
PRHIS
see the fun modules
CJPN_GET_WBS_ELEMENT
CJPS_GET_WBS_ELEMENT
PSBW_GET_TEXT_WBS_ELEMENT
PSBW_GET_WBS_ELEMENT
K_PROJECT_WBS_PLANVALUES
AIPR_GET_HIERARCHY_TO_WBSELEM
CJDW_GET_NEW_WBS_ELEMENTS
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Scope of Func module???
Hi guys
Customer using Func group ZXXXXX, and using BDCRECXY include inside funcgroup
to access for Func modules.
In func module Z_XXXX_PLAN, PERFORM BDC_TRANSACTION statement is
called and "Call transaction CJ30" is used under Subroutine "BDC_TRANSACTION"
inside the BDCRECXY
How to make sure that This Func module is calling include BDCRECXY using BDC_TRANSACTION Subroutine.
In the where used list for BDCRECXY program,it listed only 2 other programs(Func module) LZPS00010U14 and LF040TOP.
How to make believe that BDC_TRANSACTION is calling BDCRECXY include?
Regards
jaichanHi Sreenivas,
Thanks for your reply.
Anyother way do we have to findout without working on editor?
Because I dont have Test data as well as System in front of me.
regards
Jaichan -
IDoc Function Module(Invoices)
Dear All,
I want IDoc Function Module(Inbound) for T Codes FB60, FB65, FB70, FB75 for Invoices.
Actual Scenario is that i want to transfer data from JAVA system to SAP(Vendor Invoice,Customer Invoice,Credit Memo,Debit Memo) using IDoc.
Please give me the funcion module(IDoc Inbound and Outbound) can be used in above case.
thanks,
RPHi
They are several function modules.
Pls Go to SE37 and enterr idoc and press f4 then you are able to see
all the idoc function module.
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/functions.htm
Regards,
Ram -
have u created any func. module, if yes then what is the purpose
And what was it's purpose?
You'll never get full points if you don't answer the whole question -
How to debug outbound Idoc function module for invoice
I have to debug the outbound IDOC function module and UserExit for invoice message type INVOIC, process code SD09, function module is IDOC_OUTPUT_INVOIC and user exit for the function module LVEDF001.
I tried putting the break point in function module IDOC_OUTPUT_INVOIC and recreate the IDOC using WE19 but it creates the idoc but does not stop at the break point. I have also tried generation of idoc through VF02. It again creates the idoc but does not stop at the function module.
Please let me know if I am missing any thing and not doing it right.
Appreciate your help.
RohitHi Ali,
I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
Regards,
Uday S. -
How to flag a func. module in Func. Library as executable in Update Task?
How to flag a func. module in Func. Library as executable in Update Task? I am getting a program termination error. The foollowing is the error analysis.
Error analysis
The function module "ZHEM" was called with the addition "... IN UPDATE TASK".
However, it is not flagged in the Function Library as executable in the update task.Hi!
Go to SE37, tab attributes, area processing type, choose radio button update module and desired type (V1, V1 no restart, V2, V3).
Regards,
Christian -
Reciever func.module, check func.module and receiver type func
Hi Experts,
what is the purpose of reciever func.module, check func.module and receiver type func.module in Event Linkage.
Give some Examples which helps.
Thanks In Advance.Please check these,
https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3206751
https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3206440
https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3207214
https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3207179
I think FM's for Processing Events should give a clear idea.
Thanks and Regards, -
Any Func Module to pull the value from DD07T ?
Hi Experts,
In my system, we hv a Z domain and 100 values are supplied in VALUE RANGE for it.
So, I need to pull the short description(DDTEXT) of these fixed values, so, the tbl is DD07T, fine, but the issue is that, the field DOMVALUE_L(which I can supply apart from DOMNAME)..........I can pull it by a SELECT........but this filed is DOMVALUE_L not a KEY FILED so, so, SELECT takes much time.........so, let me know that Is there any Func module to pull the values from this tbl DD07T?
thanqif you have all the Zdomains in one structure you can use the
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = gd_repid
i_internal_tabname = 'I_ZSCHED'
i_structure_name = 'Z_ALV' "><<<<<<<<<<<< structure name
i_client_never_display = 'X'
i_inclname = gd_repid
CHANGING
ct_fieldcat = fieldcatalog
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
you can read the field catalog and get the values.. -
Func modules vs. BAPIs; What is a BADI? When do we use it?
Hi experts,
I have some ABAP questions and need your help to answer them.
1. What is the difference between a func. module and a BAPI?
2. What is a BADI and in which circumtanse we use it? How can I view a BADI example?
3. What is a WorkFlow and in which circumtanse we use it? How can I view an WorkFlow example?
Many many thanks,
Ron1.
All BAPIs are function modules, but they have been enhanced by using object oriented design. BAPIs are designed based around Business objects (in the business object repository SWO1/SWO2). They are created to fill a business need and are a good way of exposing SAP functionality to third party systems. They can be viewed through transaction BAPI. BAPIs are also generally all RFC enabled, whereas not all function modules are.
Function modules are developed to perform a particular function, some of which is very specific to the program which calls it. A lot of the standard SAP function modules are only really meant to be used by SAP, hence the complete lack of documentation or intuitiveness.
check this link too.
Re: Diff. Between BAPI and RFC
2.
Difference Between BADI and User Exits
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
As with customer exits two different views are available:
In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.
SE18 - BADI definition
SE19 - BADI implementation
3. check the page for workflow links
http://www.sapgenie.com/phpLinks/index.php?PHPSESSID=45016ad4a8b3e6005f53a04a83b79782&PID=62&PHPSESSID=45016ad4a8b3e6005f53a04a83b79782
Thanks, -
Save_dialog func module
hai abapers,
i am having a requirement to call the func module of save dialog box in the prog.Hi Atteq
Do i interpret your question as: you want a function module which gives you a pop-up to confirm when you do something (any event) to save something?
If my interpretation is right, pls check:
POPUP_TO_CONFIRM
POPUP_TO_CONFIRM_STEP
These is a very generic function module, you can try searching more using keywords: popup or popupsave*
Example:
call function 'POPUP_TO_CONFIRM'
exporting
titel = 'Title for POPUP_TO_CONFIRM'(A01)
diagnose_object = 'TEXT1_ZUM_POPUP_TO_CONFIRM'
text_question = 'Do you want to carry out this
fantastic test?'(A02)
text_button_1 = 'Yes'(A03)
ICON_BUTTON_1 = 'ICON_OKAY'
text_button_2 = 'Cancel'(A04)
ICON_BUTTON_2 = 'ICON_CANCEL'
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL = ''
userdefined_f1_help = 'TEST_TEXT_ZUR_SPO1'
START_COLUMN = 25
START_ROW = 6
importing
answer = answer
exception
TEXT_NOT_FOUND = 1
others = 2.
Regards
Ashish Jain
Maybe you are looking for
-
Firefox blocks a wesite that I use often and need as unsafe. How do I get it back?
The website gtefcu.com is my online banking site. I use it often and need it. When I go to it. I get a window that says that the site is unsafe. There is no provision for overriding or going past this window. Please give me directions for getting my
-
3rd party web gallery plugins?
I've been looking around for web gallery generator that goes beyond the ones packages with Aperture. Doesn't seem like there's much out there. The references to Jumsoft go to dead links, and the one review I read for Themes for Aperture didn't look p
-
Iweb: photos blur? and formatting question
Does anyone know how to prevent photos from blurring when you publish a page to dot mac? On my photo page, (only) 2 of the photos appear blurry. I have tried to re-publish, to no avail. Also - is there any way to include column formatting in text? I
-
Hello, How to debug the C part of my Alchemy library when I am with my project and Flex Builder, since the code in C is transformed in As3. The C library has to be without bugs, when I transform it in Swf ? Thank you, Christophe,
-
3600n network connection on Windows 7
Trying to connect a Color Laserjet 3600n to my network using an ethernet to my router on Windows 7 64 bit. Had the printer connected via usb with no issues. Have tried most of the "fixes" on the posts here but have gotten it to work on my desktop W