ASAP:User exit
Hi,
Please explain me the following things
1)What is an user exit?
2)In my scenario the tax is not calculated in the invoice so now have to populate these 2 fields E_RBKPV-MWSKZ_BNK
E_RBKPV-TXJCD_BNK in the user exit EXIT_SAPLMRMH_014.How to do?
Hi
you do not need to execute the program.
you need to run the invoice appication.
for eg: if you want to display the invoice for billing ....
go to tcode va03 and in the menu bar ......
sales document -
> issue output...
and if extrenal breakpoint is set in the code level (print program) the cursor will go there.
similarly you need to execute your invoice application
hope this help
regards
Abhimanyu
Similar Messages
-
User exit for sales order creation VA01.
Hi friends,
While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
which should contain
1)customer(sold-to -party?KNEX-KUNNR)
2)partner function PARVW (VBPA-PARVW?)
3)country LNDEX KNEX-LNDEX
Functional spec says, 1)V45A0002
2)V45A0003
3)V45S0001
4)V50EPROP User exits can be levaraged.
1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
remaining i tried, but I am not able to get the proper PARVW, LNDEX from function module parameters / structures like VBAP/VBPA etc.
Please help me the way.
i) the above user exits can be used?if not, help me with user exit name.
ii)if yes, how to fetch PARVW , LNDEX, KUNNR...as all the primary keys must be used in the selection query.
Please help me ASAP.Hi,
Use this enhancement V45A0002.
Reward points if it helps,
Satish -
Need of User-Exit in the creation of Sales Order(VA01)
Hi,
In the creation of Sales Order, I need to Compare the Ordered Quantity and Confirmed Quantity. If the CQ is less than OQ I need to create one more line item with the same material for the rest of the quantity and send the request to Production order for the remaining quantity. For this I am unable to get the exact exit. Please help me in this regard ASAP.
Thank you.the following program are the user exit for billing.
we often use RV60AFZC and RV60AFZZ.
RV60AFZA
RV60AFZB
RV60AFZC
RV60AFZD
RV60AFZZ
RV60BFZA
For Sales order
Pricing, item addtion deletion
MV45AFZZ
First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
Hope this helps somehow.
In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
regards
vinod -
New include proram -user exit- sales order
hi
i have to create a new screen which has to be displayed as a pop up
from the user exit "<u>userexit_save_document_prepare"</u> which is present in MV45AFZZ
the processing logic for the screen should be written in include program which is to be included in the specified userexit.
the include program which i created while syntax checking shows
"include <u>prg-name</u> is not accesible".
why this is occuring.
Another question is whether can i write the modules for pbo,pai and the subroutines i.e form & end-form all in the include program which iam creating.
It is showing incorrect nesting. write end-form for the form before moduele.
whether i have to write PBO,PAI,subroutines in independent include programs.
Please give reply ASAP.in that case then
call like this
perform check (in program).
<b>what i am thinking is THIS program in Update Mode may be bcos of that.</b>
Regards
prabhu
Message was edited by:
Prabhu Peram -
Urgent: User Exit (ZXM06U02) have some problem in coding.
Hi All,
This is regarding the user exit,
The present issue is.
When sending the PO to supplier portal, the outbound IDOC segment does not get populated properly. The text format = is again converted to space in ECC 6.0 which was not the case with 4.5B.
This is an upgrade issue as the function module used to format text FORMAT_TEXTLINES is completely different in ECC 6.0. The entire code of this function module in 4.5B has been commented in ECC 6.0 and new code has been implemented which splits the text and inserts spaces while formatting as shown below.
This issue can be resolved by implementing a customer exit which gets called after standard SAP populates the IDOC. It requires implementing custom code to remove the unwanted spaces inserted by standard SAP for text id F07. Hence after SAP completes its processing to populate the IDOC, the text would be processed further to remove unwanted spaces before actually sending the IDOC out from SAP R/3.
Thus this upgrade issue resolution requires R/3 development,
<b>I write the code in exit include ZXM06U02</b>:
Coding part:
DESCRIBE TABLE int_edidd LINES tabix.
READ TABLE int_edidd INDEX tabix.
IF int_edidd-segnam = 'E1EDPT2'.
CLEAR E1EDPT1.
CLEAR E1EDPT2.
Check whether its higher level segment E1EDPT1 has F07 in field E1EDPT1-TDID
by looking back internal table int_edidd
w_tabix = tabix - c_1.
w_i = tabix - c_1.
DO w_tabix times.
READ TABLE int_edidd INDEX w_i.
IF int_edidd-segnam = 'E1EDPT1'.
MOVE int_edidd-sdata TO E1EDPT1.
EXIT.
ENDIF.
w_i = w_i - 1.
ENDDO.
IF E1EDPT1-TDID = 'F07'.
READ TABLE int_edidd INDEX tabix.
MOVE: int_edidd-sdata TO e1edpt2.
Remove unwanted Space(s) in field E1EDPT2-TDLINE
CONDENSE E1EDPT2-TDLINE.
MOVE E1EDPT2 TO int_edidd-sdata.
MODIFY int_edidd INDEX tabix.
ENDIF.
ENDIF.
<b></b>
But the code statement 'CONDENSE E1EDPT2-TDLINE.' does not work for removing space.
i did not understand why the code is not working properly.
Could any one please explain how write the code for condense the text with out spaces ASAP.
Thanks,
sridhar"Condense" will leave one space between words by default... so you may want to add "no-gaps" on the end i.e. "CONDENSE E1EDPT2-TDLINE no-gaps." to eliminate all spaces between the words.
Jonathan -
Dear All,
I want to stop the split of Invoice of the same customer. Can anyone know the BADI or User Exit to Implement this?
Please help ASAP.
Thanks in advance.
Best Regards,
PrasadTransaction Code - VF04 Maintain Billing Due List
Enhancement/ Business Add-in Description
Enhancement
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V05I0001 User exits for billing index
SDVFX011 Userexit for the komkcv- and kompcv-structures
SDVFX010 User exit item table for the customer lines
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX001 User exit header line in delivery to accounting
J_3RSINV
Business Add-in
SD_CIN_LV60AU02 BADI for billing
VOR_WA_FAKTURA Billing before Goods Issue -
User-exit for availbility check in SD - cross company
Hi all,
I have a issue regarding that we want to check the stock availibility at 2 different plants (belonging to 2 different company codes) as they were 1 plant. Meaning we want to do availability check across 2 plants. And when creating the delivery, the system should consider all batches from the 2 plants.
Since this is not SAP standard we either need APO (this can do it) OR some user-exit tricks - have any of you ever done this?
Please help me asap .....
Best regards
LarsCan u brief the query in detail without missing anything right from deliver creation .
Material avaliablity stock is for a plant and storage location . and plant is defined under company code .
We can check the stock avaliable for the plant and material in table <b>MARD for the field LABST</b> for the requirement .
plant company code can be evaluated .
a material can be present in two different plants .
u can check table MARC and MARD for the same .
check the user exits for the same .
EXIT_SAPLV50R_001
EXIT_SAPLV50R_VIEW_001
EXIT_SAPLV50R_VIEW_002
Are u creating a Outbound/inbound delivery ?
Brief the navigation so that it wil be easy for us .
regards,
vijay -
Material availability Date - User Exit
Dear All,
Can any one help me in finding out User Exit to change Material Availability date in VA01, which system propose automatically.
The Problem is I need to assign Mat aval. date as say SY_DATUM + 60. Then system should take this date for ATP calculation(for eg: Loading date,Goods issue date,Transport.plan.date) and finally it should propose Delivery date.
It would be great helpfull for me if any one help me in this issue ASAP.
Advance Thanks for your help
With Regards
K.BabuHi,
Try using USEREXIT_AVAILABILITY_IN(RV03VFZZ) or USEREXIT_ADD_FIELD_TO_LINE(FV45VFZZ) exits in SD. Due to various combinations possible (for example if you use route-scheduling it may behave differently than otherwise), it may not be possible to apply a common logic.
I would suggest using USEREXIT_ADD_FIELD_TO_LINE to modify the date fields in the structure MVERF (field EDATU : Delivery date, MBDAT : Material avail. date and so on). At this point, system has already calculated the first set of dates based on customer requested delivery date, so you will need to do adjustments in all fields accordingly.
Eg in this exit:
w_date = sy-datum + 60.
offset = w_date - mverf-mbdat.
mverf-mbdat = mverf-mbdat + offset.
mverf-lddat = mverf-lddat + offset.
mverf-edatu = mverf-edatu + offset.
Please note it will need some adjustments if you have a shipping calendar (eg sundays off..) in which case the offset may be a little different for EDATU.
cheers, -
User Exit is required to populate PO type in IDOC
Hi,
My requirement is:
DELVRY03 Idoc presently doesn't carry any field in which we can store a purchase order.
here i need to extend the idoc with a new segment with PO type as field and sales order number field.
I need to get Purchase document type field(BSART). from EKKO table ,
here i need to retrieve the PO number from the line item reference field LIPS-VGBEL., based on the PO number i need to get the EKKO-BSART.
in which exit i need to write the logic for this.
Pls help me on this ASAP.
Thanks,
SatishHi
Go to the related Function module for this IDOC type/Message Type/PROCESS CODE which you are using for this purpose
then in that Fun module search for the CUSTOMER-FUNCTION's which are nothing but the user exits where we write code to populate the custom segments and other values.
search for the relavent FUNCTION and write the above code.
Regards
Anji -
User exit: sales order VA01: Customer number
Hi friends,
While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
which should contain
1)customer(sold-to -party?KNEX-KUNNR)
2)partner function PARVW (VBPA-PARVW?)
3)country LNDEX KNEX-LNDEX
Functional spec says, 1)V45A0002
2)V45A0003
3)V45S0001
4)V50EPROP User exits can be levaraged.
1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
2)V45A0003: i am able to fetch KUNNR, LNDEX(land1), and able to validate KNEX Fields.
But I need to fetch partner function (PARVW), which exist in VBPA , KONP etc tables. But I am not able to write the query, which sould have all the primary keys of the table.
Please help me the way.
i) the above user exits can be used?if not, help me with user exit name.
ii)if yes, how to fetch PARVW ..as all the primary keys must be used in the select query.
Please help me ASAP.You can try with the form USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ (this program contains the userexits for SD).
You can access work aread VBAK and internal tables XVBAP, XVBPA with latest data for that transaction.
Regards,
Naimesh Patel -
User Exit or BADI for catch the document number after saving the document
Hi ,
I am working on data conversion where Document number(BELNR),BKPF and BSEG data should
transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
BADI.So Could you please suggest me any User exit or BADI ASAP.
Waiting for reply.
Thanks
LakshmiYou should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
Study this document to know how to use BTE
http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
Let me know if you face any specific issues.. -
User exit for PGI via delivery (Vl02N)
Hi Folks
Can you suggest me appropriate user exit which can be used during PGI for delivery in Vl02N. This should get triggered when POST PGI tab is hit in VL02N.
Via USer exit I want to change the GL account in the accounting document for PGI ( GL account for Tr price difference which is posted via key AUM (Expense/revenue from stock transfer).
Please reply ASAP.
Thanks
VipinHi Vipin
I did a small check in our internal system.
In VL02n choosing the PGI TAB it hits user exit MV50AFZ1 -> FORM USEREXIT_SAVE_DOCUMENT_PREPARE
This is the call:
Main Program SAPMV50A
Source code of FV50XF0B_BELEG_SICHERN
form BELEG_SICHERN_DET_CHECK
* Userexit
PERFORM userexit_save_document_prepare(sapmv50a).
So you are good to go with MV50AFZ1 just use
form USEREXIT_SAVE_DOCUMENT_PREPARE
Kind regards
Brian -
When the User exit EXIT_SAPLL03T_002 would be triggered?
Hi All,
When the User exit EXIT_SAPLL03T_002 would be triggered?
As per my understanding which would be triggered while confirming the transferorder (LT12). but In which conditon it will be triggered?I am unable to find out. if any one find the solution please pass ur inputs ASAP.
thanks in advance,
chandran.Hi,
WHen the "Update SAPML03T transfer orders" is done..This user exit will be triggered..
Since the user exit is in a update module..If you put break-point it will not stop...
Enable the UPDATE DEBUGGING..It will process all the update modules..
Check when the FM L_TA_QUITTIEREN is called....You can debug through your code..
Thanks,
Naren -
I have following requirement for USER EXIT/BADI
If some material number is entered in Transaction ME11 /ME12 , I have to find a user exit/BADI where I will find material group from mara based on EINA-MATNR = MARA-MATNR if that group is within some specific group like CHEM ,POLY,OIL etc. , user will not be allowed to go to next screen and it will show message to user on the first screen itself..
If any one has come across such requirement please help me on this asap.
Thanks in advance
SachinHi,
You can use the BADI : ME_PROCESS_PO_CUST and the method
PROCESS_ITEM and write the code.
it will work.
DATA : re_data TYPE mepoitem
*get the item data
CALL METHOD im_item->get_data
RECEIVING
re_data = re_data.
reward if useful
regards,
ANJI -
Credit Mgmnt - User Exit Logic
Dear Experts
Automatic credit mgmnt settings are completed . Customized authorizations required is like below:
The reqt is like
1) Rs 0- Rs 50 Lakh - Person A
2) Rs50 Lakhs-Rs 1 Crore - Person B
3) Rs 1 Cr- Rs 2.5 Cr- - Person C
4) Rs 2.5 Cr & above - Person D
I presume that this can be done by using user exit... Field of 'Credit Limit'- KLIMK
'Credit Exposure'. OBLIG [from FD32]
Help/suggestions request ASAP.
Rgds
Sumanth.Ghi,
this is to inform you that,
you can solve your issue with an ABAPER,
he will write a big code for this.
these are the steps:
please write a piece of code in USER_EXIT_SAVE_DOCUMENT_PREPARE, which saves a document and triggers an email and stops proceeding further.
1) if the credit limit in KNKK reaches 50 lakhs mark you have to trigger a mail through a work flow to person ARs 0- Rs 50 Lakh - Person A
read the data basing on CCA/CREDIT LIMIT OF THE CUSTOMER/CUSTOMER NUMBER by catching user id who is preparing the sales order goto PA0105 to get the employee number and using employee number go to get the manager for amployee number using Z_GET_MANAGER a function module. after getting manager id from PA0105 trigger an standard function module called EFG_GEN_GET_USER_EXIT to get teh mail id of the manager - and trigger to approve the mail.
for this you have to link WORK FLOW event also in Z_GET_MANAGER function module.
here you have to create
1.new function module : Z_GET_MANAGER - which gets the total details of persons who are working in the whole organization.
2. 2 HR tables to get the details upto manager : PA0001, PA0105.
3. use standard FM : EFG_GEN_GET_USER_EXIT
4.finally link WORK FLOW EVENT which triggers an mail id to manager's in box with approval infomation.
hope this should help you
regards,
balajia
Edited by: balaji timmampalli achari on Nov 30, 2010 12:06 PM
Maybe you are looking for
-
Why would I get server cannot be contacted after a few hours of browsing?
I've had this problem since for several years, probably going back to v15 or so. Firefox loads and works fine for a while. Then, suddenly, for reasons I do not understand, it refuses to load any more webpages. I get a "server cannot be found" error.
-
Report: generate to file pdf format
Hi folks, I have made a report which displays all data on preview and on printer. But when I use generate to file PDF option it misses data from columns at right hand side. The report has more than 15 columns and uses smaller font size. Kindly somebo
-
After updating iTunes, old library is gone
After updating iTunes, I now get a message that tells me that my Shuffle is linked to another libary, and asks me if I want to erase my Shuffle and link to the new, empty library. When I say no, neither the computer nor iTunes recognizes that the Shu
-
What does || do in a SQL statement after a where with a like?
We have a packaged application that outputs a SQL statement with the || operator in a where clause along with a LIKE. I have never seen it before and expected it to be a syntax error. I do not see any examples of this syntax in sources such as Morgan
-
No controls for Quicktime movies in Explorer on PC.
Just wondering if this the norm. My QT movies that I have uploaded to web pages have no controls. Also, I have to click the movie to get the movie to start. The sounds starts automatically. Here is the page. Click the top tab btw. http://www.intuitio