Delivery address depending on account assignment
Hi,
is there any possibility to connect the delivery adress in PO position to the account assignment? So to say, "if there's account xyz entered as cost center, use delivery adress abc"? Or is this generally excluded due to the possibility of entering multiple account assignments for one PO position?
in standard the delivery address is either coming from storage location address or plant address.
As your PO is account assigned, it does not have a storage location, hence you get only the delivery address from the plant.
A G/L account has no address. hence you cannot default one.
You would need to delvelope Z-tables and use enhancements with own logic to meet your goal. of course multiple account assignments will make the job even more challenging.
Similar Messages
-
Delivery cost with multiple account assignment
Dear SAP gurus,
I found a problem in here. In my company we are using multiple account assignment in PO with multiple asset entered in one line. This PO actually will have customs and delivery cost inside of it, however it is not know at the time of PO creation. When the forwarder send the goods, sometimes the shipment can contain more than one PO as well, thus it is impossible to determine the exact value of delivery cost at the time of PO creation.
When the goods are delivered in the FOB point, the vendor deliver goods will send the invoice for goods, and when the goods delivered to our warehouse, then the forwarder will deliver the invoice for the delivery cost. So there is no sequence of the invoicing. Sometimes the goods are invoice earlier than the delivery cost, sometimes it is later.
My requirements are to make sure that the delivery cost is being posted to the asset account of the goods that are being delivered in the PO. I have tried these options:
a. Planned delivery cost inside the PO --> when posting invoice for planned delivery cost, got error message that there is no delivery cost in the PO. I think this is because of the multiple account assignment because when creating PO and inputting the delivery cost i do get warning that no delivery cost for multiple account assignment,
b. Unplanned delivery cost --> ONLY work if the invoice for delivery cost and goods are being posted as one document, which is not the case in here.
c. Separate PO for delivery cost --> got issue in which the person who supposed to create the PO for delivery cost, would not have any idea what asset no to be used (worse --> if the asset is being delivered partially).
Do you have any idea of what to be done in this case? Please help.
Best regards,
John.See while making the invoice for the delivery cost you have selected the aggreation as planned delivery cost and in the PO you have not maintained the deilvery conditions .The pricing conditions which you have maintained must ebe have condition category - delivery cost .The system will not give thr message thhat you have not mainatined the delivery cost .If you have condition as mandatorty it will show that the conditions ( mandatory) are not maintain.In order to maintain the delivery cost you have to check your conditions whether they are delivery cost related conditins and if then maintain there values in PO and check while doing invoice you will get.
You have also the option of entering the delivery cost at time of the Invoice as unplanned delivery cost ...........
Just check your conditions which you have maintained the calculation schema as delivery conditions and maintain the values and do the invoice proceesing .
It is not advisableto cretae the sepearted PO for the delivety cost as it is not good way of doing the proceess.
Regards
sunny -
Plant address version in PO's delivery address
Hi All,
I have defined 2 international versions for our plant address.
Is it possible to propose the plant address verion as the PO's item delivery address depending on vendor's communication language automatically? That is, if vendor's language is 'English', PO's delivery address will be 'I' version address. Otherwise, another version address will be display.
ThanksHI,
Yes offcourse you can do that in the programming logic of the form.
Say if the vendor is English then the address will be in english
if the vendor is in china then the address will be in chinease.
YES you can do that. tell the abaper about the requirement and he will help you out in designing the form according to your requirements.
Thanks & Regards,
Kiran -
In purchase requisition Delivery Address is determined automatically as a Plant Address.
We want to use a Single plant but could have a number of delivery addresses depending on where the Requisitioner is ordering.
We cannot use Storage Location to determine the Address as Coustomization allows S.Loc per plant.
We want default Delivery Address per RequisitionerHi.
You can create the address the in the transaction MEAN. This address you can the delivery tab in PR.
Create a address for each requisitioner and enter the address no in the delivery tab view of the PR.
Hope this will help you.
Cheers
Umakanth -
Multiple account assignment for distribution of freight cost in MIRO Transaction
Hi MM Gurus
I have created one Purchase order with multiple account assignment for Asset 'A' in which freight cost is added.
I have done good receipt in which only material document is generated. (No financial document generated).
While doing the MIRO for the same Purchase order I m not able to view delivery cost for the same.
I check this thing in SDN but no concrete solution ..
My question is how to capture delivery cost in Multiple account assignment Purchase roder
Regards
AmitHi,
You have done goods receipt for Asset PO but no accounting document created. Now cross check in t.code:OME9 and find GR Non-Valuated check box selected which cause your concern on why your accounting document created for goods receipt for Asset PO!
Check how delivery cost designed for your Asset Purchase, may be in your case - delivery cost added to your asset purchase- which result, you could not find delivery cost in invoice posting!
Regards,
Biju K -
Not able to change delivery address in PO having account assignment cat M
Hi All
We have a scenario where we are creating SO then a PR is getting created from this SO and finally buyer is converting Preq in to PO (account assignment is M as it is against a customer order), now by default the delivery address in PO is coming to that of customer address , but we want to change this delivery address to that of a location where some assembly work will be done. But system is not allowing us to change the delivery address, as soon as we change the address system overwrites it with the original customer address.
Please provide your valuable inputs.
regards
YogeshThanks Jurgen for providing the OSS information though still as per the note Delivery address field should be in display mode but we are able to edit the delivery address but after pressing the "Enter" key system overwrites it with the original customer address. Anyways point is we can not change the delivery address in PO in such case.
Now I am worried how to handle the below scenario , it would be great if you can provide some inputs.
Our client is selling big equipments to customers and an equipment consists of many components. Now when a customer order comes , sales team punches the SO in the system where BOM explosion happens and it creates Preq (because all components needs to be delivered to customer, 3 PDS situation), Buyer converts Preq into PO (account assignment M and there comes SO info under account assignment in item details of The PO).
All the components under an equipment comes from different supplier but for some compeonents instead of direct shipment to customer we need them at an isolated location where some assembly work will be done and that assemled thing will be then delivered to Customer. So to communicate to the supplier that the component needs to be dlivered at some other location and not to the customer location I was trying to change the delivery address as by default for such orders customer address comes in the PO.
Any pointers how to map this business sceneraio.
regards
Yogesh -
G/L Account assignment - Planned delivery cost
Hi,
Is it possible via customizing to determine an other G/L Account for a planned delivery cost condition?
Currently when I want to post the IR I can see two lines for the PO item. One for the cost of the material and one for the delivery cost. However both are having the same G/L Account.
This planned delivery cost has an other transaction key assigned in the pricing schema and account determination for this key is setup in OBYC (automatic postings). So I supposed the system will use an other account but that's not the case.
In case that's not possible. Can I give the condition type an other condition category to obtain this result? The cost of material and the cost of delivery should both go into separeted accounts.
Thanks in advance for your replies!
Regards,
StevenHi,
Freight clearing (FR1), provision for freight charges (FR2)-These transactions are used to post delivery costs (incidental procurement costs) in the case of goods receipts against purchase orders and incoming invoices. Which transaction is used for which delivery costs depends on the condition types defined in the purchase order.
Or you can create Z condition type and for same you can assign different GL in OBYC which system trigger during GR to post the value in to different GL
Rg -
Account Assignment for Delivery
Hi guys
I am trying to change the account assigned to a delivery costs which is defaulting to the PO, but am not to find the place where I can change it ..
I browsed through OBYC, FBKP....
Can anyone please guide me
thank you
RukshanaHi
Means u chnage the GL account in PO
if this is problam then go to Me22n PO , clcik in account assignment field and chnage the account
if this is not ur problam , so can u clarify ur problam
regards
Roobal- -
Outbond delivery for account assigned PO
Hi Gurus,
Our client's requirement is as below:-
We have subcontracting POs for which internal orders are account assigned.
Now, we know after making goods receipt for internal order account assigned POs stock will get consumed against that internal order directly.
We cannot have stocks in storage location for these kind of (account assigned) POs.
But, our requirement is that after making GR for these internal orders assigned POs client wants to make outbound deliveries to deliver finished goods to their customers.
Please let me know how can we map this or is there any workaround for this.
Thanks in advance.Hi,
I understand like below, if wrong clarify.
1. Create Sub.contract PO with internal order.
2. Components issued to Vendor.
3. GR happned, stocks are went to Consumption.
4. Now you want deliver these goods to customer.
correct..?
As you know already, if PO is against Internal Order, there will be no stocks.
I can say in this way.
Only special case or Internal Order used for Internal consumption, not for the goods which meant for outbound delivery.
So, discuss with other SD/FI/CO consultants for alternate solution.
However, If you want this process, check for relevant BAPi/BADI.
Regarads -
I cannot order photo prints from iphoto. Error says that the delivery address is in an unsupported country. The address and my account are in the UK. Does anyone have any ideas?
I cannot order photo prints from iphoto.
Are you trying to print from iPhoto on your Mac or iPad/iPhone? If you are trying to print form yor Mac, check, if the Print Products Store in the iPhoto Preferences > Advanced is set to U.K.
Also the bimmling address, Delivery address, the country for your AppleID and Credit Card must all be in the same country. Check this document:
http://store.apple.com/uk/help/print_products
-- Léonie -
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. -
Multiple Account Assignment issue with BAPI_PO_CREATE1 for service POs
Whle creating service PO through BAPI_PO_CREATE1, The account assignments at the service line items were not being added correctly at the item level, instead they are getting split further wrt tax jurisdiction. This is occuring when an item have multiple service line items with mutltiple account assignments.
The sample code is below, and the all the internal tables and structure were related to BAPI_PO_CREATE1. Tried with BADI ME_TAX_FROM_ADDRESS and User Exit enhancement SAPL2012, which were not helpful for this particular scenario.
Item Details
W_BAPI_ITEM-PO_ITEM = 1.
W_BAPI_ITEMX-PO_ITEM = 1.
W_BAPI_ITEM-ITEM_CAT = D.
W_BAPI_ITEMX-ITEM_CAT = 'X'.
W_BAPI_ITEM-ACCTASSCAT = K.
W_BAPI_ITEMX-ACCTASSCAT = 'X'.
W_BAPI_ITEM-PLANT = USMP. Tax Jurisdiction code 3604931001
W_BAPI_ITEMX-PLANT = 'X'.
W_BAPI_ITEM-MATL_GROUP = IT37.
W_BAPI_ITEMX-MATL_GROUP = 'X'.
W_BAPI_ITEM-QUANTITY = 1.
W_BAPI_ITEMX-QUANTITY = 'X'.
W_BAPI_ITEM-PRICE_UNIT = 1.
W_BAPI_ITEMX-PRICE_UNIT = 'X'.
W_BAPI_ITEM-PO_UNIT = LE.
W_BAPI_ITEMX-PO_UNIT = 'X'.
W_BAPI_ITEM-NET_PRICE = 100.
W_BAPI_ITEMX-NET_PRICE = 'X'.
W_BAPI_ITEM-PCKG_NO = 3456.
W_BAPI_ITEMX-PCKG_NO = 'X'.
W_BAPI_ITEM-PREQ_NAME = RTPTS02.
W_BAPI_ITEMX-PREQ_NAME = 'X'.
APPEND W_BAPI_ITEM TO IT_BAPI_ITEM.
APPEND W_BAPI_ITEMX TO IT_BAPI_ITEMX.
Delivery address details - Tax Jurisdiction 3305923401
W_BAPI_ADDRDEL-PO_ITEM = 1.
W_BAPI_ADDRDEL-NAME = COR.
W_BAPI_ADDRDEL-NAME_2 = Chairman.
W_BAPI_ADDRDEL-BUILD_LONG = 1001R
W_BAPI_ADDRDEL-CITY = plainview.
W_BAPI_ADDRDEL-STREET = old country road.
W_BAPI_ADDRDEL-POSTL_COD1 = 11803.
W_BAPI_ADDRDEL-COUNTRY = US.
W_BAPI_ADDRDEL-REGION = NY.
APPEND W_BAPI_ADDRDEL TO IT_BAPI_ADDRDEL.
First Account Assignment - 3310300441
W_BAPI_POACNT-SERIAL_NO = 1.
W_BAPI_POACNTX-SERIAL_NO = 1.
W_BAPI_POACNTX-SERIAL_NOX = 'X'.
W_BAPI_POACNT-CREAT_DATE = 11/03/2010.
W_BAPI_POACNTX-CREAT_DATE = 'X'.
W_BAPI_POACNT-QUANTITY = 0.75.
W_BAPI_POACNTX-QUANTITY = 'X'.
W_BAPI_POACNT-DISTR_PERC = 75.
W_BAPI_POACNTX-DISTR_PERC = 'X'.
W_BAPI_POACNT-NET_VALUE = 75 .
W_BAPI_POACNTX-NET_VALUE = 'X'.
W_BAPI_POACNT-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEMX = 'X'.
W_BAPI_POACNT-GL_ACCOUNT = 641099.
W_BAPI_POACNTX-GL_ACCOUNT = 'X'.
W_BAPI_POACNT-COSTCENTER = 10010394.
W_BAPI_POACNTX-COSTCENTER = 'X'.
W_BAPI_POACNT-CO_AREA = 1234.
W_BAPI_POACNTX-CO_AREA = 'X'.
APPEND W_BAPI_POACNT TO IT_BAPI_POACNT.
APPEND W_BAPI_POACNTX TO IT_BAPI_POACNTX.
Second Account Assignment
W_BAPI_POACNT-SERIAL_NO = 2.
W_BAPI_POACNTX-SERIAL_NO = 2.
W_BAPI_POACNTX-SERIAL_NOX = 'X'.
W_BAPI_POACNT-CREAT_DATE = 11/03/2010.
W_BAPI_POACNTX-CREAT_DATE = 'X'.
W_BAPI_POACNT-QUANTITY = 0.25.
W_BAPI_POACNTX-QUANTITY = 'X'.
W_BAPI_POACNT-DISTR_PERC = 25.
W_BAPI_POACNTX-DISTR_PERC = 'X'.
W_BAPI_POACNT-NET_VALUE = 25 .
W_BAPI_POACNTX-NET_VALUE = 'X'.
W_BAPI_POACNT-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEMX = 'X'.
W_BAPI_POACNT-GL_ACCOUNT = 641099.
W_BAPI_POACNTX-GL_ACCOUNT = 'X'.
W_BAPI_POACNT-COSTCENTER = 10010393.
W_BAPI_POACNTX-COSTCENTER = 'X'.
W_BAPI_POACNT-CO_AREA = 1234.
W_BAPI_POACNTX-CO_AREA = 'X'.
APPEND W_BAPI_POACNT TO IT_BAPI_POACNT.
APPEND W_BAPI_POACNTX TO IT_BAPI_POACNTX.
Service Item detials
W_BAPI_SERVICE-OUTL_IND = 'X'.
W_BAPI_SERVICE-SUBPCKG_NO = 3457.
W_BAPI_SERVICE-LINE_NO = 1.
W_BAPI_SERVICE-PCKG_NO = 3456.
W_BAPI_SERVICE-EXT_LINE = 0000000000.
W_BAPI_SERVICE-QUANTITY = 0.
W_BAPI_SERVICE-BASE_UOM = 0.
W_BAPI_SERVICE-PRICE_UNIT = 0.
W_BAPI_SERVICE-GR_PRICE = 0.
W_BAPI_SERVICE-SHORT_TEXT = 0.
W_BAPI_SERVICE-MATL_GROUP = 0.
W_BAPI_SERVICE-DISTRIB = 0.
APPEND W_BAPI_SERVICE TO IT_BAPI_SERVICE.
W_BAPI_SERVICE-OUTL_IND = 'X'.
W_BAPI_SERVICE-LINE_NO = 2.
W_BAPI_SERVICE-PCKG_NO = 3457.
W_BAPI_SERVICE-EXT_LINE = 0000000010.
W_BAPI_SERVICE-QUANTITY = 10.
W_BAPI_SERVICE-BASE_UOM = STD.
W_BAPI_SERVICE-PRICE_UNIT = 0.
W_BAPI_SERVICE-GR_PRICE = 5.
W_BAPI_SERVICE-SHORT_TEXT = Cabling Services1.
W_BAPI_SERVICE-MATL_GROUP = IT37.
W_BAPI_SERVICE-DISTRIB = 2.
APPEND W_BAPI_SERVICE TO IT_BAPI_SERVICE.
W_BAPI_SERVICE-OUTL_IND = 'X'.
W_BAPI_SERVICE-LINE_NO = 3.
W_BAPI_SERVICE-PCKG_NO = 3457.
W_BAPI_SERVICE-EXT_LINE = 0000000020.
W_BAPI_SERVICE-QUANTITY = 10.
W_BAPI_SERVICE-BASE_UOM = STD.
W_BAPI_SERVICE-PRICE_UNIT = 0.
W_BAPI_SERVICE-GR_PRICE = 5.
W_BAPI_SERVICE-SHORT_TEXT = Cabling Services2.
W_BAPI_SERVICE-MATL_GROUP = IT37.
W_BAPI_SERVICE-DISTRIB = 2.
APPEND W_BAPI_SERVICE TO IT_BAPI_SERVICE.
Service Account assignment details
W_ACC_SERVICE-PCKG_NO = 3457.
W_ACC_SERVICE-LINE_NO = 2.
W_ACC_SERVICE-SERNO_LINE = 1.
W_ACC_SERVICE-SERIAL_NO = 1. "Account Assignment Link
W_ACC_SERVICE-NET_VALUE = .
W_ACC_SERVICE-QUANTITY = 50 .
W_ACC_SERVICE-PERCENTAGE = 100 .
APPEND W_ACC_SERVICE TO IT_ACC_SERVICE.
W_ACC_SERVICE-PCKG_NO = 3457.
W_ACC_SERVICE-LINE_NO = 3.
W_ACC_SERVICE-SERNO_LINE = 1.
W_ACC_SERVICE-SERIAL_NO = 1. "Account Assignment Link
W_ACC_SERVICE-NET_VALUE = .
W_ACC_SERVICE-QUANTITY = 50 .
W_ACC_SERVICE-PERCENTAGE = 50 .
APPEND W_ACC_SERVICE TO IT_ACC_SERVICE.
W_ACC_SERVICE-PCKG_NO = 3457.
W_ACC_SERVICE-LINE_NO = 3.
W_ACC_SERVICE-SERNO_LINE = 1.
W_ACC_SERVICE-SERIAL_NO = 2. "Account Assignment Link
W_ACC_SERVICE-NET_VALUE = .
W_ACC_SERVICE-QUANTITY = 50 .
W_ACC_SERVICE-PERCENTAGE = 50 .
APPEND W_ACC_SERVICE TO IT_ACC_SERVICE.
EKKN table entries:
When created thru ME21N with the same set of data,which is expected
ZEKKN MENGE NETWR SAKTO KOSTL
01 0.750 75.00 0000641099 0010010394
02 0.250 25.00 0000641099 0010010393
But through BAPI_PO_CREATE1, the below split is being done with respect to Tax Jurisdiction code.
01 0.500 50.00 0000641099 0010010394
02 0.250 25.00 0000641099 0010010394
03 0.250 25.00 0000641099 0010010393
Please advice the solution.
PS: there were different tax jurisdiction codes were being determined.
Plant, Cost Center and Delivery Address.Hi,
To commit BAPI or to run it properly , you need to fulfill all required data for BAPI.
You can go to BAPI documentation to check for mandetory parameters and also check with Function consultant for more data and confifuration/
Reward if useful! -
Hi Experts,
I want to change the delivery address in PO for a particular Account Assignment Category. When the category is 'Z', I want to fetch the sales order ship to party address which is mentioned in Account assignment tab by clicking more button. I have found the enhancement MMDA0001 - Default delivery address where i can pass the adrnr . But i am not getting the account assignment tab values in the debugger.
Its urgent.
Awaiting your responses.
Thanks & Regards
Akshay JHi Akshay,
BADI ME_PROCESS_PO_CUST may helpful you to achive this.
Regards,
KAUSHIK SAVALIYA -
Subcontracting PO from Sales order = Delivery address tab = customer
Hi,
We have a Sales order which saves a PR.
If I transfer the PR to the subcontracting PO.
The delivery address is equal to my company.
But I want to send the goods directly to the end customer.
I will post a dummy receipt. I need a customer field in the
tab delivery address (same as with third party).
How can I solve this problem?
Thank you,
Eric van Zundertthis is possible however you have to some configuration.
1.you have to maintain combination item category -L and acct assignment category - 1
spro-->mm->purchasing--->Account assignment here you have to maintain
2.you have to allow to create PO with item category 'L' when PR item category is 'S' .
spro->mm->Purchasing->PO->document types
for std order NB you have to maintain above combination
3. now if PR is converted into PO ,the system automatically take item category --S
acct assignment category--1 from Sales order.In PO you have manuallly change the item category from 'S' to 'L'.
now the delivery address will not be changed from customer address.
this will solve you problem
reward if useful
Maybe you are looking for
-
I have an ipad 2 and just rented a movie. When I try to load the movie to the ipad it indicates that it was not copied to the ipad because it cannot be played on the ipad. How do I fix this? P.S running software version 4.3.3
-
Photos missing from iPhoto/TM backup but with a twist.....
So, there is a challenging twist associated with this case of missing photos and I hope an expert can provide some advice. Note: This is not related to upgrading from iPhoto '09 to '11 thank goodness! Here is the story in condensed form, with additio
-
Can I install boot camp on new startup drive?
I find I have to use Windows to administer a Network Solutions hosted and built website. They claim to support Mac OS but there are issues and they tell me that Internet Explorer is the more reliable browser to use. So I'm wondering if I should repla
-
Combinding Resources in the FIM Portal Navigation Bar
We have two different OUs for computers in our AD that have the same attributes. Server and Workstation, there is no attribute that indicates if the computer is a server or a workstation. My solution was to create two different MAs, AD Server MA and
-
Skype 7.5 'Skype has stopped working' - Windows 7
Skype Crash when starting ... completely uninstalled Skype and re install ... dxdiag show no problems Here is the vent viewer error: Faulting application name: Skype.exe, version: 7.5.0.102, time stamp: 0x556dd64c Faulting module name: unknown, versi