Delivery address in PO Creation through ME21N
Hi All,
I want to change the Delivery Address in ME21N. By default this delivery address is the Plant address which we enter at the line item level. Now my requirement is to default the delivery address to other address based on the vendor given at the header level.
I had tried User exit, MMDA0001 but this is not triggering, then tried BADI ME_PROCESS_PO_CUST method PROCESS_ITEM , even this does not help.
Can anybody please let me if you had requirement like this and how you solve this problem.
Thanks n Regards
Maruthi
Hi Mr A
Please tell me which user exit did you use to resolve this issue because I have to also do extra validations and changes to some PO Items when user creates PO with ME21N.
Thanks
Similar Messages
-
Addinng Delivery address and Texts subscreens of ME21N to MB22
How to add Delivery address and Texts subscreens of ME21N to the MB22
(reservations) header level?
Is there any customisation(From IMG) possible to acheive this?
This is very urgent.
My requirement in detail : For Material reservations, the standard transaction MB21 and MB22 must be amended to allow entering Address and text data (header level only), MB23 must be able to show the entered data. Functionality of ME21N at the item level tabs Delivery Address and Texts.
Thanks in advance for your suggestions and solutions.Hello,
nothing standard in ECC6 EHP6.
You will have to modify standard screens and use user exits. I would recommend to try something else than reservation or forget your requirements. -
Delivery Address in Purchase order Create ME21N
Hello all,
I am trying to capture the value in the Country field on the Delivery Address tab when creating a PO (ME21N). We only want to write a certain condition if the Vendor is non-US and the Delivery country is US.
The initial value is populated in KOMK but it doesn't change if the Delivery address is changed manually.
We are using subroutine KOBEV_600 in Include RV61A600. I tried using GET PARAMETER ID 'LND' but it never worked. It always came back blank.
Thanks for any help.
Kind regards,
Chris MowlThank you for the responses although they didn't quite address my issue.
The solution we are testing at the moment is using the following code in User Exit ZXM06U14:
DATA: lv_country TYPE land1.
IF i_ekpo-adrn2 IS NOT INITIAL.
SELECT SINGLE country FROM adrc
INTO lv_country
WHERE addrnumber = i_ekpo-adrn2.
IF sy-subrc = 0.
EXPORT lv_country TO MEMORY ID 'adrn2'.
ENDIF.
ELSEIF i_ekpo-kunnr IS NOT INITIAL.
SELECT SINGLE land1 FROM kna1
INTO lv_country
WHERE kunnr = i_ekpo-kunnr.
IF sy-subrc = 0.
EXPORT lv_country TO MEMORY ID 'adrn2'.
ENDIF.
ELSE.
CLEAR lv_country.
EXPORT lv_country TO MEMORY ID 'adrn2'.
ENDIF.
When an Address number or Customer number are filled in on the "Delivery Address" tab for the item, they are filled in the i_ekpo-adrn2 or i_ekpo-kunnr fields respectively. I then export the country value to memory and import it in RV61A600 where we check that value. -
Batch creation through ME21N, ME22N and MSC1N
Hi All,
Please note we are already using EXIT_SAPLV01Z_001, EXIT_SAPLV01Z_002, EXIT_SAPLV01Z_003, EXIT_SAPLCLFM_002, EXIT_SAPLV01Z_012, EXIT_SAPLV01Z_014 for Batch creation based on different logics for Material type, Plant and PO doc type and currently using these exits for logic it allows us to create new internal batch number during PO creation (ii) change already existing batch with some new number (of couse this number must not be used in some other PO) in PO change and (iii) create new internal batch number using MSC1N, by inputing plant, stor. loc etc. But currently i can create batch with 1 digit, 2 digit, and so on.
The requirement is to allow user to create batches only with 10 digits during:
(i)PO creation (ME21N)and PO change(ME22N) and also during
(ii) transaction MSC1N
currently in all three ME21N, ME22N or MSC1N it allows to create batch with 1 digit, 2 digit,3 digit and so on . i want to create batch with only 10 digit.
Please tell this is possible through configuration steps or some changes are required to be done in above said user exit.
Regards
Rahul ShuklaHi Jurgen,
Thanks for your reply.
In ME21N i am able to assign batch in PO
(1) By clicking on 'create' button appearing just side of Batch field in item Tab "Material". I think this create button is appearing due to user exit being applied here. Here it creates and assigns internal number automatically (from range 01in Batch_Clt) based on the Material type and Plant combination (Some logic defined in user exit)
(2) By putting any random number manually (both numeric and alphanumeric)whether 1 digit, 2 digit,3 digit in Batch field in item Tab "Material" it will accept and in this case also po is saved.
same way i can do changes in batch number in ME22N and able to save.
In MSC1N also due to user exit applied if i give Material number alone and enter, it assignes the internal batch number based on Material type and plant logic defined in user exit.here also if i input some random number manually in batch field it accepts and that random batch number is created for material.
Now i want that i should be able to put random batch number manually but that number must be out of the number ranges defined in Batch_CLT object (Also the number must be exact 10 digits length as is there in defined number ranges) and not any random alphanumeric number . Also i am not able to understand how it is accepting random alphanumeric number (like ABC111)although all number ranges defined are numeric only.Also external number range is 0008000001 - 0089999999 which is numeric only.
Regards
Rahul -
Create addition delivery address in PO
Dear Experts,
User request to maintain 2 delivery address during PO creation so that they have an option to select where to deliver this the said PO material.
This is information that we need to add in PO as 2nd delivery address.
(CNIE Sabah Branch) CNI Enterprise (M) Sdn. Bhd. Lot C6 Lorong 1A, KKIP Selatan, Kawasan MIEL, KKIP Jalan Sepanggar, 88460 Menggatal, Sabah. PIC: Mr. Thomas Kok / Mr. Paul Tel: 088-491100/01/02 Fax: 088-491105 (CNIE Sarawak Branch) CNI Enterprise (M) Sdn. Bhd. Lot 9392 Section 64, Kuching Town Land District, 3 1/2 Jalan Pending, 93450 Kuching, Sarawak. PIC: Mr. Gordon Ung / Ms. Chiam Tel: 082-340619/20/21 Fax: 082-345280
Appreciate if you could assist me set another delivery address in PO. Means they have option to select delivery address during PO creation. Thank you.
rgds,
nanthaDear Guru,
Thank for your prompt answer. I'm asking this coz I need further understanding on this area Guru. Thats why I'm asking bout the delivery address under item details in PO.
1. Address field. I get info such Number of delivery address when I click F1 for the info. What mean by this. The moment I select delivery address system pull one no. I'm not sure where the no. come from & how may I view all these no.
2. And also I noticed that there is Address group as selection option when search for vendor (F4). May I know how the address group playing his part & how may I create this. Where do we maintain the address group.
3. T/code : MEAN - appreciate if you could give me the path so that it will help me further.
TQ
rgds,
nantha -
How to populate VENDOR in Delivery ADDRESS tab durinG PO creation/Change
Hi Expert,
which structure is used to populate VENDOR in Delivery Address TAB in PO creation /Change using BAPI (BAPI_PO_CREATE1/BAPI_PO_CHANGE).
VENDOR SCREEN FIELD NAME IS CMMDA-EMLIF. Actually this field is available in EKPO and I have been asked to modify this filed only corresponding to PO. But direct modification of EKPO is not good practice . what I'm trying is, using BAPI_PO_Change to make this change. can we do this at time of PO creation using BAPI_PO_Create1?
Thanks in advanceHi,
You can use the above BAPI's and fill the structure -POITEM with the field : SUPP_VENDOR{Vendor to be supplied/who is to receive delivery}
Simultaneously you need to update the field SUPP_VENDOR to X of the BAPI structure POITEMX
Hope this helps
Regards
Shiva -
Hi SRM Experts:
SRM 4.0 SL 09 Classic Scenario
I have 4 CoCds and need to create several delivery addresses per CoCd. The problem I have is that when on edit internal address & add address for CoCd I am able to create only one additional delivery address per company. When I tried to add more addresses the system overrides the first additional entry because is forces me to select is as a default address. The final result is that I end up with only one delivery address in addition to the CoCd address, If the CoCd address is selected as the default one the no additional address is possible. The same symptom happens on edit external address for BP if I want to define more than one ordering address per BP.
Would anyone tell me what I am doing wrong? And is done?
Thanks in advance. Points to be rewarded!Hi Mr A
Please tell me which user exit did you use to resolve this issue because I have to also do extra validations and changes to some PO Items when user creates PO with ME21N.
Thanks -
Suggestion Required for delivery address creation process
Dear All,
in my business process here i have suggested the creation of delivery address at the compnay code level. That is all the delivery address are attached to the business partner of company code so that the delivery address across organization is visible to all the users and they can search and select any delivery address they want.
please let me know if that has got any performnce issue or if that is the righ procatice .. considering we have thousands of delivery addresss to be created.
cheers
Iftekhar AlamHello lrsapsd
You first need to decide the business processes that you would (can) cover within SAP and which will be out of SAP. Check out SAP for Real Estate Industry Solution, If you can not go that way, here is my proposal:
1. Adv in News Papers: Outside SAP
2. Selling of tender forms: Outside SAP
3. Accept tenders with refundable deposits: Enter them as quotes, You may use AV-Quotation f.Contract or AG-Quotation. Bidders (Renters) will be sold-tos or Prospects and quote will be priced manually with the amount they bid to pay for rent. Deposits may be collected via a Debit Memo and posted to a Temporary Holding Account.
4. Agreement with highest Quoted: Reject all the Bids except the one with highest quote, Convert that quote into Rental Contract (MV) with Periodic Billing Plan. Billing Plan Type- 02; Date Determination Rule- 50.
5. Collect 3 months rent in Advance: Can be managed with Billing Plan and/or down payment.
6. collect the rent every month- Monthly billing of rent using Periodic Billing Plan
7. At the end of the period refund the deposit- Credit Memo Req and Credit Memo, can be automated using contract end date and triggered by workflow with Status control of contract if needed.
Hope this helps. -
Default delivery address parameter in ME21N
Hi all.
If I have a delivery address number specified, I have to manually put it in every PO I create - is there any way of making this delivery address number default? Perhaps there is a parameter for this? It would be nice to be able to use the address number as default instead of the plant address.I have come across this issue as well and was looking for a solution, since we have a scenario where 2 different buildings are represented by a single storage location. So even if we put 2 addresses on the storage location in configuration, the default will just be the first address in configuration. As has already been mentioned, there is no link between either purchase organization or material and a default delivery address, and SAP does not provide a parameter ID on the address field in the PO.
A possible solution appears to be the creation of your own parameter ID, which is then assigned to the delivery address data element (ADRN2). If that is done, then a user may enter a default address number as a parameter ID in their user setup. Note that this is a development activity, and some may consider it a customer modification because you are making a change to a SAP standard data element. However, it is a very small change, and I do not see how it could conflict with an upgrade or application of OSS notes. The process for doing this is explained in the following forum thread which I found on SDN:
Error while creating Parameter Id
I am going to pursue this option and see how it comes out. -
Delivery Address is greyed out in PRs generated through Sales Orders
Hi Experts,
I have an issue in PR Delivery Address. When I am generating a PR automatically from the sales order with custom Schedule Line Category and Custom Item Category, the PR is generated with a particular Doct Type and AAC, as per the settings in VOV6. But when I go to ME52N, the delivery address is greyed out and I am not able to change the same. When I am converting the PR to PO, there I am able to change the delivery address. But my requirement is to change it at PR level itself.
Is there any setting to make the Delivery Address as Edit mode?
Thanks in advance.
Hari RajHi,
Since the 4.6 releases, there is a design change about the address
processing for third-party orders in reference to SD-orders.
System is working correctly, it is designed this way.
The reason for this behaviour is to prevent any possible inconsistency
between MM and SD applicable applications. Changing the address must
take place in the sales order.
The way to change the delivery address in a PR linked to a Sales Order
is to change the Ship-To address in the sales order. -
Default delivery address values in ME21n
Hi all,
When i create a PO, i get a default delivery address. Even when i remove that address number and change the address values and press enter am getting some other address automatically.
This is working for few users and not for others. Is there any configuration settings?.
Kindly guide me to resolve this issue. i searched other forums but i dnt get any solution.
Regards,
VijayHi,
I was encountering the same issue and came to this post looking for the solution. Since it was not there, I tried many variations and got it! The problem lies in ADRC value not being same across items. Here's what to do:
The PO will have multiple line items. Reset address in all line items.
Then go to ADRC table. The value should be same across all line items. If not, reset the address in all line items one by one. SAVE.
If only default address it to be maintained, then issue is solved.
If manual address has to be maintained, then further proceed by choosing any line item and clicking "Address details" under "Delivery address". Maintain the address here. If you get any prompt, click on "yes".
Now maintain any other information you require under "Delivery address". Click "Yes" to any prompt and SAVE.
Delivery address will be consistent across all items now. -
Creation of delivery addresses(not for plants) in the table ADRC!
Hi,
We are running on SRM 5.0(Standalone scenario).We have the following issues:
We need to create the delivery addresses also thorugh a custom program i.e. the Address number needs to be created in the ADRC table.There is a std FM "BAPI_BUPA_ADDRESS_ADD" for creating ship to addresses for a BP (namely Organisation) but we cannot use that as we need to create the addresses in the ADRC table in the same way as we create the addresses in the BASIC DATA tab of the SHOP transaction.Any idea how this can be done?
Any input will be highly appreciated.
BR,
SRM TechNot sure try this FM ADDR_COMM_MAINTAIN.
Regards, IA -
User exit/BADI for Return PO item delivery Address
Hi Guyz,
We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default SAP populates Plant address. If we manually give Vendor number in item details=>Delivery address tab then it populates vendor address. We want to automate this functionality.
Is there any Exit/BADI which serve this purpose.
Note: We need this functionality for few doc types(i.e PO doc type should also be available in the exit).
Any ideas could be really helpfull.
Thanks,
Vinod.Hi,
there are some user-exit & enhancements....
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number
Some BADI s:
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
SMOD_MRFLB001 Control Items for Contract Release Order
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_PURCHDOC_POSTED Purchasing Document Posted
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
No.of Exits: 35
No.of BADis: 55
Arunima -
Hi Friends,
We have a requirement in our project. We have different Ship To Party codes which are entered in sales order. But these Ship to parties have different Delivery Addresses on which in the invoice will be printed.
When Ship to party is entered in sales order a selection should be available to mention the delivery address where material is to be shipped.
In delivery note, Packing Note & Invoices thew ship to party code & the delivery address needs to be printed.
But the ship to party code will have to be kept only one.
Please suggest how this can be tackled.
Quick responses will be highly appreciated
Regards
DhananjayHello,
Through this we will have to change the address every time in delivery.
My requirement is that like we have multiple ship tp party under a single sold to party, I want multiple
delivery addresses under a single ship to party.
Option should be available in order creation only to select the delivery address for single ship to party.
EG:
Sales Order
Sold To Party = 60001
Ship to party = 004211
Delivery Address = 001 (Viman Nagar, Pune)
Delivery Address = 002 (Balaji Nagar, Pune)
At order level after entry of sold to party & ship to party, I must be able to select a delivery address for this ship to party from above mentioned two (001 or 002)
Please tell me how can this be tackled
Regards
Dhananjay -
Delivery address update on Purchase Req Exit MMDA0001
Functionality : I'm creating the PR from Sales order. this is achieved through the item category configurations on Sales order.
Requirement: During PR Creation, I need to change the delivery address on the PR from default plant address. Sap provided the User exit MMDA0001 Function Exit : EXIT_SAPLMMDA_001 for this purpose.
Problem: I'm passing Address number on this exporting parameter of this Exit, But SAP is not populating this delivery address on the PR. I couldn't find any article on this issue. Below is my code
Data Declarations
DATA : lv_partner TYPE char30,
lv_kunnr TYPE kunnr.
TYPES : tt_vbpavb TYPE STANDARD TABLE OF vbpavb.
FIELD-SYMBOLS : <lt_xvbpa> TYPE tt_vbpavb,
<ls_xvbpa> TYPE vbpavb.
lv_partner = '(SAPMV45A)XVBPA[]'.
ASSIGN (lv_partner) TO <lt_xvbpa>.
IF <lt_xvbpa> IS ASSIGNED.
SORT <lt_xvbpa> BY parvw.
Get the Ship-to-party information
READ TABLE <lt_xvbpa> ASSIGNING <ls_xvbpa>
WITH KEY parvw = 'WE' BINARY SEARCH.
IF sy-subrc = 0.
Assign the Ship-to-party address information to the PR Address
lv_kunnr = <ls_xvbpa>-kunnr .
SHIFT lv_kunnr LEFT DELETING LEADING '0'.
SELECT SINGLE addrnumber FROM adrc INTO e_adrnr
WHERE sort1 = <ls_xvbpa>-kunnr AND
addr_group = 'ME01'.
ENDIF.
ENDIF.
Please help on this issue and suggest me if i need to raise any SAP service ticket on this issue.
Thanks,
SelvarajHi
Are you able to get the address no from the query? Place a break point on this and check when the value of adrnr gets changed and analyze it.
Regards
Shiva
Maybe you are looking for
-
MFEFX1 not auto-detected on SLM224P-G5
I have been fighting with a pair of Linksys switches, on and off over the past days. What I want to do is very simple, uplink two swtiches via a Fiber connection. I have been supplied with equipment, which on paper is compatible, but in reality seems
-
How do I add a "stroke" to an image in Motion 5?
I have a rectangle image. I want a border on it (a stroke). How do I add one of those?
-
Is it possible to generate the report when someone make changes to any transaction code say OB08?
-
Headache & Heartbroken..Nano 2nd Generation frozen
I've had my Nano for 8 years (yeah I know that's a lot of years....) But for the last 2 its been on the back burner. I have done just about every suggestion there is except taking out the battery. Which I know is NOT something APPLE would suggest. I
-
I got Invalid name specified for BUFFER_POOL while importing data
Hi i got an error : ORA-25126: Invalid name specified for BUFFER_POOL while i was importing data (impdp) there are 2 instances on 2 servers 1st instance is a single instance ,running on AIX ,oracle version 10.2 and 2nd instance is RAC running on Sola