How to create hundreds of SHIP TO ADDRESS in SRM 7.0
Hi Experts,
We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario .
In ECC we are maintaing the Delivery Address at Storage Location level and we have such approx 4000 storage Location Address and so in SRM the Delivery Address in Shopping Cart should be address of the Stoarge Location.
But in SRM 7.0, the attribute ADDR_SHIPT is maintained for the "Internal Buiness Partner : Purchasing Companies".
1. Can anyone suggest, how these large no. of addresses ( i.e. approx 4000) can be created for One Purchasing Company ?
2. By using some BADi, while creating the S/C, is it possible to pull the address of the Storage Location & fill the address in S/C , when this Sto.Loc will be entered ?
3. Is it possible to keep the Delivery address BLANK in the S/C, by NOT maintaing the ADDR_SHIPT at all, so that while creating the Classic PO, system will pick up the delivery address of Sto .Loc in ECC and it will appear in tyhe PO Form ?
Waiting for reply.
Thanks
NAP
Hi,
Sorry for the delay we wrote the program in SRM and when running it will call R/3.
report zebp_address_synch no standard page heading
message-id com_product
line-count 65
line-size 100.
*Include for Data
include zebp_address_synch_top.
*Include for Subroutines
include zebp_address_synch_sub.
At Selection-screen on value request
*at selection-screen on value-request for p_org.
**search help for p_org
perform f_search_help.
*Initialization.
initialization.
*initialize the parameter with default RFC dest
perform f_get_rfc_dest.
*get the titles in the EBP system from table TSAD3
perform f_get_titles.
*get the all organizational units flagged as companies
perform f_get_is_company.
At Selection-screen validation
at selection-screen.
*Check either the storage location range or the plant range is entered
*on the screen
perform f_validate_input.
START OF SELECTION *
start-of-selection.
*Check data and get the corresponding company code
perform f_check_data.
*check the selection screen values
if p_org is initial.
*check the selection screen values and the get the plant-org relation
perform f_filter_data.
endif.
*If No Error then Proceed
if g_error ne 'X'.
*select data from R/3
perform f_select_data.
endif.
*If No Error then Proceed
if g_error ne 'X'.
*clear workarea
clear: i_plant_wa.
*process one record at a time from i_plant table
loop at i_plant into i_plant_wa.
*Process the data from the internal table
perform f_process_data.
*refresh all internal tables and global vaiables used to store data
perform f_refresh_local.
*clear workarea
clear: i_plant_wa.
endloop.
endif.
END OF SELECTION *
end-of-selection.
*summary of run
perform f_write_summary.
*Transfer Messages to Application Log
perform f_transfer_message.
*Refresh all The Internal tables Used
perform f_refresh_tables.
*& Include ZEBP_ADDRESS_SYNCH_TOP
tables: hrt5502,hrp1001,bbp_pdorg,bbp_pdbei.
Types *
types:begin of t_part_addr,
*Fields for Partner and Address Number
partner type bu_partner, "Business Partner Number
addrnumber type ad_addrnum, "Address number
end of t_part_addr.
types:begin of t_st_addr,
*Fields for Partner and Address Number
mandt type sy-mandt, "Client
werks type werks_d, "Plant/Valuation area
lgort type lgort_d, "Storage Location
lfdnr(3) type c, "Sequential address number
addrnumber type ad_addrnum, "Address number
end of t_st_addr.
types:begin of t_addr,
*Fields for Partner and Address Number
partner type bu_partner, "Partner Number
addrnumber type ad_addrnum, "Address number
adext type bu_adext, "Storage Location
end of t_addr.
types:begin of t_org,
*Fields for org unit
object_id type pd_objid_r, "Object ID
short_text type short_d, "Object Abbreviation
long_text type stext, "Object Name
comp_code type bukrs, "Company Code
comp_name type butxt, "Name of the company code or company
end of t_org.
types:begin of t_org_1,
*Fields for org unit
object_id type pd_objid_r, "Object ID
werks type werks_d, "Plant/Valuation area
end of t_org_1.
Types *
types:begin of t_plant,
*Structure for storing plant/valuation area
werks type werks_d, "Plant/Valuation area
bukrs type bukrs, "Company Code
end of t_plant.
Internal Tables *
data:
i_part_addr type standard table of t_part_addr initial size 0,
i_st_addr type standard table of t_st_addr initial size 0,
i_addr_ext type standard table of t_addr initial size 0,
i_addr_key type standard table of addr_key initial size 0,
i_adrc type standard table of adrc initial size 0,
i_adr2 type standard table of adr2 initial size 0,
i_adr3 type standard table of adr3 initial size 0,
i_adr6 type standard table of adr6 initial size 0,
i_adrc_1 type standard table of adrc initial size 0,
i_adr2_1 type standard table of adr2 initial size 0,
i_adr3_1 type standard table of adr3 initial size 0,
i_adr6_1 type standard table of adr6 initial size 0,
i_org_unit type standard table of t_org initial size 0,
i_org_stru type standard table of t_org_1 initial size 0,
i_objects type standard table of bapi_objec initial size 0,
i_plant type standard table of t_plant initial size 0,
i_messages type standard table of bapiret2 initial size 0,
i_message_tab type standard table of balmi initial size 0,
i_title type standard table of tsad3 initial size 0.
Work Areas *
data:
i_part_addr_wa type t_part_addr,
i_st_addr_wa type t_st_addr,
i_addr_ext_wa type t_addr,
i_addr_key_wa type addr_key,
i_adrc_wa type adrc,
i_adr2_wa type adr2,
i_adr3_wa type adr3,
i_adr6_wa type adr6,
i_org_unit_wa type t_org,
i_org_stru_wa type t_org_1,
i_plant_wa type t_plant,
i_messages_wa type bapiret2,
i_message_tab_wa type balmi.
Global Variables *
data: g_error(1) type c,
g_failed type sy-tabix,
g_exists type sy-tabix,
g_modified type sy-tabix,
g_inserted type sy-tabix,
g_deleted type sy-tabix,
g_comp_code type bukrs,
g_partner type bu_partner.
Constants *
constants:
c_object type balhdr-object value 'SRM',
c_subobject type balhdr-subobject value 'ZST_SYNC',
c_msgid type sy-msgid value 'COM_PRODUCT',
c_i type sy-msgty value 'I',
c_e type sy-msgty value 'E',
c_w type sy-msgty value 'W',
c_num type sy-msgno value '898',
c_otype type swhactor-otype value 'O',
c_cocode type om_attrib value 'COCODE',
c_207 type hrp1001-relat value '207'.
c_as type bbp_det_account-acc_cat value 'AS',
c_v type bbp_det_account-acc_cat value 'V',
c_j type bbp_det_account-acc_cat value 'J'.
Selection Screen
selection-screen begin of block b5 with frame title text-001.
selection-screen begin of block b1 with frame title text-0s1.
*Plant
select-options: s_plant for bbp_pdbei-be_plant no-extension obligatory.
*Storage Location
select-options: s_sloc for hrt5502-storage_loc no-extension obligatory.
selection-screen end of block b1.
selection-screen begin of block b3 with frame title text-0s3.
selection-screen begin of block b3b with frame title text-0s4.
*Organization Unit
*select-options: s_org for hrp1001-objid no intervals no-extension.
*Organization Unit
parameters: p_org type hrp1001-objid no-display.
selection-screen end of block b3b.
selection-screen end of block b3.
selection-screen end of block b5.
selection-screen begin of block b4 with frame title text-002.
*RFC Destination
parameters: p_rfc type bbp_backend_dest-dest obligatory.
selection-screen end of block b4.
Similar Messages
-
How to create a new e-mail address on my iCloud ?
how to create a new e-mail address on my iCloud ?
You can't create a new iCloud email address without creating a new iCloud account. You can, however, create an alias email address to use in your current account that will receive email in your current inbox, as explained here: http://help.apple.com/icloud/#/mm6b1a490a. Be aware that an alias address cannot later be used to create a new iCloud account, or be moved to another account, or be reactivated should you ever delete it.
-
Hi All,
When creating a shopping cart users have several options for the Delivery address:
1) They could either set a default address in their attribute/personalization which appears in all items
2) They could go into each line item and select a pre-stored delivery address or enter the address manually.
However there is no option to store a default address for each shopping cart or to copy the address among items.
This is important when shopping carts with large number of items are being created and data like cost centres and ship to addresses need to be changed frequently.
Any pointers on how this could be done?
When the user clicks on Shop link, there is no way to select a default address beforehand.
Thanks
KedarHello,
This feature is available in professional shopping cart (extended form, single screen shop). This is dedicated to the professional users like purchasers or purchasing assistants who create shopping carts on a regular basis. But you can extend this to all SC creators as well.
Documentation is from SRM 5.0 but the same concept holds good for SRM 7.0.
http://help.sap.com/saphelp_srm50/helpdata/en/9a/6c0f3abda5bf31e10000000a11402f/frameset.htm
Login as Operational purchaser and create Shopping cart through purchasing tab, you would be able to see the professional SC. You can maintain all the default settings like delivery address, account assignment & so on.
Hope this solves.
Ashutosh -
Ship-to address in SRM 7.0
Hi Experts,
In SRM 5.0 we have the transaction 'Edit Internal Addresses' for maintaining the Ship-to addresses. What is the equalent transaction in SRM 7.0 for maintaining the Ship-to addresses, as i don;t see 'Edit Internal Addresses' under SRM Admin role.
Thanks!Hi Harsha
you are logically correct. it is just address.
when you save and view the address in the shopping cart smartform or ship to address
it will have COMAPNY NAME - like BUK along with your newly created ship to address company.
the reason behind here is
the requestor is requesting a sc for his company so that this material will not be delivered to some other company
harisha - requestor
CHENNAI INC - company code in the buk
tidel park - ship to address (new address which is created.)
hope you got it now .
br
Muhtu -
Ship to address in srm search not giving proper details
Dear gurus
when I search for Ship to address in SC the first 4 fileds the search is not working
Name 1
Name2
Search term 1
Search term 2
I am not getting results when I type exactly what ever availble in the ADRC table .
Please give your valuble sujestion s
Immediate reply will be highly apprciable
sdIn the elementary search help of ship to address check whether the importing parameters of Name1,Name2,search... are 1 or 0.if it is 0, change it to 1 and activate the same
-
How to create groups with non-local addresses
I want to create a mailing group that consists of non-local addresses like [email protected], [email protected]
How to do this ? I know that editing /etc/aliases redirects to local accounts only. The above is possible by editing /etc/postfix/virtual and do a postmap on this file. Is there any alternate way ?I use an include file for my groups - easier to modify...
In /etc/postfix/aliases...
some_groupname: :include:/path_to/groupname.txt
In the 'groupname.txt' file (textedit, plaintext file), a list of the members...
localemailuser
[email protected]
After any edit of the group file... sudo newaliases
-david -
This problem is starting to aggravate me, as I have over $40 in iTunes credit that I can't use, as every time I try to purchase something it asks me to answer my security questions, which I have forgotten the answers to and have no way of recovering them. It also states that it is my "first" time purchasing something, though I've had this account for a while. Please help.
You need to contact Apple. Click here, phone them, and ask for the Account Security team.
It isn't possible to create a rescue email address without correctly answering at least two of the questions.
(86502) -
How to create a invoice with invoice items in SRM?
Hi experts,
I am testing my BW custom code for SRM. My question is I have to create a invoice with line item 1 quantiy 20 in SRM - development. After this I have mark line item 1 with a deletion indicator X in SRM and create two more line items and load it again in BW. This time in BW it should delete line item 1 with deletion indicator X and load the two new line items that I created.
Please tell me the T-code and step by step instructions to create it.
Thanks in advance.
Sharat.i answered by myself.
-
SRM 7.0: How to add Ship-to address ?
Hi Experts,
This is on SRM 7.0.
I have to add a new ship-to address in SRM 7.0.
When i log in as SRM ADMIN, i go to the transaction "Business Partner: Purchasing Company".
Here i have the options "Create Purchasing Company" , "Display" and "Edit"
The option "Create Purchasing Company" is alone open to execute, where as the other two options like "Display" and "Edit" are greyed out.
The table is also empty, even though we have Companies created in the system already.
Is there any setting required to bring up all the Companies in the table ? sothat i can Edit or Display ?
Please advice.
Thanks!Harsha,
Edit and Display buttons will be active only when you select any purchasing company from the list that displayed when you choose Purchasing Companies. So in your case you do not have any Purchasing companies maintained and hence you were not able to view the companies.
To view the companies in the list you need to maintain a company in the Org structure.First choose an org unit and activate company check box under Function Tab and make sure BP# is generated by the system for this org unit. This will create a Purchasing company. Then logon to SRM portal and go to "Business Partner:Purchasing Company" and refresh the screen, you will see the company you just created. Select this and click Edit button that will open a new window. Go to Address Data tab and create new addresses and activate the check box Ship-to Address.
Hope this will help you.
Thanks,
Jagadish -
URGENT-iStore creates new ship to address on checkout-no permission to user
We are running into issue of when iStore is checking out, it is creating a new ship to address for custoemer. User role does not have a permission to create contact/ship to/bill to address. It only creates ship to address. What should be causing this? We are on 11.5.10. User does not have any of below permission. Is there any JTF profile option needs to change?
IBE_CREATE_BILLTO_CUSTOMER
IBE_CREATE_BILLTO_CUSTOMER_ADDRESS
IBE_CREATE_BILLTO_CONTACT_ADDRESS
IBE_CREATE_ENDTO_CONTACT_ADDRESS
IBE_CREATE_SHIPTO_CONTACT_ADDRESS
IBE_INT_MANAGE_CONTACT_INFO
Thanks for your help in advance.Hi,
Do you want to stop iStore from creating a shipping address during checkout? If so, check if there is already an account site associated with the primary shipping address (party site) for that customer and operating unit combination. If there is a account site for primary party site under the given operating unit, iStore will not create account site during checkout.
Thanks,
Venkat -
Ship To Address issue due to HR replication
Hello All,
We are in SRM 7.0 SP2.
We have integraed HR org structure to SRM Org structure.
There was a change in the HR org structure at the root level, which resulted in SRM root level Org structure with a different Business Partner number.
In SRM Org structure we have many attributes at the root level, and we have created many ship to address against the old Business partner.
Now with this change there is only Company address available.
Is there a way where we can assign the old ship to adress which we had created earlier to assign to theHi Muthu
The problem is that all PR items are being sent to SRM with a default Ship to Address instead of the Ship to Address described for each item in the PR.
After some investigation we found out that this address comes from the Purchasing Organization default address wich can be seen through PPOMA_BBP (address tab at Purchasing Organization level).
So, this is the first problem. Items are arriving in SRM with wrong Ship to Address and buyer must correct all of them manually, wich is terrible and unacceptable for the end user.
Trying to fix this palliatively, we've maintained a few different Ship to Address in SRM so that buyer can create a PO in SRM (through Sourcing Cockpit) and then change the address for the PO items using search help instead of keep filling in all address fields for Ship to Address.
By doing this we found a second issue while choosing one of these address already maintained in the system. The main name for the address (wich can be seen in the PO partner tab view) shows the Purchasing Organization name, instead of c/o name defined in the address. Therefore user can not know wich is the address choosen for each item unless he opens the address details for all items since all address are indexed to the same Purchasing Organization and therefore to the same address name.
Mainly what we need to know is how to make Ship to Address described for the items in PR comes exactly the same to SRM instead of the default address.
Thanks for your support.
Regards,
Evandro Miasato -
Maintaning various ship to address
How can I maintain various ship to address for a customer, we are making invoices through SD module.
Hi,
Maintain in customer master (T.code : VD02), go to sale area Tab, in that maintain the partner function as many ship to....
While creating the sales order for that customer, then pop-up will come to choose the ship to party, wherein u can select the same accordingly.
Thanks and regards
Gopi -
SRM 7.0 Ship to Address contact details not pulling through
Hi all
We are using SRM 7.0. We want users to choose the ship to address from a predefined list. I have added a new ship to address to an existing company. However when I add new contact details (telephone number, fax and email) it does not keep the new contact details. It still keeps the old contact details as standard. So when the requestor chooses the new ship to address, the old contact details are pulled through and not the new ones. How do I get the new contact details to pull through for the new address and the old contact details to remain for the old address.Hi
did you crreate a new ship to address? or change the contact details of ship to address ?
if you changed the ship to address . you must get updated address when you search.
if you created new ship to address , you must get new ship to address when you search it.
how did you change the ship to address ? - internal address?
Muthu -
SRM 7.0 Ship-to address by using search-help(F4).
Hi,
My problem -
Create or change Ship-to address by using search-help(F4). After selection, new/changed address is not refreshed in detail screen of Ship-to adress. Default Ship-to address is displayed.
I have looked at the SAP NOTE -1148246 which is the exact problem i have but the note is for older release and the changes mentioned in this SAP Note are done in my system.
Thank you.
Regards,
Kailash.Hi
did you crreate a new ship to address? or change the contact details of ship to address ?
if you changed the ship to address . you must get updated address when you search.
if you created new ship to address , you must get new ship to address when you search it.
how did you change the ship to address ? - internal address?
Muthu -
Purchase Order - Default Ship-To Address
Hello,
We are trying to change our default ship-to address for our PO's in SAP but we are having issues. Even though we have changed the default ship-to address in the Business Partner Card, the Ship-To address field still appears as "DC, USA" which is not even the full address listed in the Admin>Company Details field. Is there another "warehouse" default ship-to field somewhere that we are missing? Please advise on how to change our default ship-to address for all PO's moving forward. Thank you.
Best,
Matthew Siegfried
Sherbrooke CellarsDear,
Check the below threads:
Help Required in Ship To Address in Purchase Order
Vendor ship to address
Purchase Orders Ship to Addresses
hope this will help you.
Neetu
Maybe you are looking for
-
"Unknown Error" (-50) The disk could not be read from or written to
My iPod Nano syncs fine, but I have never been able to change a setting without getting the above error dialogs ("Unknown Error (-50)" and "The disk could not be read from or written to") Does anyone know what's up?
-
Read from internal table.
hi frnd's Values in the internal_table must be compared with the screen field value entered. Whether the where condition can be used in the read table syntax.
-
Has anyone else had itunes take money for a purchase out of your bank account when you already have a credit on your itunes account to cover it?
-
Hi, when I retrive my email on my pc and the email is delefed from the pop3 server, the email on my phone is not deleted? how can I solved this. thx Ad Solved! Go to Solution.
-
Hi, Volume key and light up key are not working after I installed marverick version, Actually the whole key pad line isn't working .How should I do?