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,
Suhas
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 -
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
AleemHi,
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. -
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> -
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. -
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 -
BADI and User exit for MIGO item and header enhancement
We want to add three extra fields in MIGO screen for specific movement type 101 . Two fields at item level and one filed at header level .
Item level fields are independent fields it will store in separate z-table and z-field and dont't have any relation with other table .
but header field has some relation with quantity field in item level . All the item quantity has to add up in header , Is it possible to add up .
What are the BADI and user exit need to use for this enhacement and etc required detailsHi Raghavendra,
Use BAdI MB_MIGO_BADI.
It has all the methods that cater your requirement.
Try to have a design such that you can store the values within the document by enhancing the tables using Append Structures, they surely have a link with the document.
regards,
Aabhas K Vishnoi -
Availability checking user exit at sales order level
Hi ,
Is ther any availability Check user Exit at the sales order level?
1)I want to make Confirm quantity to zero in the sales order level
2)The block confirmation is set to VBEP-BMENG to "0" for each item where VBEP-LIFSP =Z1
Is ther any related USEREXIT in the sales order to make confirm quantity to ZERO
(VBEP-BMENG=0)
Ragumay be you can try putting some logic is MV45AFZZ in USEREXIT_MOVE_FIELD_TO_VBEP
or in the exitSDTRM001 - Reschedule schedule lines without a new ATP check.
Regards
Sai -
User Exit to Change Item of Billing Document
While creation of Billing document, I want to change the value of one field in Item Level. i.e. Field is found under Item --> Item Purchase Order data --> Ordering Party --> Your Reference. This field want to change.
So, Can any one let me know, How is this possible (Userexit/BADI) to do.Go [here|http://help.sap.com/saphelp_46c/helpdata/en/18/f62c7dd435d1118b3f0060b03ca329/content.htm] to view documentation on user exits available for billing processing.
Hope it helps,
Brian -
Are there user exits after Workflow items being created
Hi all:
Here is my situation, I want to create a change document object on table SWWWIHEAD, which is the table of workflow items. Whenever a workitem is created, I want to send the information of this item to an webservice outside of ECC.
The first thing come to my thought is the change document, and use the change document to link with an event. But we need to find the place to insert the code of call the function *WRITE_DOCUMENT generated by change document. Are there any one know if there are user exits that I can insert the code after a work item being created or updated?
Regrads
Waynelook at MM06E005 in SMOD
-
Badi/ User Exit - to update item data on Post GR in MIGO
Guyz,
I have a requirement to update the value in ALAN1 , ALAN2 fields while posting GR in MIGO. And also I need to access the value of realted PO (ebeln) and line item(ebelp) and equipment number(or serial number) EQUNR filed ,while doing the coding for this enhanemnet.
I was looking for Badi or User exit to meet the need. I have found a Badi MB_MIGO_ITEM_BADI, which I have implemented. I have put a break in the method and found that I can access all the value in the above mentioned field (IS_GOITEM, is the sturcture in the Badi signature) but one problem still persists.
I can see only the last line item(ebelp), in IS_GOITEM, where I need to see all the line item, so that I can relate which Equnr is assigned to which Lineitem.
Please tell me if you know any badi or user exit for this purpose.
Regd,
Anid
Points Guranteed
Message was edited by:
AnidHi,
we have checked above BADI;s but will not suffice the requirement;
The requiement is
While Creating PO(ME21N) and Changing PO(ME22N):
When the user tries to Save the PO:
All the line items should be accessible and can be editable.
If the validation fails, error message should be displayed on
the screen and user should be able to edit at that location.
Please let me know if there is any other way or enhancement point for the same...
Regards
Shiva -
User exit about change item's goods issue day in transaction code VA01
Hi everyone.
Can someone give me some advice how to change item's
goods issue by user exit?
thank you in advanced.
Regards.
Eric xu.Can u be more clear.
This are the exits used for the VA01
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
SDAPO001 Activating Sourcing Subitem Quantity Propagation
V45A0001 Determine alternative materials for product selection
Regards -
User exits/Badi PO Item category type L
Hi,
My requirement is when ever a PO is created with some specific Order Type (Ex: ZPOG), items with item category as L (subcontracting), in the material BOM component the Plant should be changed from AAAA to BBBB.
Pls suggest some user exits or badi's to implement the logic to change the plant.
Thanks...
Cheers!!
Anandi used this for approach for ASN only, i used this from ITS. so first i create the delivery using the VL31N with the PO, after success i deleted the items which i don't want using the VL32N and save the delivery with the items what ever i want. after a long analysis i followed this approach, since i have no option to pass the items to VL31N .
But you have another option here
see the include:
MV50AFZ1
here you can exclude the items which you don;t want , place the code in the routine
USEREXIT_SAVE_DOCUMENT_PREPARE -
Why LOOP AT XVBAP is triggering multiple times in user-exit in 1 item order
Hi,
Just curious,
I put the break point at LOOP AT XVBAP in user-exit of MV45A include of sales order transaction, then I created a sales order with ONLY one item(10) of 1 quantity (meaning, ONLY one schedule line)....then, Why my break-point(LOOP AT XVBAP) is triggering multiple times? even though there is ONLY one item/1 quantity? is supposed to trigger only 1 time(one iteration) right?
why mupltiple iterations are happening?
thank youHello ,
yeah thats true , that exit programs will called several types by SAP itself , so u need to find right FORM exits for ur requirements.
regards
Prabhu
Maybe you are looking for
-
In smartform address element ?
hi guru's. i am doing purchase order smartform in that address window displaying like this The Post Office Post Office Headquarters 33 Grosveno
-
System time in Business Connector
Hi, Where does Business Connector retrieve its System Time from? Currently I have an issue where it is one hour ahead of current local time. The time on the server on which it resides on is correct. In BC Developer I have a service which forces BC to
-
Sharing Music in iTunes w/ Airport Express
Hello, After installing my Airport Express, all the shared libraries from other university students in my building are now gone within iTunes. Everyone else with Airport works great: printing, speakers, internet.... Anyone have any clue how I can fix
-
Internet working by Airport Utility does not see my Apple routers
I have a home network with a Time Capsule, Airport Extreme and Airport Express all connected via WDS. I recently added the Airport Express to the other two. Not long after, I noticed that my auto Time Machine backups weren't working anymore. When I u
-
How to get the 'info' button working again in Spotlight?
The 'info' button to get info about an item in the search results window of Spotlight is no longer working for me. I have tried reindexing and trashing the preference file in the user library, with no luck. Any idea how to get this functionality back