User Exit at line item level
Hi all....
I need a user exit which is applicable at line item level.
The field 'first date' in line item, is same as first line in scehdule line.If i update 'first date in line item, the schedule line gets updated automatially. According to my requirement, i need a user exit at line item for date field.
Thaks
Aleem
Hi,
You can try this.
USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of
the sales document schedule lines.
The user exit is called up at the end of the FORM routine
VBEP_FUELLEN.
Thanks
Krishna.
Similar Messages
-
User exit to change item level data in purchase order
Hi,
Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirment is
For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked). now i cant use ME_PROCESS_PO_CUST because process_item wont get triggered if there is no change in itemlevel data.
Regards,
RahulHi Rahul,
Probably EXIT_SAPLMEKO_002.
hope it helps,
Edgar -
Help - User exit to change item level data in Purchase Order
Hi,
Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirement is For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked). now i cant use ME_PROCESS_PO_CUST because process_item wont get triggered if there is no change in item level data.
Thanks,
RahulHi Rahul,
Probably EXIT_SAPLMEKO_002.
hope it helps,
Edgar -
VA01 user exit at line item with partner address
I need a user exit for VA01 that is at the line item level. The catch is I also need access to the partner address data. I have found userexit_pricing_prepare_tkomk (include MV45AFZZ) but that doesn't give you the "instance" address information (the address data that is specific to that order, after being changed). It only gives you the address number for the partner's default address.
Does anybody know if such an exit exists?
Regards,
AaronHi Aaron,
I had a similar requirement Long back & This was my code I written. Hope this helps you.
* Extract and Update field for partner-id - Goods Supplying vendor
CLEAR TKOMK-Y_GSVN.
PERFORM XVBPA_LESEN(SAPFV45K) USING 'WL' VBAP-POSNR SY-TABIX.
IF XVBPA-UPDKZ <> 'D'.
TKOMK-Y_GSVN = XVBPA-LIFNR.
ENDIF.
PERFORM XVBPA_LESEN(SAPFV45K) USING 'ZP' VBAP-POSNR SY-TABIX.
IF XVBPA-UPDKZ <> 'D'.
TKOMK-BSART = 'ZIN'.
SELECT SINGLE LAND1 FROM LFA1 INTO TKOMK-Y_COMM_CTY WHERE LIFNR = XVBPA-LIFNR.
ENDIF.
FORM XVBPA_LESEN USING US_PARVW US_POSNR US_TABIX.
DATA: DA_VBADR TYPE VBADR.
DATA: DA_VBPA LIKE XVBPA.
CLEAR DA_VBPA.
READ TABLE XVBPA INDEX 1 INTO DA_VBPA TRANSPORTING VBELN.
XVBPAKEY-MANDT = VBAK-MANDT.
XVBPAKEY-VBELN = DA_VBPA-VBELN.
XVBPAKEY-PARVW = US_PARVW.
XVBPAKEY-POSNR = US_POSNR.
READ TABLE XVBPA WITH KEY XVBPAKEY.
IF SY-SUBRC > 0.
XVBPAKEY-POSNR = POSNR_LOW.
READ TABLE XVBPA WITH KEY XVBPAKEY.
ENDIF.
IF SY-SUBRC > 0.
CLEAR XVBPA.
IF US_PARVW = 'WE'.
CLEAR KUWEV.
ENDIF.
IF US_PARVW = 'RG'.
CLEAR KURGV.
ENDIF.
ENDIF.
US_TABIX = SY-TABIX.
* CAM is not activated
IF ZAV_FLAG IS INITIAL.
IF NOT XVBPA-ADRNR IS INITIAL.
CLEAR XVBADR.
XVBADR-ADRNR = XVBPA-ADRNR.
READ TABLE XVBADR.
IF SY-SUBRC > 0.
CLEAR XVBADR.
ENDIF.
ENDIF.
* CAM is activated
ELSE.
*if there is an address
IF NOT XVBPA-ADRNR IS INITIAL.
*clear address data
CLEAR XVBADR.
*try to read address in internal table XVBADR
READ TABLE XVBADR WITH KEY ADRNR = XVBPA-ADRNR ADRNP = XVBPA-ADRNP.
*if address is not in internal table XVBADR
IF SY-SUBRC NE 0.
*read address in CAM tables
CALL FUNCTION 'SD_ADDRESS_GET'
EXPORTING
FIF_ADDRESS_NUMBER = XVBPA-ADRNR
FIF_PERSONAL_NUMBER = XVBPA-ADRNP
FIF_ADDRESS_INDICATOR = XVBPA-ADRDA
IMPORTING
FES_ADDRESS = DA_VBADR
EXCEPTIONS
OTHERS = 4.
IF SY-SUBRC EQ 0.
MOVE-CORRESPONDING DA_VBADR TO XVBADR.
APPEND XVBADR.
ELSE.
CLEAR XVBADR.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDFORM.
Thanks & Regards,
Dileep .C -
User exit in SO item level & rounfing profile from SH of CMIR instead of SP
Hi Folks,
Can any one of you suggest me an user exit in sales order line item level?
I want something which stops before/ or just after entering the quantity in the item level.
We wanted to set up a issue which deals with rounding profile comming from CMIR record to take from Ship-to rather than standard Sold-to party functionality.
Thanks a TON in advance.
Praveen.Hi praveen,
please check these exits .
OGM10015,
OGV90011
OIKNB02
SDVAX001
V45A0002
V45A0003
V45A0004
I THINK IT IS HELP FULL FOR U.
<b>REWARD IS USEFULL</b> -
User Exit at PO Item level - MM06E005
Hi
We have requirement like we want to update 2-3 standard fields from ekpo - Purchase order item level in user exit if certain criteria met .
I used EXIT_SAPMM06E_012 function module exit but by using this I can only check the required conditon but can not able to update data in ekpo .
Thanks,
SuhasHi,
You can try this.
USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of
the sales document schedule lines.
The user exit is called up at the end of the FORM routine
VBEP_FUELLEN.
Thanks
Krishna. -
HI There,
I'm not good at ABAP coding and need some help from experts.
Working on Line Items Query and enhanced the 0FI_AP_4 to include fields from BSEG table, the fields are:
GEBER - Funds
FISTAL - Funds Center
KOSTL - Cost Center
GSBER - Business Area.
I used the below code to enhance the datasource 0FI_AP_4, and its taking toooo long to load the data, but its pulling the line item data into BW.
Please find another code after this....its very quick, either in extract checker or loading into BW, however its not loading all fields into BW. Specially line items like Cost Center, Fund center and Fund fields.
Please go through the below codes and suggest me what changes i have to make to work as it should be.
DATA: L_TABIX LIKE SY-TABIX.
DATA: ZADTFIAP_3 LIKE DTFIAP_3.
CASE I_DATASOURCE.
WHEN '0FI_AP_4'.
LOOP AT C_T_DATA INTO ZADTFIAP_3.
L_TABIX = SY-TABIX.
SELECT SINGLE GEBER FROM BSEG INTO ZADTFIAP_3-GEBER
WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
SELECT SINGLE FISTL FROM BSEG INTO ZADTFIAP_3-FISTL
WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
SELECT SINGLE KOSTL FROM BSEG INTO ZADTFIAP_3-KOSTL
WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
MODIFY C_T_DATA FROM ZADTFIAP_3 INDEX L_TABIX.
ENDLOOP.
ENDCASE.
Below code is extracting data very quickly but not bringing data for all fields specially line items like Fund Center, Cost center and Fund fields.
DATA: L_TABIX LIKE SY-TABIX.
DATA: ZADTFIAP_3 LIKE DTFIAP_3,
wa_bseg Like bseg.
CASE I_DATASOURCE.
WHEN '0FI_AP_4'.
LOOP AT C_T_DATA INTO ZADTFIAP_3.
L_TABIX = SY-TABIX.
Select single * from
bseg into wa_bseg
where BUKRS = ZADTFIAP_3-BUKRS
and GJAHR = ZADTFIAP_3-FISCPER+0(4)
and BELNR = ZADTFIAP_3-BELNR
and BUZEI = ZADTFIAP_3-BUZEI.
IF SY-SUBRC = 0.
Move: wa_BSEG-GEBER to ZADTFIAP_3-GEBER,
wa_BSEG-FISTL to ZADTFIAP_3-FISTL,
wa_BSEG-KOSTL to ZADTFIAP_3-KOSTL,
wa_bseg-GSBER to ZADTFIAP_3-GSBER.
ENDIF.
MODIFY C_T_DATA FROM ZADTFIAP_3 INDEX L_TABIX.
ENDLOOP.
ENDCASE
Thanks
VandanaHi,
You can try this.
USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of
the sales document schedule lines.
The user exit is called up at the end of the FORM routine
VBEP_FUELLEN.
Thanks
Krishna. -
MM PO - New Pricing Routine / user exit / at Line item
Hi
When ever a line item data gets chnaged, we need to do the Update Pricing / New pricing Automatically.
Currently we are doing this manually and would prefer to automate -
request for possible suggestions / solutions OSS notes for this functionality.
cheers
NanduHi
Look at using BADI ME_DEFINE_CALCTYPE to select the pricing type B (carry out new pricing) whenever you make a change to PO item.
You need to go through the documentation of this BADI before you use it to make the correct program changes.
Hope this helps.
PP -
Is there a user exit to modify PO line item level..
Dear Friends,
Is there a user exit to modify PO line item level..
RaviHi...I'm not sure on any available customer exits for this purpose. However you can use the check function exit 'EXIT_SAPMM06E_012' of customer exit MM06E005 and using memory pointers you can change the item level data.
The other option is to use BADI ME_PROCESS_PO_CUST's method PROCESS_ITEM to change the item level value. I would prefer the BADI rather than the customer exit.. Hope it works..
Thanks,
Jude -
Screen exit for Service entry sheet at line item level
Hi,
We would like to add some custom fields at service entry sheet at line item.
A new tab to be introduced with custom fields at serive entry line item level.
Any idea which screen exit can be use? or
what is the way to find the screen exit?
Regards,
SandeepHi Sandeep,
You can try to use the user defined fields in table ESLL
ESLL-USERF1_NUM User-Defined Field
ESLL-USERF2_NUM User-Defined Field
ESLL-USERF1_TXT User-Defined Field
ESLL-USERF2_TXT User-Defined Field
or develop a custom solution with the help of customer enhancement
SRVDET (transactions SMOD, CMOD).
You should use EXIT_SAPLMLSP_030 to transfer values.
Regards,
Edit -
FI Posting of Invoice at the Line Item Level.
Hi All
Client has requirement of posting at the invoice line item level.But standard FI-AR posts at the Invoice Header level.
E.g If invoice has two line items of $20 and $30 respectively.
On the standard FI-AR side,one accounting document of $50 will be generated.It will not be posted for each invoice line level.
In order to post at the invoice line item level,i am looking for a posting user exit from SD side that will two individual account document each having invoice line item amount.Or we can have one FI accountng doc having two invoice line items in that.
Is there any way we can do this unique type of enhancement in ABAP? and also what is the exact user exit we can use from SD invoice side.
Regards
ManjinderThis is not entirely accurate - if the items are pointing to, say, different profit centers then there will be one posting per profit center. If this cannot be resolved by the standard SD/FI configuration, then the users might need to change their business process. I personally don't see any need to create postings on line item level. Just imagine what it will do to your database size.
Anyways, you'll find all the user exits here:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sdUserexits
But, again, this sounds like a very bad idea. -
Automatic Plant determination logic in the order line item level
Dear all,
I would like to know if there is a possibility to determine plants automatically, avoiding the standard plant
determination logic at line item level, to determine plant based on stock availability.
The process will be to skip the standard plant dtermination logic and drive the process through
based on ATP on plant level.
Coming more specific to the requirement the system determines the plant where the stock is available and if the stocks are not
sufficient the system goes to the next plant automaticaly and confirms the stock quantities, which also could mean that the ATP would run on plant 1 and then plant 2 and plant 3......depending on the availability of stocks with partial confirmations or full.
If there are existing user exits etc. available also when the configuration not available would welcome it.
ThanksHello
On more option I can see is of maintaining preferred plant in Table OIDAP.
Generally, this table is used for IS-Oil plant determination.
There you can set up one preferred plant and up to four alternative plants for a combination of
- sales area
-country
-transport zone (of the ship-to party)
-material number or material group.
The plant selected depends on the availability of material in the plant/storage location.
Regards
JP -
Credit Check at Line Item Level
We are trying to carry out credit checking at the line item level. So that user can release each line item from VKM1 or VKM3. Need to know how to achive this does any boday know any enhancements or notes we can apply to achieve this as Standard SD only has credit checking at the document level.
Hi,
This is a requirement user wants each line item should be released by VKM1 and VKM3.
I am looking for any user exit or enhancement which does this
Thanks
Krushnakumar -
Add new column at line item level in MIR7 transaction
Hi All,
I would like to know how to add new column at line item level for GL Account
tab in MIR7 transaction. could you please let me know how do i add new
column in MIR7 transaction. Please let me know is there any user exit or any
other wat to do it.
Thanks,
raoHi,
The customer include CI_FMBL can only be used with FMPEP and not with other transaction like FMBB.
Technically speaking, the structure CI_FMBL must be part of many other interfaces like the one use by BAdI 'FMKU_BUDGET_EVNT'.
In order to add such customer fields in FMPEP, you have to use the BAdI 'FMBW_CUSTOMER'. For instruction, you have to look at the note 1356725 and the instruction of paragraph 30. Please read the instruction and start to do your implementation.
With the BAdI 'FMBW_CUSTOMER', you can use the PBO and PAI for handling the customer fields. There is no other place to populate these customer fields. Do you want to use customer fields in FMPEP? Please check note 1356725 for reference.
I believe this answer your inquiry.
Best Regards,
Vanessa Barth. -
Tax column at line item level in VA01/VA02
Hello All,
I had a requirement to add the tax column at line item level for va01/VA02 transaction.
I modified the screen 4900 and added the VBAP-TAXM1 column to the item table control and made that column input enabled.
Now I had to calculate the TAX conditions based on the input in that tax column. None of the user exit is triggering when I change the values in this field, do I need to make any changes in the PAI of the 4900 screen in order to make the userexits trigger or am I missing anything?
Thanks & Regards,
SasiKiran.Hi
Please, see SAP Note 862228 - Order reason for returns on item level. It is related with field AUGRU. Remember that it is a modification. I suggest you to add in addition data (for instance, SAP Note 209278 - Display of customer-specific fields in sales doc, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B', SAP Note 420546 - Additional data B and transaction variants in sales order and related notes).
I hope this helps you
Regards
Eduardo
Maybe you are looking for
-
Expanding text boxes, pagination and expanding to another page
Attached is a link to a simple form which is actually part of a much larger form. It has several nested add and remove instances. I have three fairly simple issues I need to solve. 1. Is it possible to set a text box to allow it to grow in heigh
-
Can I use a Sony all-in-one PC/TV as a second display for the G5?
I'm trying to build a pro music system out of my G5, which means that it should only have music software on it. I have an aluminum 20" display hooked up to my Radeon x800T video card, which has one DVI and one ADC jack on it. A pro music rig needs tw
-
Hi My user wants that date in J1IJ that is excise from depot sale should same as PGI date. If it is not same it should throw some error. Is there any userexit available for the same. Any information will be of great help. Regards Jalaj
-
DMS Display Original Document download in Temp
Hi, I have the requirement in SAP DMS (GUI), whenever i display the document from CV03N tcode, the original file is download in to my Temp folder in the background in EAI viewer as well as separate WSapplication options. Whether it is possible to con
-
Hi all, I have Payment file like 'Cheque Payment File' , 'Cash Payment File' and so on... current I am using my own program to have a Paymnet lot (Cheque Lot/Cash Lot) then posting the lot with Transaction FPB3. But now I need to schedule my coming p