Fill extension1 User-Exit LACC4F10
Hi dear friends,
I'm having a lot of trouble activating ACBAPI01 user-exit.
When calling user-exit in LACC4F10 there is the following code:
check not t_extension[] is initial.
read table it_acchd index 1.
call customer-function '001'
tables
t_accit = it_accit
extension = t_extension
return = lt_return
t_accwt = it_accwt
changing
t_acchd = it_acchd.
I don't know how or where to fill t_extension, i tried to apply Note 419666, which basically coments that line:
CHECK NOT t_extension[] IS INITIAL note 419666.
but that note can't be implemented anymore, i don't know what else to do. I search every note and forum but still can't figure out how to fill that structure. With that condition i can never get into zxaccu15.
Please i request your help.
Would be very grateful,
Daniel Sinani
Hi Daniel,
Basically this t_extension is related to BAPI 'BAPI_ACC_GL_POSTING_POST'. If there are any user defined fields to be populated then the extension1 table is filled in bapi which comes as T_EXTENSION in your exit. If there is nothing then user exit is not at all invoked.
But i want to know how you reached to this point of user-exit.
I mean why are you using this user exit.
One crude way of breaking this problem is (only if the above mentioned BAPI is executed), fill extension 1 table with some data at least one line. Then the CHECK condition in the include gets satisfied and you will reach user exit.
Regards,
Ramesh.
Similar Messages
-
Extended IDOC DEBMAS06 (MSG-Type DEBMAS) can't be filled using user EXIT
Hi,
I'm having a problem trying to fill an additional created segment (extension) for the IDOC DEBMAS06.
This IDOC is generatede from an ALE szenarion
and I need additional fields to fill using my extension.
With CMOD I created a new project using the enhancement VSV00001 (User exit Customer and vendor distribution Receipt/issue) to fill the additional field but, no way.
My extension segment will not appear onto this user exit.
I tried to search new exits, tried to make additional settind using ALE customizing but again now way, this onw extended segment will not come up in the user exit.
Please Help !
Many thanks
GaspareWhat do you mean by "My extension segment will not appear onto this user exit."? It will not be there, you will have to fill it and append it to the EDIDD table. In thh user exit, you will append the records for segment zzzzz(your extended segment) at the appropriate place.
Say the standard IDOC has the structure like below
A
--B
--C
D
and you added extended segment at the same level as B and C. In that case, you have to append the new segment records at the end.
If you added your segment as a child segment of B, then you will have to insert the records into the EDIDD table before the C segment.
Srinivas -
BPS Attribute as Variable filled with User-Exit
Hello,
how is it possible to set a variable from the type "attribute" in BPS with an User-Exit?
Example: Characteristic = Material, Attribute = Material class
How can I set valid entries for Material class in a User-Exit?
Thanks for help in advance
EckhardEckhard,
You can solve this by using characteristic relationship type exit. there you can put a function where you can find the values for the attribute material class.
greets,
Jeroen -
Hi,
I am trying to populate a fiscal year period (from and to) dynamically using a user exit variable. The fiscal year selection is for data slicing at the planning area.
Anyone has an idea of how I can achieve this ? Some function module lines will be appreciated.
Regards,
ucheHi Uchenna,
i don't clearly understand your scenario, but i there's a great HOWTO for user exit variable. If you specify your mail i can send you.
However i have created an user exit var filled with the entries on a customer table, follows the code:
FUNCTION z_sem_bps_slice_comp.
""Interfaccia locale:
*" IMPORTING
*" REFERENCE(I_AREA) TYPE UPC_Y_AREA
*" REFERENCE(I_VARIABLE) TYPE UPC_Y_VARIABLE
*" REFERENCE(I_CHANM) TYPE UPC_Y_CHANM
*" REFERENCE(ITO_CHANM) TYPE UPC_YTO_CHA
*" EXPORTING
*" REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL
CONSTANTS:
*l_source_var TYPE upc_y_variable VALUE 'SOURCE',
*l_source_area TYPE upc_y_area VALUE '4PERF001',
l_use_restricted_values TYPE boole-boole VALUE ' ',
l_buffer_call TYPE boole-boole VALUE 'X'.
DATA:
l_type LIKE upc_var-vartype,
lto_varsel_all TYPE upc_yto_charsel,
lto_varsel TYPE upc_yto_charsel,
lto_var TYPE upc_yto_charsel,
lto_chanm TYPE upc_yto_cha,
z_noslice(1) TYPE n.
BREAK-POINT.
DATA: ls_varsel TYPE upc_ys_charsel,
lt_chavl TYPE STANDARD TABLE OF zcompslice,
ls_chavl TYPE zcompslice.
HERE I FILL LT_CHAVL WITH THE VALUE IN THE CUSTOMER TABLE
CLEAR:lt_chavl,ls_chavl,z_noslice.
REFRESH:lt_chavl.
SELECT zsocieta FROM zcompslice INTO TABLE lt_chavl
WHERE zflag = 'X'.
IF sy-subrc <> 0.
z_noslice = 1.
ENDIF.
HERE YOU FILL THE "USER EXIT VAR" WITH PROPER VALUE EXTRACTED ABOVE, LT_VARSEL IS THE TABLE FOR THE OUTPUT VALUE OF THE USER EXIT VARIABLE
IF z_noslice EQ 1.
ls_varsel-seqno = '0000'.
ls_varsel-chanm = '0COMP_CODE'.
ls_varsel-opt = 'EQ'.
ls_varsel-sign = 'I'.
ls_varsel-low = '#'.
APPEND ls_varsel TO eto_charsel.
ELSE.
ls_varsel-seqno = '0000'.
ls_varsel-chanm = '0COMP_CODE'.
ls_varsel-opt = 'EQ'.
ls_varsel-sign = 'I'.
LOOP AT lt_chavl INTO ls_chavl.
ls_varsel-seqno = ls_varsel-seqno + 1.
ls_varsel-low = ls_chavl-zsocieta.
APPEND ls_varsel TO eto_charsel.
ENDLOOP.
ENDIF.
ENDFUNCTION.
Hope it helps
Fabio -
User Exit / BADI for MIRO in order to Fill G/L Account Automatically
Hello!
Recently I've got a request asking me to fill the G/L Account table control in MIRO transaction using an User Exit or BADI. I'm able to find all the information needed to complete this task, but can't seem to find a way to insert that data in the G/L table control. They want this data uploaded as soon the user inserts the PO number and loads everything. Is this possible?
Thanks in Advance
Regards,
Moises FrancoHi.
Find appropriate place in code to realize your task
and insert GL data using corresponding BAPI. -
Purchase order : user-exit to fill new field in table EBAN
Hi,
in EBAN table i created a new field named ZTYPE_SITE. Now i would like to fill this field when i save my purchase requisition. I don't found the user-exit or BADI to do that.
Thanks for help.
Cheers.up
-
User exit to check the consistency of filled fields before saving
Hi,
I am looking for a User Exit which can be executed when a user click on "Save" button.
In this User Exit, I would like to implement some controls to check the consistency of filled fields.
I have an example to better understand : I work on transaction code ME11 and ME12 (create and modify Info Record). When all mandatory fields are filled, the user can save its. When the user click on "Save" button, I want that a checking (with a user exit, or anything else) verify the consistency of some fields (for example, the consistency between the Tax code of the country and the country of the supplier).
If it's not clear, I could precise...
Thanks in advance for you help...Hi,
I am looking for a User Exit which can be executed when a user click on "Save" button.
In this User Exit, I would like to implement some controls to check the consistency of filled fields.
I have an example to better understand : I work on transaction code ME11 and ME12 (create and modify Info Record). When all mandatory fields are filled, the user can save its. When the user click on "Save" button, I want that a checking (with a user exit, or anything else) verify the consistency of some fields (for example, the consistency between the Tax code of the country and the country of the supplier).
If it's not clear, I could precise...
Thanks in advance for you help... -
Problem in filling Custom segment data using User Exit for ZORDERS05
Hi,
I am using Process Code SD10 to generate the custom Idoc ZORDERS05.
The function module used is IDOC_OUTPUT_ORDRSP.
I am able to succesfully generate the Custom Idoc (VA02->Extras->Header->Edit) but unable to populate the custom segments in the IDOC.
I have tried to write the code in User Exit EXIT_SAPLVEDC_003 -> ZXVEDU15. But still I'm unable to populate the Z segments.
Even though I place a break point in the FM or in the User Exit during the generation of Idoc the control doesn't stop in FM nor in the User Exit.
I am unable to understand how to go about this.
Can anybody please help me with this?
Thanks in Adavance,
Rohan.Okay I under what you are speaking about NACE.
Yes that configuration has been done and I am sucessfully able to generate the IDOC.
But even though I know that in FM IDOC_OUTPUT_ORDRSP, I have to write code in User Exit EXIT_SAPLVEDC_003 to populate the Z segments; I'm unable to understand y the control doesn't pick the FM and Exit.
Right now I have code in the Exit to fill Z segments.
Thanks
Rohan. -
Filling custom VBAK field in user exit EXIT_SAPLVEDA_001
Hai Experts,
I created code and activated the user exit EXIT_SAPLVEDA_001.
Via an iDoc i want to fill a custom field which is in VBAK.
EXIT_SAPLVEDA_001 has an changing parameter type dxvbak, after user exit is triggered for the right segment, the custom field is not update in the database tabels!.
Do i need to take further action?!
Code below
*& Include ZXVEDU03
DATA: BEGIN OF lw_dxvbak. "Kopfdaten
INCLUDE STRUCTURE vbak.
DATA: bstkd LIKE vbkd-bstkd.
*DATA: KURSK(8) TYPE C.
DATA: kursk LIKE vbkd-kursk. "Währungskurs
DATA: zterm LIKE vbkd-zterm. "Zahlungsbedingungsschlüssel
DATA: inco1 LIKE vbkd-inco1. "Incoterms Teil 1
DATA: inco2 LIKE vbkd-inco2. "Incoterms Teil 2
DATA: prsdt LIKE vbkd-prsdt. "Datum für Preisfindung
DATA: angbt LIKE vbak-vbeln. "Angebotsnummer Lieferant (SAP)
DATA: contk LIKE vbak-vbeln. "Kontraknummer Lieferant (SAP)
DATA: kzazu LIKE vbkd-kzazu. "Kz. Auftragszusammenführung
DATA: fkdat LIKE vbkd-fkdat. "Datum Faktura-/Rechnungsindex
DATA: fbuda LIKE vbkd-fbuda. "Datum der Leistungserstellung
DATA: empst LIKE vbkd-empst. "Empfangsstelle
DATA: valdt LIKE vbkd-valdt. "Valuta-Fix Datum
DATA: kdkg1 LIKE vbkd-kdkg1. "Kunden Konditionsgruppe 1
DATA: kdkg2 LIKE vbkd-kdkg2. "Kunden Konditionsgruppe 2
DATA: kdkg3 LIKE vbkd-kdkg3. "Kunden Konditionsgruppe 3
DATA: kdkg4 LIKE vbkd-kdkg4. "Kunden Konditionsgruppe 4
DATA: kdkg5 LIKE vbkd-kdkg5. "Kunden Konditionsgruppe 5
DATA: delco LIKE vbkd-delco. "vereinbarte Lieferzeit
DATA: abtnr LIKE vbkd-abtnr. "Abteilungsnummmer
DATA: dwerk LIKE rv45a-dwerk. "disponierendes Werk
DATA: angbt_ref LIKE vbkd-bstkd. "Angebotsnummer Kunde (SAP)
DATA: contk_ref LIKE vbkd-bstkd. "Kontraknummer Kunde (SAP)
DATA: currdec LIKE tcurx-currdec. "Dezimalstellen Währung
DATA: bstkd_e LIKE vbkd-bstkd_e. "Bestellnummer Warenempfänger
DATA: bstdk_e LIKE vbkd-bstdk_e. "Bestelldatum Warenempfänger
DATA: END OF lw_dxvbak.
CASE segment-segnam.
WHEN 'ZE1EDK18' . " Name of customer segment
MOVE segment-sdata TO ze1edk18.
lw_dxvbak-zkostl = ze1edk18-zkostl.
MOVE lw_dxvbak TO dxvbak.
ENDCASE.
Edited by: Richard van Veen on Mar 9, 2011 1:43 PMFilled dxbdcdata with following values!
DATA lw_dxbdcdata LIKE LINE OF dxbdcdata.
CASE segment-segnam.
WHEN 'ZE1EDK18' . " Name of customer segment
MOVE segment-sdata TO ze1edk18. " Data receives structure
lw_dxvbak-zkostl = ze1edk18-zkostl. " Copy to application table
MOVE lw_dxvbak TO dxvbak.
lw_dxbdcdata-program = 'SAPMV45A'.
lw_dxbdcdata-dynpro = '0101'.
lw_dxbdcdata-dynbegin = 'X'.
lw_dxbdcdata-fnam = 'ZKOSTL'.
lw_dxbdcdata-fval = ze1edk18-zkostl.
append lw_dxbdcdata to dxbdcdata.
ENDCASE. -
QM01 USer Exit to fill Coordinator Partner field for notification type Q3
am working on Notification creation Transaction QM01. The requirement is,
The user selects Notification type "Customer Complaint" & Provides Sales Order Number & Item number.
In the Reference Objects Tab, User fills Coding , Description , Subject fields.
Now when the user clicks on Save, I should fill the Coordinator field(To see this field the navigation is, in the menu Goto-> partners ) automatically based on some input criteria.
So when I Click on Save button before any user exit/BAdi gets called, I am getting the erorr message "Enter the mandatory partner".
I have cheked a few user exits & none of them gets called after save & before the error popup.
please give idea about implicit enhacnement ?
Could you please let me know how to fill Coordinator field automatically?Hi ,
You can check following user exit.
QQMA0029
QQMA0019
QQMA0025
Thanks
Shambhu -
QM01 USer Exit to fill Coordinator Partner field
Hi Experts,
I am working on Notification creation Transaction QM01. The requirement is,
The user selects Notification type "Customer Complaint" & Provides Sales Order Number & Item number.
In the Reference Objects Tab, User fills Coding , Description , Subject fields.
Now when the user clicks on Save, I should fill the Coordinator field(To see this field the navigation is, in the menu Goto-> partners ) automatically based on some input criteria.
The Coordinator field is set as mandatory in VOP2 Transaction. So when I Click on Save button before any user exit/BAdi gets called, I am getting the erorr message "Enter the mandatory partner".
I have cheked a few user exits & none of them gets called after save & before the error popup.
Could you please let me know how to fill Coordinator field automatically?
Regards,
Sudhakar RayalaFoundout a work around for it....Solved myself using implicit enhacnement
-
I need a user exit that will fill an append which is on structure KOMKBV2. I am using this structure for in an access sequence on a shipping notification (V2 application area). I need to use the Payer (KOMB-KNRZE) but the issue is that KNRZE is in KOMB but it isn't in KOMKBV2. To solve this I put an append (ZZKNRZE) on both KOMB and KOMKBV2 but I then need to fill KOMKBV2-ZZKNRZE in a user exit.
I imagine this user exit will be on VL02n AFTER the PGI; this output type is only triggered after the PGI is done (we check for that in a requirement).
Regards,
DavisI found it. Include RVCOMFZZ.
-
Material document automatic fill position with user exit or BADI in MB1B
Hi gurus,
We have this requeriment.
We need to modify a material movement via customizing and enable a new field (Order) in it. (At header's level)
After that, in MB1B, we need that after input a maintenance order in that field, the first position in material document will be filled with material and quantity from the order.
The question in...is there any user-exit or badi that allows me to do this implementation??
A lot of thanks!!
Edited by: Cap_ES on Oct 27, 2009 8:30 AMAs i saw, this requeriment is not possible.
I'll close the post. -
User-exit or BADI to fill cost center if we know personal number in FB60
Hi experts,
When we enter a vendor invoice in FB60, if we know Personal Number, can we get its Cost Center automatically from PA0001 when we press "Enter"?
Is there an user-exit or Badi which can be triggered when we press "Enter" or how we do the configuration?
Thanks for your helps.Hi
I believe there isn't a BADI or EXIT allows to change item data, I usually use the exit to change the item text EXIT_SAPMM07M_001 (the BADI MB_MIGO_ITEM_BADI should be the same thing) where I change the data by field-symbols:
FIELD-SYMBOLS: <KOSTL> TYPE MSEG-KOSTL.
ASSIGN '(SAPMM07M)MSEG-KOSTL' TO <KOSTL>.
<KOSTL> = .......
Max -
User exit for filling the payment block
Hello,
I need the user exit for popuating the payment block(RBKP-ZLSPR ) while posting the FI invoice thru MIRO.
Any inputs would be of great help.
Thanks!
Praveena.Hi,
Try with these userexits
Enhancement/ Business Add-in Description
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Assign points if useful.
Maybe you are looking for
-
My time capsule was updated through an apple download update on June 16, and now I cannot back up my computer. The message is that there is not enough space. I tried deleting my files, but it didn't help. any suggestions?
-
Creation of GR from Contract using bapi BAPI_GOODSMVT_CREATE
Hi, As per requirement I need to create a GR for Contract line item. I tried to create using BAPI BAPI_GOODSMVT_CREATE but It returns the error message. I tried with GM_CODE '05', so could you please let me know which are the parameters I need to p
-
Struck up with R3AD_* Queues in SMQ1(Outbound Queue in ECC Side)
Hi , I am using CRM Middleware for replicating business partner(BP) from CRM to ECC and material from ECC to CRM. BP and Materials are replicating well. My Issue is, while checking queues in SMQ1 (Outbound Queue in ECC Side), i am getting many queues
-
Firefox nolonger opens a page in a background tab when i middle click [SOLVED]
firefox nolonger opens a page in a background tab when i middle click, the setting is set to open in background tab, but when i middle click on a link it always switches to the new tab or a random tab that is already open. i have tried installing fir
-
Highlighting a character in iMovie
I am trying to figure out if it is possible to highlight my daughter playing in a soccer match so she will be more easily identifiable from the other players in the iMovie I am attempting to make.