Help required regarding user exit for STPSHH01 IDOC
Need help regarding user exit.
I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
The functional module is IDOC_INPUT_SHIPPL
and there is a CALL CUSTOMER-FUNCTION '012'
this will take us to function module EXIT_SAPLV56I_012
This includes ZXV56U08
Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCST
Hi,
use this FM to update ur shipment
variables
DATA: lo_tp_g_tra TYPE v56e_shipment_activities, "Data to modify
lo_tp_g_shp TYPE v56e_shipment,
lo_tp_g_log TYPE v56e_logfile, " Errors function
call the function to modify shipments
CALL FUNCTION 'SD_SHIPMENT_PROCESS'
IMPORTING
e_logfile = lo_tp_g_log
CHANGING
c_activities = lo_tp_g_tra
c_shipment = lo_tp_g_shp
EXCEPTIONS
error = 1
OTHERS = 2.
Thanks,
Sendil.
Similar Messages
-
How to find the appropriate user exit for invoic02 idoc in idoc_output_invo
Hi all,
I am new to this community p
i have issue regarding the How to find the appropriate user exit for invoic02 idoc in idoc_output_invoic function module.........
thanks,Hi ,
welcome to SDN.
You can select the appropriate Customer exit accrding to the available parameters .
The list of exits available are
EXIT_SAPLVEDF_001
EXIT_SAPLVEDF_002
EXIT_SAPLVEDF_003
EXIT_SAPLVEDF_004
For Example , if you want to modify the Idoc data(EDIDD) you have to use the EXIT_SAPLVEDF_002. accodingly you can select the user exit according to the avaialable parametres.Use Table MODSAP fto get the Enhancement name.
Hope this Helps
Rgds
Sree
Edited by: Sree on Jul 23, 2010 12:11 PM -
could anyone please tell the user exit for inbound idoc : ACC_POSTING_GL01
I thnk the inbound idoc name is ACC_GL_POSTING01. User Exit for this is EXIT_SAPLACC4_001.
*****Reward points if useful
Regards,
Kiran Bobbala -
Hi friends,
I want to find user exit for outbound idoc INVOIC, but i dont to how to do that.
Please gve ur suggestionsINVOIC
Invoice / Billing document
- FEDI0001 EXIT_SAPLIEDI_001 FI-EDI: Invoice receipt - Determine G/L account per invoice line
- FEDI0001 EXIT_SAPLIEDI_002 FI-EDI: Invoice receipt - Determine add. acct assignm. per line item
- FEDI0001 EXIT_SAPLIEDI_003 FI-EDI: Invoice receipt - Fill the screen field 'Allocation'
- FEDI0001 EXIT_SAPLIEDI_004 FI-EDI: Invoice receipt - Determine the segment text
- FEDI0001 EXIT_SAPLIEDI_005 FI-EDI: Invoice receipt - Determine the name of the BDC session
- FEDI0001 EXIT_SAPLIEDI_011 MM-EDI: Invoice receipt - Determine purchase order item
- FEDI0001 EXIT_SAPLIEDI_101 FI-EDI: Invoice receipt INVOIC01 - additional assignment
- FEDI0001 EXIT_SAPLIEDI_102 FI-EDI: Invoice receipt INVOIC01 - add data
- FEDI0001 EXIT_SAPLIEDI_111 MM-EDI: Invoice receipt INVOIC01 - additional assignment
- FEDI0001 EXIT_SAPLIEDI_112 MM-EDI: Invoice receipt INVOIC01 - add data
- MRMH0002 EXIT_SAPLMRMH_011 Logistics Invoice Verification:inboud EDI message, company code
- MRMH0002 EXIT_SAPLMRMH_012 Logistics Invoice Verification:inboud EDI message, control flags
- MRMH0002 EXIT_SAPLMRMH_013 Logistics Invoice Verification:inboud EDI message, assignment
- MRMH0002 EXIT_SAPLMRMH_014 Logistics Invoice Verification:inboud EDI message, segments
- MRMH0002 EXIT_SAPLMRMH_015 Logistics Invoice Verification:inbound EDI message, before posting -
HOW TO WRITE USER EXIT FOR EXTENDED IDOC
Can somebody please help me as i need the user exit code for Shipment idoc.
I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
The functional module is IDOC_INPUT_SHIPPL
and there is a CALL CUSTOMER-FUNCTION '012'
this will take us to function module EXIT_SAPLV56I_012
This includes ZXV56U08
Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCSThi ,
'EXIT_SAPLHRBEN00GENERAL_014'
1)Goto CMOD tcode.
2)Click on Utilites on Menu bar.
3)Press Shift+F9, below in component name enter
EXIT_SAPLHRBEN00GENERAL_014,
4)F8 , then you will get Exit name PBEN0014
Double Click again Double Click you will get function
FUNCTION EXIT_SAPLHRBEN00GENERAL_014.
within this onel include file is there.
INCLUDE ZXPBEU14.
here you will write your Enhanc Code.
Reward if , you got soln,
Thanks. -
Hi gurus,
Can anyone tell me the user exit for extending the message type COAMAS.
Thanks & Regards,
Soumya.Exit name Short text
SIDOC001 Customer function for module pool EDI1
SIDOC002 CA-EDI: Exits in Function Group EDI6 (Partner Profile) -
Help required with User exit logic
Hi gurus,
Please help me with the logic I wrote for the user exit for a PP Work Center View extract structure. Here is the details of the add on fields: VGW01, VGW02, VGW03, STEUS(from table PLPO); DataSource: 2LIS_04_P_ARBPL,
data: l_s_pp1 like MC04P_0ARB(extract structure of 2LIS_04_P_ARBPL),
l_tabix like sy-tabix,
lv_VGW01 like PLPO-VGW01.
lv_VGW02 like PLPO-VGW02.
lv_VGW03 like PLPO-VGW03.
lv_STEUS like PLPO-STEUS.
tables : PLPO.
case i_datasource.
when '2LIS_04_P_ARBPL'.
loop at c_t_data into l_s_pp1.
select single vgw01into lv_vgw01
from PLPO
where field = l_s_pp1-field.
if sy-subrc = 0.
l_s_pp-zzvgw01 = lv_vgw01.
l_s_pp-zzvgw02 = lv_vgw02.
l_s_pp-zzvgw03 = lv_vgw03.
l_s_pp-zzsteus = lv_steus.
endif.
modify c_t_data from l_s_pp1 index l_tabix.
endloop.
Any additional comments welcome. Thanks in advance.Hi,
Try coding as per the below code
case i_datasource.
When '2LIS_04_P_ARBPL'.
DATA: lt_data TYPE TABLE OF MC04P_0ARB.
FIELD-SYMBOLS: <ls_data> TYPE MC04P_0ARB.
Internal table for
TYPES:
BEGIN OF ty_tbl1,
lv_VGW01 TYPE PLPO-VGW01,
lv_VGW02 TYPE PLPO-VGW02,
lv_VGW03 TYPE PLPO-VGW03,
l_bmsch TYPE XXXX-XXXX,
l_plnnr TYPE XXXX-XXXX
l_datuv TYPE XXXX-XXXX
l_aennr TYPE XXXX-XXXX
l_plnkn TYPE XXXX-XXXX
l_plnal TYPE XXXX-XXXX
END OF ty_tbl1.
DATA:
lt_tb1 type standard table of ty_tbq,
ls_tb1 type ty_tb1.
lt_data[] = c_t_data[].
Read data into internal memory using jOins
select aVGW01 aVGW02 aVGW02 aVGW02 bbmsch bplnnr bdatuv baennr bplnkn bplnal into into CORRESPONDING FIELDS OF TABLE
lt_tb1 from PLPO as a innerjoin XXXX as b where aXXXX=bXXXX.
use the internal table to get the data to the enhaced fileds
LOOP AT lt_data ASSIGNING <ls_data>.
read table lt_tb1 into ls_tb1
with key XXXXX = <ls_data>-XXXX .
if sy-subrc eq 0.
<ls_data>-lV_VGW01 = ls_tb1-lv_VGW01,
<ls_data>-lV_VGW02 = ls_tb1-lv_VGW02,
<ls_data>-lV_VGW03 = ls_tb1-lv_VGW03,
<ls_data>-bmsch = ls_tb1-bmsch,
<ls_data>-plnnr = ls_tb1-plnnr,
<ls_data>-datuv = ls_tb1-datuv,
<ls_data>-aennr = ls_tb1-aennr,
<ls_data>-plnkn = ls_tb1-plnkn,
<ls_data>-pln1l = ls_tb1-plnal.
MODIFY lt_data FROM <ls_data>.
endif.
ENDLOOP.
REFRESH c_t_data.
c_t_data[] = lt_data[].
Note that the code is not written with the exact fields. Change the fields where necessary(also i have joined only 2 tables if needs to be joind form more than 2 table change the join statement accordingly).
Thanks,
Nagarjuna
Edited by: Nagarjuna Reddy on Oct 20, 2011 3:39 AM -
Hello everybody.
We have the next scenario:
JDBC--->PI-(iDOC)--
>SAP
SAP---->PI-(ALEAUD)-->JDBC
We sent a Orders Idoc to SAP. In this Idoc we have informed the field BELNR (Purchase number) and I need to get this number in the ALEAUD Idoc. The problem is that this field doesn´t exist in ALEAUD Idoc.
I have two questions:
- Is there any User Exist for Aleaud Idoc where I can fill it?
- With the Aleaud Idoc I have the original idoc number, how can I get the field BELNR from this Idoc number?
Thanks a lot
RegardsSorry... I didn´t write the scenario correctly....
JDBC--->PI-(iDOC)--
>SAP
SAP(ALEAUD)>PI--
>JDBC
Thats is the correct scenario. I need to get back a field of original inbound idoc and send it in the aleaud idoc to PI.
Thank a lot!!!! -
Query on User exit for outbound idoc
Hi ,
Can u all pls help me out to solve these queries
1. when we extend a new segment (at we31) and create a new idoc type(at we30), say,for DELVRY05 idoc type-<b>what is the logic to be written inside the Exit</b>(at Transaction code - CMOD -where a project is created and the exit is found for the enhancement) ,to view our extended segment -that needs to be appended (viewed below the existing segment)at we02?
2.Can we delete the outbound idoc generated with errors from development server?
3.How to recify the outbound idoc errors-like runtime,syntax,port unreachable errors(at the status record and data records listed inside we02 transaction code)?
4.How to check values populated at our extended segment inside we02-Transaction code.
say,the logic required inside the exit may be,
<b>Select single ladel from eikp into wa_ladel where refnr = (inbound delivery)</b>
In this,the ladel exists in eikp table as EIKP-LADEL field.
The main thing is- an inbound delivery is created at transaction code VL31N for which an outbound idoc(using an Exit )should be generated with few more validations for the fields like
i) ekpo-pstyp(corresponding IDOC segments are E1EDL26-PSTYV )
ii)ekko-lifnr and ekko-lichn(E1EDL24-LICHN )
Segment name-item(at transaction we63) Segment no.
iii) E1TXTP8-TDLINE => SCAC Code. 11
E1TXTH8-TDID => Z001. 10
iv) E1TXTP8- TDLINE => Primary seal number. 13
E1TXTH8-TDID => Z002. 12
v) E1TXTP8- TDLINE => Secondary seal number. 15
E1TXTH8-TDID => Z003. 14
5.Can you help me out to know the logic by which we can validate few fields from different tables like eikp,ekpo and ekko inside our Exit (in the project created at CMOD transaction?
With Regards,
SrividyaHi Swati Choudhary,
please ask your question in devlopment forum, please see its 2 yr old thread, and i don;t think Phileas Fogg still remember his stuffs. -
Hi Friends:
I've got the following urgent requirement.When we execute the transaction code for GR i.e. 'MIGO', there should a BDC triggered automatically in the background.This BDC should update the transaction code 'F.13' for automatic clearing.
I just wanted to ask if there is any kind of user/customer exit or BADI available so that a BDC can be linked to MIGO.I want this BDC to be triggered as soon as the MIGO gets saved.The data in F.13 should be updated is 'company code, fiscal year, assignment no(concatenate ebeln & ebelp), check G/L acct, put G/l acct. no, uncheck 'Test run').This BDC should run on a runtime basis i.e. we have to pick data one by one from MIGO.
I hope I've made my requirement clear.Is there anyone who have done this earlier & can give me a readymade guideline/example/code so that I can handle this urgent requirement.Is there any kind of confusion, please advise.I really need help on this.Please advise.Reward points will be there.If anyone want to send any material on this, please send on '[email protected]'.
Friends, I'll really be thankful for this help.
Thanks:
GauravHi Gaurav,
Following exits are available for MIGO:
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
Following exits are available for F.13:
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not s
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI docume
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Chang
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Tex
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segmen
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
Ashven -
Regarding user exit for FB60 Duplicate invoices
hi experts,
I want to fnd out how to check Duplicate invoices in fb60 and disallows posting.
Any kind soul can help?
Thnaq.Transaction Code - FB60 Enter Incoming Invoices
Exit Name Description
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
No of Exits: 14
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Hi All,
Could somebody tell me what is the user exit/FM for BENEFIT3 idoc with BENREP message type.
I need to extend BENEFIT3 and write a logic for the new segment.
Appreciate your help in advance.
Thank you.Hi Everybody,
Is any one implementing any of the Benefit idocs.
I would like to know if you are able to populate participation date on benefit idocs.
all the standard benefit idocs do not have participation date on it.
Appreciate any kind of input.
Thank you,
Mamatha -
Regarding user exit for me32l - Scheduling agreement
hi,
i am using the exit ZXM06U44 for both purchase order and scheduling agreement, but the thing is for purchase order the function module EXIT_SAPMM06E_006 is been triggerin for exproting and importing of the memory if of transaction type, know i need to find out the same thing for scheduling agreement , help me out in this plz.Check the user exit avilable for transaction ME31 and try to user the user exit which suit your requirement.
I am sending you the list of the enhancements available for ME31.
MEQUERY1
MM06E011
LMEKO001
LMEKO002
AMPL0001
LMEDR001
LMELA002
LMELA010
LMEQR001
LMEXF001
LWSUS001
M06B0001
M06B0002
M06B0003
M06B0004
M06B0005
M06E0004
M06E0005
ME590001
MEETA001
MEFLD004
MELAB001
MEVME001
MM06E001
MM06E003
MM06E004
MM06E005
MM06E007
MM06E008
MM06E009
MM06E010
MMAL0001
MMAL0002
MMAL0003
MMAL0004
MMDA0001
MMFAB001
MRFLB001
Let me know if it works.
Amandeep -
User Exit for Inbound IDOC FIDCCP02 - FIDCC2
Hi All,
I am working on DOC type extensions, I extended basic IDOC type FIDCCP02 with one custom segment. This IDOC is associated with message type FIDCC2.
Custom segment have five fields, one out of five only i found it is BSEG table, rest of four is custom fields.
Now i want move these custom fields to custom table ( i.e ZEXT ), but not to BSEG table. i need a help for USER EXIT in inbound system to move the data from custom segment to custom table.
<u><b>Hierarchy of the segments structure with the custom segment which I added:</b></u>
E1FIKPF : FI Document Header (BKPF)
1) E1FISEG : FI Document Item (BSEG)
1.1 ) E1FISE2 : FI Document Item, Second Part of E1FISEG (BSEG)
1.1.1) Z1FISE2: Custom Segment for FI Posting IDOCS
1.2 ) E1FINBU : FI Subsidiary Ledger (FI-AP-AR) (BSEG)
2) E1FISEC: CPD Customer/Vendor (BSEC)
3) E1FISET: FI Tax Data (BSET)
4) E1FIXWT: Extended Withholding Tax (WITH_ITEM)Hi Sridhar,
I am suggesting you what ever i know. If u want to move the data from custom segment to custome table, then build a strucutre which refer your custom Segment, and manually you need to move those values from custom segment to custom table. for this first move data from that custom segments to work area after that insert that work are to custom table, hope this helps ypu.
Regrads,
Kumar. -
User exit for extended idoc..
Hi,
I have extended inbound idoc and added segment.. i m using standard function "IDOC_INPUT_FIDCC2" for posting through idoc (FB70)..
now i want to do coding for the newly added segment.. however i m not getting customer exit where enhancement spot can be created for the logic...
i want to use function "SAVE_TEXT" in the customer exit.. so mainly once document is generated i can add FI note by using function "SAVE_TEXT"..
Please let me know which way i can achieve this (name of user exit ??)
Regards,Hi Santosh,
If you don;t have User EXit then copy FM IDOC_INPUT_FIDCC2" into 'Z' FM and write your code and define 'Z' FM into WE20 T-code.
Maybe you are looking for
-
I'm going to france will siri be able to help me with directions
I'm going to france will siri be able to help me with directions?
-
SRM 7.0 Database Refresh
Hi everyone, We are going to be performing a database refresh from our production system down to our development system. We would like to maintain the current org structure that is in development though. Does anyone know what tables we would need t
-
I have a problem with my phone, It comes off and I tried to switched it on and didn't work, I don't know the problem?
-
NEED HELP... Creating dynamic table from data file...
Hi I'm writing an application for data visualization. The user can press the "open file" button and a FileChooser window will come up where the user can select any data file. I would like to take that data file and display it as a table with rows and
-
Generic Datasource with Delta and functionmodule
Hi together, who can help me ?? Ihave created a generic datasource with function module and delta. the extractor runs well while i use full update and also initialization. If i start the delta extraction, the extractor crashed with short-dump. the me