Updating Delivery Address in PO
Hi guys,
I have successfully created PO using BAPI_PO_CREATE1.
After creation of PO, in the same program, I am trying to use BDC to insert data into the field ADRN2 ( under delivery address tab in ME22n ), but I keep getting error message saying that <PO number> is locked by myself.
Any idea how I can pass along the ADRN2 during PO creation? or any idea how can I 'unlock' the PO so that I can proceed with the BDC data insertion?
Thanks!
Hi,
In the same bapi try to fill the table POADDRDELIVERY .....with address data.
Thanks,
Shailaja Ainala.
Similar Messages
-
Update delivery address in PO using BAPI BAPI_PO_CREATE1
Hi,
I want to update the delivery address of line item using BAPI BAPI_PO_CREATE1. I am creating address using BAPI BAPI_ADDRESSORG_SAVEREPLICA and I am sending the address number in the import parameter POADDRDELIVERY but it is not updating the delivery address.
Regards,
Anil N.Hi.
after called the BAPI BAPI_PO_CREATE1 call the FM BAPI_TRANSACTION_COMMIT.
it will work
regards
Marco -
Need to update delivery address
Hi, I need to update my shipping address for a couple of deliveries. I checked UPS website and they require you contact the shipper. Apple doesn't seem to have an email address I can send the message to - any help appreciated!
This is an iPad user to user forum, so you are not addressing Apple.
You'll have to contact whomever you purchased the iPad.
Cheers, Tom -
My actual delivery address should be in China, not in HK under W275060457, so i need to update our correct delivery add as below No 21 Jing'er Road, Beiyuan, Yiwu, Zhejiang, China Post Code: 322000 Receiver: Li Houde Mob: 008615825771078
This is an iPad user to user forum, so you are not addressing Apple.
You'll have to contact whomever you purchased the iPad.
Cheers, Tom -
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 -
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 -
Plant name missing in PO line item details (Delivery address tab)
Hi
We are facing issue with ECC PO migration to SRM SUS client due to missing line item delivery address field name. We have PI integration. Name exist in PO XML on ECC interface but not copied on to PO line delivery address details (ME23n)
Impact:
We have 3 way channel between SRM client --> ECC ---> to SRM SUS client.
When we create PO in SRM it flows from SRM to ECC using Purchase order request_V1 sevice request. This part works PO get replicated successfully. But when this PO is pushed to SUS client we are facing error message : "Name details missing for the partner address" found from proxy debugging. Second part of PO migration from ECC to SUS is not working due to missing plant name details in ECC
When I copy PO (with missing details) to new PO and manually enter the details, scenario works with out any issue.
Please comment.
Regards
Prashanth K SaralayaHi Prashant
Did SRM--> ECC PO have address details updated properly. It seems the address did not get updated when the PO is coming from SRM to ECC and when you manually update it, it goes to SUS Perfectly.
For Delivery address , Name field is mandatory and ECC PO has to have the Name updated in Delivery Address.....
If ECC PO has Name field updated in delivery address tab, then check the XMLs between ECC and SUS whether XML has carried Name field to SUS or not
Regards
Virender Singh -
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 -
Want to copy Delivery address of one line item in shopping cart to all item
Hi Experts,
We are upgrading from SRM 5.0 to SRM 7.0,In SC Creation We want to copy Delivery address of one line item in shopping cart to all line items in Shopping cart by clicking Change All Items button.This is custom button we added this button and we had written code to achieve the functionality but it is not working.This is same like Change All Items button in Account Assigment for copy accont details of one line item to all other line items in SC.
Web Dynpro Component:/SAPSRM/WDC_UI_DO_SHIPTO
Web Dynpro View:V_DODC_SHIPTO
Thanks,
Aarthi.Hi Prasad,
Our customer needs that button,they want whenever they are clicking the button delivery address should copy to all line items.
In my action ONCHANGE_ALL_ITEMS i called this method
wd_this->mo_dodm_shipto->zchange_all_items( ).
zchange_all_items( ) is implemented in class /SAPSRM/CL_CH_WD_DODM_SHIPTO.
the code i wrote inside zchange_all_items( )
*Error
DATA: LX_PDO_ABORT TYPE REF TO /SAPSRM/CX_PDO_ABORT, " Class for Fatal error caught by PDO Layer
LX_PDO_ERROR TYPE REF TO /SAPSRM/CX_PDO_ERROR. " Class for PDO General Exception
Object Instances
DATA: LO_MSG_CONSUMER TYPE REF TO /SAPSRM/IF_PDO_MSG_CONSUMER,
LO_PDO_SHIPTO TYPE REF TO /SAPSRM/IF_PDO_DO_PARTNER.
Context-Data
DATA: lte_cll_shipto TYPE /sapsrm/if_ch_wd_set_facade=>gt_guid_element,
loe_cll_shipto TYPE REF TO /sapsrm/if_ch_wd_set_element.
Field Symbols
FIELD-SYMBOLS <lse_cll_shipto> LIKE LINE OF lte_cll_shipto.
DATA : lo_pdo_acc TYPE REF TO /sapsrm/if_pdo_do_acct_assgmnt.
DATA : ls_shipto_cll type /SAPSRM/S_CLL_SHIPTO,
lt_pdo_partnerdetails TYPE bbp_pdt_partner,
ls_pdo_partnerdetails TYPE bbp_pds_partner,
LV_GUID TYPE BBP_GUID,
lv_item_guid type bbp_guid,
lv_filled TYPE wdy_boolean.
*exceptions
DATA : LX_ABORT TYPE REF TO /SAPSRM/CX_PDO_ABORT.
*Constants
CONSTANTS : LC_OBJECT_ID TYPE CRMT_SUBOBJECT_CATEGORY_DB VALUE 'BUS2121001',
LC_ADDR_ORIGIN TYPE /SAPSRM/S_CLL_SHIPTO-ADDR_ORIGIN VALUE 'B'.
IF LV_FILLED = ABAP_TRUE.
Downcasting to shipto
LO_PDO_SHIPTO ?= MO_PDO.
insert the clipboard into facade and update and submit update
me->/sapsrm/if_cll_do_mapper~insert_from_clipboard( io_set_facade = mon_cll_set_facade ).
Add new Accounting entries.
lte_cll_shipto = mon_cll_set_facade->get_data_elements( ). "get all elements from the context
LOOP AT lte_cll_shipto ASSIGNING <lse_cll_shipto>.
loe_cll_shipto = <lse_cll_shipto>-set_element.
loe_cll_shipto->get_static_attributes( IMPORTING rv_attributes = ls_shipto_cll ).
Map ui-structure to pdo-structure
MOVE-CORRESPONDING ls_shipto_cll TO ls_pdo_partnerdetails.
IF LS_SHIPTO_CLL-PARTNER_FCT = mv_part_func.
LS_PDO_PARTNERDETAILS-PARTNER_FCT = ''.
ELSE.
LS_PDO_PARTNERDETAILS-PARTNER_FCT = LS_SHIPTO_CLL-PARTNER_FCT.
ENDIF.
IF ls_pdo_partnerdetails-del_ind NE 'X'.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = ls_pdo_partnerdetails-p_guid.
mv_acc_guid_split = ls_pdo_shipto-guid .
IF mo_scope = 1.
ls_pdo_partnerdetails-p_guid = mon_cll_set_facade->get_bo_guid( ).
ELSE.
ls_pdo_partnerdetails-p_guid = mo_parent_bo_mapper->items_get_lead_selection( ).
ENDIF.
APPEND ls_pdo_partnerdetails TO lt_pdo_partnerdetails.
ENDIF.
CLEAR : ls_pdo_partnerdetails, ls_shipto_cll.
ENDLOOP.
Add New items to PDO
IF NOT lt_pdo_partnerdetails[] IS INITIAL.
TRY.
LO_PDO_SHIPTO->update_item_partners( EXPORTING it_partner = lt_pdo_partnerdetails
iv_item_guid = lv_item_guid
CHANGING co_message_handler = mo_pdo_message_consumer ).
CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
ENDTRY.
Update PDO with the changed data.
TRY.
mo_pdo->submit_update( ).
CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
ENDTRY.
Fire refresh of DO Mappers registered for refresh since the item table has acc related data.
mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
ENDIF.
ENDIF.
Thanks,
Aarthi. -
Need Delivery address , Registered address of Business Partner
Hi ,
I would like to read the delivery address, registered address of a business partner along with standard address. Though I could find them in ADRC table the problem is only the standard address is holding an indicator X. If I could even read the other 2 addresses I could not differntiate which of them is a delivery address & which is a registerd address. Is there any sort of indicator to identify it or a BAPI to read them with indications.
Regards,
Prabaharan.GTo update my findings.
This was an issue caused by implementing SP14. SAP have released a note 1113213. This will correct the issue. Additionally, if you find a problem with sequencing curriculum types after installing SP14 implement note 1128365.
Thanks,
Max -
How to change delivery address of limit order shopping carts?
I created and hold a limit sc. Afterwards I wanted to change the delivery address of the position by starting 'status check' and update sc.
I cannot find a tab with delivery address according to the screens of 'wizard'.
I get only the display of preferences for new shoppinc cart lines.
We have SRM 5.5 Server and ECS.
Can anyone help me?
Regards Joe
Edited by: Joe on Oct 16, 2008 5:35 PMHi Joe,
Did you try to do via default ADDR_SHIPT address atribute? so this default values applicable to your limit sc also.I agree Joe. you are absolutely correct . There is no ship to address / location folder to change the delivery address in limit shopping card. We can not see ship to address folder in limit sc.
DEFAULT SETTINGS FOR ITEMS HAS SHIPT TO ADDRESS so you could not see.
regards
Muthu -
Hi,
in trx MM02 I cannot find where are stored information in tab "delivery address".
I tried to change the delivery address of a vendor but system doesn't update the printout of the PO I'm modifying with the new delivery address
RegardsSAPBUG wrote:
Hi,
>
> in trx MM02 I cannot find where are stored information in tab "delivery address".
> I tried to change the delivery address of a vendor but system doesn't update the printout of the PO I'm modifying with the new delivery address
>
>
> Regards
In MM02 (change material master) you will certainly not find any field with delivery address.
In a PO the delivery address is defaulted from your plant address, or from storage location address if the storage location is entered in the PO item line. ((both addresses are maintained in customzing)
You can then overwrite the delivery address manually in ME22N.
if this new address is not printed, then your print program is probably modified and does not follow the standad logic, in this case you have to contact your developer. -
How to default an address number delivery address in the PO item
Hi All,
I have some combination of certain Material / Vendor / Delivery address.
I have created some address numbers from transaction MEAN.
I can successfully assign these in PO detail manually. Then the address gets updated from it
for plant or storage location if specified.
What I need to know is how to "default" this address number in the PO detail.
I couldn't fine appropriate field in info record, but I have a feeling that it should be possible.
Could anyone help me on this please?
Thanks,
ATOHi Nadia,
Thank you for your reply.
The plan is that storage location gets default on the PO by material master setting.
I have configured the storage location address, so this defaults in the delivery address tab.
This storage location is our warehouse to receive goods.
Sometimes we delivery goods directory to the vendor without receiving into the warehouse.
In this scenario, we are using the address number to print the vendor address on the PO output.
The combination of material and vendor is unique when we need to deliver directory.
So the expectation is to default this address number in this certain case.
Do you mean this will be possible without user exit?
Thanks,
ATO -
CAPTURE RUNTIME REGION VALUE ITEM DELIVERY ADDRESS TAB IN PO
Hi Friends,
I am working on P.O enhancement which updating a custom field in custom tab in P.O item as below.
if docuement type 'ZY' ,, account assignment category 'A' or 'K' material group '35' and delivery address REGION 'CA'.
then update the flag as P,, same value will store in EKPO also.
the issue is i am not able capture the run time value of REGION,, i dont want go to using adrnr in ADRC table..
very importantly user may change the delivery address region, so how can i capture,, please help me.
i dont see any any User exit is not holding the region valueHi,
we have another option to get the delivery address details.
1) use the above procedure to get the delivery address details
2) If there is no address number in EKPO table, just they are showing the address of the plant. That is they are displaying the address data from T001W for the given plant.
may be it will work.
Thanks,
Rajinikanth G -
Delivery Address changes in third Party Scenario
Hi All,
System is not allowing to make changes in delivery address (At PR/ PO Level) for Third party Scenario (Sales Order based).
I had checked the Field Groups of PO/ PR Knowm to me and try to make delivery address field editable. but didnt get any success. Is it Possible to get the dellivery address field in change mode for third party Scenario. If yes, how?
pls. Note: I'm not talking about the Manual third party order processing.
Regards,
S AnandWhy dont you want to make a change at SO level?
From OSS note 550192 - FAQ: Changing third-party and individual PO items
Question: What do I have to consider when I change the ship-to party for the entire sales order or for a third-party item?
Answer: In the third-party scenario, the ship-to party of the third-party item in the sales order is identical with the delivery address of the respective purchase order item. Up to and including Release 4.5, there is no automatic function for a synchronous change so that this must be done manually in both documents. As of Release 4.6, the system automatically updates the delivery addresses from the purchase order items if the ship-to party of the third-party item changes. The change of the delivery address in the purchase order is therefore no longer possible; thus the 'Delivery address' is only displayed in the display mode in the purchasing transaction.
For additional information, refer to Note 204190.
Maybe you are looking for
-
Max # line items in a purchase order
What is the maximun number of line items that can be created in a purchase order or in a contract? Thanks
-
Oracle 8.1.5 to Oracle 9i
Can I transfer my "demo/demo" schema from 8.1.5 to 9i which is on a CD?, I've managed to transfer my "Scott/tiger" schema which was on floppy disk
-
I have tried using volume on other video types, such as YouTube, and it works fine, but Flash volume on ads and other sites does not work. What is the Adobe-recommended solution to the problem? Thank you.
-
ITunes movie freezes and skips with VGA out to projector
Hi, I have rented several movies on iTunes and can watch them onscreen no problem. When I used the VGA dongle to source the screen to an external projector, however, the movie gradually began to skip and freeze, with up to half a second pause between
-
As far as I can tell, there is absolutely no way to create a menu from scratch. Allowing you to make your own back ground, music and links to videos. You think that we this "advanced" software, they would also have the option to make your own menu fr