User exit for add partner in delivery document when execute then tx-vl06
Hi,
I try to add new partners in delivery document when I execute the transaction vl06. For this, I use the user exit MV50AFZ1 where I implement the code that add new registers in table XVBPA. This solution doesn't work because it doesn't add new partners in delivery document.
CLEAR XVBPA.
XVBPA-MANDT = '010'.
XVBPA-VBELN = LIKP-VBELN.
XVBPA-POSNR = '000000'.
XVBPA-PARVW = 'ZC'.
XVBPA-PERNR = '00000045'.
XVBPA-ADRNR = '0000000000'.
XVBPA-LAND1 = 'ES'.
XVBPA-ADRDA = 'D'.
APPEND XVBPA.
CLEAR XVBPA.
XVBPA-MANDT = '010'.
XVBPA-VBELN = LIKP-VBELN.
XVBPA-POSNR = '000000'.
XVBPA-PARVW = 'SP'.
XVBPA-LIFNR = '0000000491'.
XVBPA-ADRNR = '0000083037'.
XVBPA-LAND1 = 'ES'.
XVBPA-ADRDA = 'D'.
APPEND XVBPA.
Please, anybody knows others solutions.
Thanks for your help.
Xevi G.
Hi Ram Ki,
It doesn't work. When I execute the transaction vl06g, the flow doesn't pass for this user exit.
Thanks for your comment.
XeviG.
Similar Messages
-
User exit for FB60 after POSTING the Document.
Hi,
I have requirement with FB60 transaction where i have to display the error message to the user if the amount of the invoice is greater than some threshold value( this will be maintained in the custom table) to park the document .
I have created project with enhancement SAPLF051 using the exit EXIT_SAPLF051_002 it is triggering only when parks the document .
But my requirement is i need an enhancement which trigger after user posts the document.
Please help me...
regards
paveee.....Hi
Following are the available user exits for fb60 transaction...
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 sen
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
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)
If you still not find appropriate exit, go for badi's...
1)To search for a badi, go to se 24 display class cl_exithandler.
2) double click on method get_instance,
3) get a break point on case statement. execute and start the required transaction in new session.
4)look for variable exit_name. It would show the available badi's.
<b>Please do reward if useful</b>
Regards
Dinesh -
User Exit for transferring text from delivery -Item note to Accounting doc.
Hi Experts ,
I need an user exit where I can transfer the delivery item text (item note ) from outbound deliver to accounting document when the post goods issue (PGI ) is done .
Please suggest.
Thanks in advance
Tanveer KhanI have got the function Exit EXIT_SAPMM07M_001. Which resolves the purpose...Thanks for your time..
-
User exit for MIGO after the material document is created?
hi guys ,
I have requirement like after the material document was creted in migo i need to call my new transcation. can any one please let me know how i have to solve this ?
Moderator Message: Unfortunately, this is not a training forum and we can teach all about Exits and Badi's. I suggest you take a classroom course..... or do some R&D first
Edited by: kishan P on Nov 30, 2010 11:57 AMHi
U need to create a FM with UPDATE MODULE attribute checked: so you fm can be run in UPDATE TASK
This fm has to have the same interface of the method of the BAID (or user-exit) or a parte of it, if you don't need to use all parameters of the interface.
All code to schedule the job has to be placed in this fm: you can use the fm JOB_OPEN and JOB_CLOSE in order to scheule a job programmatically.
Call this fm in the BADI, the call has to be in UPDATE TASK, in this way your porgram can start as soon as all updating processes are over
Max -
User exit for checking Goods Receipt, Non-Valuated when creat po (ME21N)
Hi All:
I want to check the field of Goods Receipt, Non-Valuated when i create PO with ME21N.
It require as plant and Account assignment category
For example, plant A and account assignment category (K), I want to check it.
How can I do this?
Please help me.No need for any user exit , you can copy the account assignment category "K" and make your own , in that account assignment category you can tick "GR-Nonvaluated" , then whenever you create a PO with this category "GR-Non Valuated" will come ticked automatically.
Regards
Raviraj -
BADI/USER EXIT for MIGO while generating FI Documents.
Hi Friends,
In MIGO T.Code when posting the GR, we'll get the Material Documnent right, at the same time it will
generate an Accounting Document in background and the same will update in BKPF/BSEG Tables.
Mine requirement is when ever the entries are updating into thr Finance tables, i need to manipulate the line items and the updated line items needs to be upadted to BSEG table.ERO.
Is there any EXIT or BADI or Enhancement or any Enhancement Point while posting the entries to FI with transaction MIGO.
Regards:
Swamy Dikonda.Dear Saravaran,
Thanks for the reply.
This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
Hope you could have understand mine requirement.
The requirement of mine is:
While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet will be generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
Thanks.
Regards
Swamy -
User exit for automatic posting of accouting document
Can anybody tell me the userexit. Which is called during automatic posting of accounting document during billing in ECC 6.0 environment.
There is no SD data to findout by debug in my system.
Regards,
Chandra KumarValdiations used
-
User exit to change partner for inbound delivery creation
Hello,
I have a requirement to change the partner number for
the inbound delivery creation.
I only see the USEREXIT_MOVE_FIELD_TO_LIKP but I am not sure if this is
the right user exit for this requirement.
Is there the user exit for modifying partner in the inbound delivery?
Thanks in advance,HI
There is a program with which you can find the available exits as per your requirement. You have to execute the same and give your transaction code. Hope this helps...
*& Report ZFINDUSEREXIT
report zfinduserexit.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
<b>Do reward if useful...</b>
Regards
Dinesh -
Hi All,
Can any help me regarding the user exit for transaction VF04. the requirment is
When i click Display Billing List Button it will show up a alv report for "Maintain Billing Due List". when i select some Documents and click SAVE then it will generate Invoice. The enhancment should happen along with the INVOICE generation the Printing of Invoice should happen.
If any one of you have done this kind of requiement please help me.
regards,
Lakshmikanth.T.VHi,
Would be much easier, when you tell us the exit you are talking about.
I searched and found exit EXIT_SAPLV60P_008. When you have a look into the calling of this exit (where-used-list), then you will find routine vkdfs_data_display in include SDBILLDL.
That's immediately before ALV-display, obviously this whole routine is never called in batch.
But in batch you have EXIT_SAPLV60P_009, EXIT_SAPLV60P_010... maybe you should make a search for a better (or second) place for your enhancements.
Regards,
Bhaskar -
User Exit for EA05 Transaction
HI,
I want a user exit for Releasing the Outsorted Invoice Document in EA05.
I need to put a Validation for the Posting Date and the Document Date which are showed as a Pop-up after Release Document is Clicked.
How do I find out a user exit for this requirement?This is a list of user exit for EA05. Check if u can find somethig useful.
EBIA0001 IS-U: User-Defined Fields in Billing Document
EBIA0002 IS-U: proration according to customer-specific dates
EBIA0003 IS-U: customer-defined checks in billing and overall check
EBIA0004 IS-U: Customer Exit for Ext. Calculation of Compressibility
EBIA0005 IS-U: Termination control of mass runs
EBIA0006 IS-U: period control - determin. of time portions in billing
EBIA0007 IS-U: customer-defined activities in billing reversal
EBIA0008 IS-U: customer-defined activities in billing reversal update
EBIA0009 IS-U: adjustment for move-in/out: to the day/month-based
EBIA0011 IS-U: Billing update
EBIA0012 IS-U: Fill Customer Data in OBJ billing object
EBIA0013 IS-U: Customer Checks in Billing Selection
EBIA0014 IS-U: Filling Customer-Specific Fields in Manual Billing
EBIA0016 IS-U: Determination of Billing Calorific Value
EBIA0017 IS-U: Individual Document Display
EBIA0018 IS-U: Customer conditions for backbilling line summary
EBIA0019 IS-U: Customer-Specific Invoice Comparison
EBIA0020 IS-U: Change Current Period for Dynamic Period Control
EBIA0021 IS-U: Change Billing Period for Dynamic Period Control
EBIA0022 IS-U: Change contract sequence for billing
EBIA0023 IS-U: Validations for Facts
EBIA0024 IS-U: Enhancement for Determination of Special Oper. Values
EBIA0025 IS-U: Determ. of Alternative Weighting for Measured Qtys
EBIA0026 IS-U: Postprocessing of Gas Factors
EBIA0027 IS-U: Enhancement Authority Check of Facts
EBIA0028 IS-U: Enter/Save Customer Facts in Billing Object
EBIA0029 IS-U: Permit Multiple Adjustment Reversal
EBIC0001 IS-U: Determine Evaluation Group for Consumption History
EBIS0001 IS-U: user exit for external prices (EBL)
EBIS0002 IS-U: Enhancement for rate type and rate fact group
EBIS0003 IS-U: reference values - integration of user-defined fields
EBIS0004 IS-U: front office output of historical consumption values
EBIS0005 User exit for transferring installation facts
EBIS0006 IS-U: Rate Category - Subscreen Inclusion and Field Check
EBIS0007 IS-U: User-Exit for Checking Prices
EBIS0008 IS-U: User-Exit for Checking Level of Calorific Value
EBIS0009 IS-U: Enhancement for displaying the currency in the facts
EBIS0010 IS-U: Enhancement for User-Defined Transport Control
EBIA0015 IS-U: Backbilling Customer Exit
Bye,
Gabriele -
Hi,
Can anyone help me with user exit for KO01.The requirement is that when the user
enters <b>Order Type</b> after setting <b>Controlling Area</b> there must be a check validating the order type with controlling area i.e to restrict the order type based on controlling area.Here i cannot use the authorization concept as same the user has authorization for two or more Controlling Area's.
This validation must happen in the initial screen before going to creation of internal order.
It will be of great help if anyone can guide me out.
Thanks,
Vamsi KrishnaHi,
Thanks a lot for replying.Actually i know that these are the existing user exits.
COOPA002 ,COOPA003 , COOPA004 , COOPA_01.. but if i keep a breakpoint on these and execute KO01, It is not going into to debugger for any of the above user exits.
I Exactly want the exit which will processed after pressing enter in the first screen of
KO01...so that i can validate Order Type with CO area
Thanks,
Vamsi Krishna -
User Exit for PO asociated ME21N
Hello experts,
I have a requeriment and I need to find user exit for ME21N. The point is when standard PO is created I need to validate the amount item with values on a ZTABLE.
I will appreciate it any info. Points rewards
TokioHi!
in SMOD give MM06E005 enhancement
FM name
EXIT_SAPMM06E_017
This will be triggered during saving.
Regards
Tamá -
User exit for partner determination in delivery document
Hi,
Can some one suggest an user exit for partner determination in delivery document.
We have a scenario of excluding certain plants for few of the partner determinations in delivery document..
Please suggest
Regards
RavikumarHello Ravikumar,
Please ceck if these userexits help
Normally there are 2 userexits available in function kopierte_partner_pruefen:
- EXIT_SAPLV09A_003
- EXIT_SAPLV09A_004
Regards,
Raghavendra YN -
User Exit for Delivery to add Profit Centre
Hello All,
I need the User Exit to Add the Profit Centre at Delivery level..!
I tried in this MV50AFZ1 Form FORM userexit_move_field_to_lips.
but its not working...
So please let me know the userexit and the code..!
Thanks in Advance
Regards
BabuHi Prabhu..
We need to maintain the profit center derivation rule in the delivery or billing document, i.e. if batch no starts as A- Profit center-1000, B -Profit center-2000. We have used some user exit in order and working fine. where as our client is interested to have same in delivery or billing document. The profit center should be determined as per batch no starts and not as maintained in the material master.
now I did it in Delivery its working fine only in Delivery but its not carrying to Billing
so please help me out which carries for entire cycle
my code is like this
Include MV50AFZ1
FORM userexit_save_document_prepare.
LOOP AT xlips.
IF xlips-charg+0(1) EQ 'D'.
xlips-prctr = '0000001000'.
ELSEIF xlips-charg+0(1) EQ 'E'.
xlips-prctr = '0000001200'.
ELSEIF xlips-charg+0(1) EQ 'R'.
xlips-prctr = '0000001300'.
ELSEIF xlips-charg+0(1) EQ 'M'
OR xlips-charg+0(1) EQ 'P'
OR xlips-charg+0(1) EQ 'N'
OR xlips-charg+0(1) EQ 'U'
OR xlips-charg+0(1) EQ 'H'
OR xlips-charg+0(1) EQ 'L'
OR xlips-charg+0(1) EQ 'S'
OR xlips-charg+0(1) EQ 'O'
OR xlips-charg+0(1) EQ 'Y'
OR xlips-charg+0(1) EQ 'B'
OR xlips-charg+0(1) EQ 'A'
OR xlips-charg+0(1) EQ 'I'.
xlips-prctr = '0000009001'.
ENDIF.
XLIPS-UPDKZ = 'U' .
MODIFY xlips.
CLEAR xlips.
ENDLOOP.
ENDFORM. "USEREXIT_SAVE_DOCUMENT_PREPARE
Thanks
Regards
Babu Aeda -
Billing user exit for partner determination/substitution
Hi ,
For my SAP ERP , I need a Billing user exit for partner determination/substitution .
If somebody has the info .
Thank'sHi,
User Exits For Billing:
- USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
The internal number range used in the standard system is specified
in the billing type table and can be changed in this user exit. This
user exit is only called when the billing documents is created.
- USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
In this user exit additional fields for account determination that
are not provided in the standard system are copied into
communication structure KOMKCV (header fields).
- USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
In this user exit additional fields for account determination that
are not provided in the standard system are copied into
communication structure KOMPCV (item fields).
- USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
Depending on the number range, table TVFKD is used to set the
billing date (country-specific requirments in Italy).
USEREXIT_NUMBER_RANGE is automatically deactivated when this user
exit is being applied.
- USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created.
It is used to provide the header and the item of the new billing
document with deviating or additional data.
- USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
Printing the item line of a billing document can be supplemented or changed.
- USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Printing the header line of a billing document can be supplemented or changed.
- User exits in program RV60AFZD
Short descriptions of the user exits are contained in the program:
- USEREXIT_RELI_XVBPAK_AVBPAK
- USEREXIT_NEWROLE_XVBPAK_AVBPAK
- USEREXIT_NEWROLE_XVBPAP_AVBPAK
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
- EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
- EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
- EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
- EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
- EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
- EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
- EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan parameters in the GL account item.
- EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD After the accounting document is filled in with data, you can use exit 008 to change the document once again.
- EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines before they are created.
- EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
You can use this exit to change inbound parameters in order to influence account determination.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
Maybe you are looking for
-
I cannot figure out how to sync my contacts and calendar from my iphone with my windows PC. The message during the itunes sync process is that information is being backed up to both the cloud and my PC. However the Outlook software remains blank.
-
CS2 issues, best version of Photoshop to use with AGS?, workarounds?
It looks like there's some compatibility issues with AGS and CS1/CS2. What's the best version of Photoshop to use with AGS, and like everyone asks, anyone know of an update coming? My problem btw is that I'm generating many .gif images from 1 source
-
Update to 10.9.1 and restart again and again
Hi, I want to update my MBP 13" 2012, i5 2.6G, 8G to 10.9.1 from 10.9. When I clicked UPDATE button, it told me I need to restart. After restarting there is a message says I have successfully updated but the system is still 10.9. There is still a mes
-
1D array is interpreted as a row in Excel. How to make it a column?
I try to copy a 1D array from labview to a worksheet in Excel. A 2D array whith a range works fine, but a column from a 2D does not work. All I can do is to copy it as a row, not as a column. How can I do it? Attachments: testColumnExcel.exe 89 KB t
-
Migrate Authorization BI 7.0 from R3
Hi experts, I need to migrate my authorization structure from R3 to my BI system. I need the same roles in BI and in R3. Somebody knows how I can migrate it? Thanks a lot, Patricia. Points will be given...