Need help in inbound function module !
What is the meaning of this in the inbound function module ?
WORK_RESULT = C_WF_RESULT_OK.
In my function module its showing some error !
Might be a constant C_WF_RESULT_OK is assigned to
variable WORK_RESULT .
Please check if they are declared in the function module ..
Similar Messages
-
Need help for the Function Module 'PFL_GET_PARAMETER_INFO'
Hi Experts,
The FM 'PFL_GET_PARAMETER_INFO' returns the value for Profile Parameters for a system .
The inputs required for this FM are :
1. Parameter name : ( eg . login/min_password_lng etc. )
2 . Parameter Type
I am not sure about what the value of Parameter Type should be .
Its a mandatory field.
I have tried to search but could not find anything.
Can you please help me on this?
Thanks in Advance,
Harshit Rungta
Edited by: harshit rungta on May 27, 2011 8:15 AMWhat exactly is the use-case for this?
Many developers "c-call" the params and neglect this feature of the type - also whether it is static or dynamic. Some params are even dynamic as system profiles in one direction but static as instance parameters in the other direction when changing the value.
As you cannot create your own system profile parameters, I do not see the use-case for why you are wanting to check it in advance, because the application APIs should do this.
What you are possibly looking for is function module SUSR_GENERATE_PASSWORD in this case. It will respect "the rules" in the params.
Do not use the legacy function RSEC_GENERATE_PASSWORD directly.
Cheers,
Julius -
Inbound function module for custom IDOC
HI,
I have created custom IDOC.I need to create inbound function module for that custom IDOC.Can any one send me sample
function module for custom IDOC.(what are all the import Export,tables parameters and exceptions that I need to create for function module)
Thanks&Regards
Rama.MekalaHI Rama,
I presumed that You are talking about a FM to create inbound IDOC. So for creating inbound IDOC you can use '
CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS'
TABLES
idoc_control_rec_40 = gt_edidc
idoc_data_rec_40 = gt_edidd.
IF sy-subrc NE 0.
* MESSAGE e000 WITH text-003.
* ELSE.
* MESSAGE i000 WITH text-004 .
ENDIF.
just prepare edidc and edidd record in and pass it to the FM..
Hope this will work for you...
Thanks -
Need help for IDOC inbound function module !
Hi guys please help me to create a IDOC inbound function module.
What are the parameters and tables.
How to write the code.
What it does.
Please send me one inbound func module code if possuble
ThanksHi,
You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.
In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).
Regards,
Soumya. -
Inbound scenario: Z inbound function module
Hi chaps,
I have a standard Idoc Type that should be processed by an individual inbound function module.
The processcode is BAPI as the IDoc is mapped to a BAPI.
I thought I could use the message code or function. But the standard inbound function module BAPI_IDOC_INPUT1 is executed (at least in WE19) all the time.
Can somebody please tell me how I can trigger my Z inbound function module?
Thanks.
AchimHi Achim,
If you want to process the IDOC with the help of your custom function module, then you need to following things:-
1. Create the custom function module
2. Assign the function module to the Message Type in WE57 transaction
3. Define Setting for the custom function module in BD51 transaction
4. Create a new Process Code in WE42 transaction
5. Assign this new Process in the PArtner profile in WE20 transaction
Once you complete all the above steps then you can process your IDOC with your custom function module automatically.
If you want to use WE19 transaction to test the IDOC with your custom function module you can follow the below steps as well:-
1. Create your IDOC using WE19 transaction
2. Click the button Inbound Function module and then give your custom function module and click the tick mark in the pop up.
By doing the above 2 steps you can test whether your function module is correctly working or not as well.
Thanks,
Mahesh. -
JDBC to IDoc (Custom inbound function module)
Hi,
In my scenario JDBC to IDoc, I am using a custom function module to change the planned order. When I exectue the function module in WE19, it works fine and the IDoc status is also updated correctly.
But when I execute the entire interface right from JDBC, the status of the IDoc is set to 51 and the description it is giving is "No status record was passed to ALE by the application".
Can any one help me with this, where exactly is the error?For IDOC status 51 : Inbound IDOC
In WE19, Give the IDOC number & execute ... then put the cursor on the idoc control record . then click on the Standard Inbound push button on the application tool bar.it will show show all the details like partner no,type , message type , process code & function module name ...
now put a break point in the function module .. & debug .
if u r using customised inbound function module , then click on inbound function module .. there u will get a pop screen with FM name & debugging option in both background & foreground mode... -
Inbound function module for IDoc type INFRECMASS01
Hello everybody,
What is the inbound function module for IDoc type INFRECMASS01?
I tried IDOC_INPUT_INFREC (as for IDoc INFREC01), but I got the following message (B1 044): Incorrect function module IDOC_INPUT_INFREC called up
Thanks in advance
RolandThe only difference between INFRECMASS01 and INFREC01 is that repitition of the same segments. However, the standard function module is hardcoded with IDOC type INFREC01, so if you want to use the MASS IDOC copy the standard one and put in the logic to loop around and process the info records one by one.
There is no standard funtion that can process mass idoc of the info record.
Regards,
Ravi
Note: Please mark the helpful answers -
Inbound function module idoc_input_mbgmcr
Is there an inbound function module idoc_input_mbgmcr in existence somewhere that i can use?
Hi Janice,
Yes there is!
Check out these threads..
idoc status messages
user exits in BAPI_IDOC_INPUT1
cheers,
Prashanth
P.S: Please mark helpful answers -
Idocs - Inbound function module
Hi All,
I'm facing a prolem while testing the inbound function module thru transaction WE19.
The steps i'm following.
1) i'll give the message type & will proceed further
2) when i select the idoc & click on the push button "inbound function module " , My Z FM will displayed afterwards when i press enter a error message will be displayed.as"Interface for the Z function module is Incorrect"
i have created Z funtion module, Z message type,Z IDOC type,Z segment type. Z process Code
All the configuration like WE57,WE20,WE42 has been done.
Please help.
Points will be rewarded
Thanks,
SureshkumarSuresh , please check if ure function module interface is as per the template below:
IMPORTING
INPUT_METHOD LIKE BDWFAP_PAR-INPUTMETHD
MASS_PROCESSING LIKE BDWFAP_PAR-MASS_PROC
EXPORT
WORKFLOW_RESULT LIKE BDWFAP_PAR-RESULT
APPLICATION_VARIABLE LIKE BDWFAP_PAR-APPL_VAR
IN_UPDATE_TASK LIKE BDWFAP_PAR-UPDATETASK
CALL_TRANSACTION_DONE LIKE BDWFAP_PAR-CALLTRANS
TABLES
IDOC_CONTRL STRUCTURE EDIDC
IDOC_DATA STRUCTURE EDIDD
IDOC_STATUS STRUCTURE BDIDOCSTAT
RETURN_VARIABLES STRUCTURE BDWFRETVAR
SERIALIZATION_INFO STRUCTURE BDI_SER
This is the general required format for IDoc inblund processing using FM.
Message was edited by:
Ayan Banerjee -
User Exit ZXEDFU02 skipped in Inbound function module (WE19)
Hi!
when I choose Inbound function module in WE19, User Exit ZXEDFU02 is beeing skipped... or al least it seems so (not stopping at breakpoint in Exit).
But I need to add some lines to a segment, so need this Exit.
PS: I try to add some lines to Invoice List Idoc segment, Idoc type INVOICE02.
Any ideas?
Will reward,
Mindaugas.If is outbound try following
For outbound you have to use following way.
1) Cllick header-->output
2) Repeat output type
3) Select output type and click Further data and select dispatch time to 1(Send with periodic schedule job).
4) Save.
5) Go to Transaction WE15 or execute RSNAST00 program
6) Select your output type..input object key-->nothing but document number(eg..sales order number).
select output type and transmission medium.
7) Now breakpoint stop at your user exit.
Let me know still if you have problem.
Thanks,
Narayan -
How to create the INBOUND Function Module for INBOUND IDOCs
Hi Friends,
Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
which are recieved from XI Server ?
I am working in SAP-ISU
Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
We have a Standard INBOUND FUNCTION MODULE
IDOC_INPUT_ISU_MR_UPLOAD
which Uploads the Meter Reading Results.
I copied the Same function Module into ZIDOC_INPUT_
and working on it.
Can any one suggest me, whether i am going in correct way or not.
In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
Can I Use the Same BAPI
BAPI_MTRREADDOC_UPLOAD
to Update the below fields,
EABL-SERNR
EABL-ZWNUMMER
EABLG-ABLESGR
EABL-V_ZWSTAND
EABL-N_ZWSTAND
EABL-ABLHINW
EABL-ZSKIPC
EABL-ADAT
EABL-ATIMTATS
EABL-ADATTATS
EABL-ATIM
EABL-ZMESSAGE
EABL-ABLESER(Meter reader number)
Kindly Suggest me,
Thanks in Advance,
GaneshHello Ganesh
I think you are going completely astray with you z-function module for IDoc processing.
If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
EABL-SERNR => BAPIEABLU-SERIALNO
EABL-ZWNUMMER =>REGISTER
EABLG-ABLESGR
EABL-V_ZWSTAND
EABL-N_ZWSTAND
EABL-ABLHINW
EABL-ZSKIPC
EABL-ADAT
EABL-ATIMTATS => ACTUALMRTIME
EABL-ADATTATS => ACTUALMRDATE
EABL-ATIM
EABL-ZMESSAGE
EABL-ABLESER(Meter reader number)
Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
- BAPI_TE_EABL
- BAPI_TE_EOSB
Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
Regards
Uwe -
Error while Testing the Inbound Function Module
Hi,
I have created a Z Function Module (Posting Program) for Testing the EDI Shipment Tender Status. When I try to process the IDoc with the Transaction WE19 and when I enter the name of the Z function Module , it gives me an error saying that "Interface for Function Zxxxx is incorrect". Can somebody give me a solution for this? Answer would attract reward points.
Thanks,
Venkat.Hi,
You need to register this Function Module against Message Type.
Transaction code is : WE57.
Nilesh -
How to find out the inbound function module in the extended idoc
Hi,
how to find out the inbound function module in the extended idocs
Thanks .through we41/we42 you can find the inbound function module.......
or
thorough we19(idoc test tool) ....
give the input as message type or basic idoc..
press exec...
then you can find th button on application tool bar as inbound funtion module....
from here also you can find..........
<REMOVED BY MODERATOR>
Khasimsa
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 1:34 PM -
Need name of a function module or BAPI to update the Tax Classification val
Hi Guru's
Need name of a function module or BAPI to update the Tax Classification value for Material master.
Thanks in advance.Hi
U can try to use BAPI_MATERIAL_SAVEREPLICA
Max -
NEED INFORMATION ABOUT "MAX_TEST" FUNCTION MODULE
HI ABAPERS,
I need information about "MAX_TEST" function module . this function module is used in 4.6 version , now system have been shifted to 6.0.....here in 6.0 version this function module is not prasent.can any one tell me which new function module we can use in place of this function module, without changing the functionality........
Thanks in advance
regards,
SUNILThe module is not very sophisticated. Profficiency in Java or ABAP will be a great bonus here. There are plenty of good materials regarding XI on SDN. I suggest to start with step-by-step guides and master all basic integration scenarios
http://wiki.sdn.sap.com/wiki/display/XI/Step-by-Step+Guides
Opportunities in industry are not bad also, cause PI is rather popular among customers. The best thing is that it fits any type of customer's business. Integration is demanded almost everywhere.
Maybe you are looking for
-
How To Make Links In A .PDF Open In A New Window
Hello, I am using Acrobat Pro 10 to create a fillable employment application. At the top of the main application, I want people to be able to click and be redirected to another .PDF file I have hosted on my site that they will need to fill out in add
-
How to decide the last page in smartforms
Hi experts, I want to display a signature block only in the last page, can anybody tells me the perfect way to decide when it's the last page? Now I'm using a window with the check EVENT "Only Before End of Main Window", a flag is set in this window,
-
SRJ Debt collection claim I owe BT a cancellation ...
I was so pleased to come across this forum via a search for SRJ Debt collectors. I received a letter from SRJ today asking me to contact them urgently. Clearly concerned, I called them and have been told that I owe BT just over £35 for cancellatio
-
Extract not working as stated in 9iR2
Hi, My version is 9.2.0.5. But this one works in 10gR1. The extract function is defined in 9iR2 the same as in 10g. Please help. SELECT EXTRACTVALUE (VALUE (t), '/Record/ValueMark[@Index="11"]/SubValueMark/@Value' ) categorycode, NVL (EXTRACTVALUE (V
-
Hi, my problem is during the download to CC 2014 (of Photoshop - Illustrator and Indesign) it's stopping at 42% with the error (7) Faults during installation. If i click on more information i get the message: Exit code 7: 0 fatal error(s), 0 error(s)