Changing ship to address at line item level in CRM order
Hi All,
Is it posible to change the ship to address at line item level in CRM order either at the time of order creation or order change. if yes please let me know if we need to do any settings for this.
Thanks in advance.
JM
I agree with the previous comment, Please go to the Partner Determination procedure attached to the Transaction and in the partner functions associated with the that procedure, find Ship-to-Party and there will be a check box to "make it changeable" once determined. Check that and save it.. You should be all set
Thanks
Raj
Similar Messages
-
How to place a delivery block at line item level from Inbound ORDERS IDoc?
Hi EDI/ABAP Experts,
Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
Thanks,
Matt .Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
CALL CUSTOMER-FUNCTION '001'
EXPORTING SEGMENT = IDOC_DATA
DVTCOMAG = VTCOMAG
DXMESCOD = IDOC_CONTRL-MESCOD
CONTRL = IDOC_CONTRL
TABLES DXBDCDATA = BDCDATA
DXVBAP = XVBAP
DXVBEP = XVBEP
DYVBEP = YVBEP
DXVBADR = XVBADR
DYVBADR = YVBADR
DXVBPA = XVBPA
DXVBUV = XVBUV
DD_FLAG_P = D_FLAG_P
DXKOMV = XKOMV
DXVEKP = XVEKP
DYVEKP = YVEKP
CHANGING DXVBAK = XVBAK
DD_FLAG_K = D_FLAG_K
EXCEPTIONS
USER_ERROR = 01.
If you are in ECC6.0 you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U -
Complete Delivery at Line item level in Sales Order
Hello Gurus,
While creating a sales order for some customers (the sales area tab in the customer master data has complete delivery and full delivery at item level), the complete delivery flag should be enabled and partial delivery flag at item level shoulb be C.
We have a situation where this is not working in some cases. I need to know what user exits are copying the customer master data into the sales order fields. Please give me a lead how I can proceed with this.
Regards,
BaluHi Balu,
Please check user exits in program MV45AFZZ.
i.e USEREXIT_MOVE_FIELD_TO_VBAK
Regards,
Gumanti -
Ship to party Jursidiction code change at line item leve in Sales order
Hell Gurus,
Here is requirement for enhancement in Sales order. For determining tax following logic is requird to modify jursidiction code of ship-to party at line item level.
after entering header details and line item, then user exit should be there(which user exit??) and i need to compare countries of Ship-from(Plant i believe) and Ship-to party(customer) if country is same, then jursidiction code of Ship-to party at line item level should be changed with value from Jursidiction code of Ship-from party(plant this value will come from <b>T001W</b>) table. this should happen before save(while entering line items, user may go and check jursidiction code change)
what i need here is which user exit is triggerd ater line item entry, and how to change jursidiction value( i believe we need XVBAP, XVBPA, might be XADRC(Jursidiction code) . if some one provide user exit and logic with structure details then it would be of great help.
hoping to get reply
Thanks in Advance
SivaCan you check in MV45AFZB Include but i am not sure
FORM USEREXIT_FILL_VBAP_FROM_HVBAP.
VBAP-zzfield = HVBAP-zzfield2.
ENDFORM.
FORM USEREXIT_SOURCE_DETERMINATION.
set source
VBAP-WERKS = zzfield1.
set item category
VBAP-PSTYV = zzfield2.
ENDFORM.
*eject
Reward Points if it is helpful
Thanks
Seshu -
Ship to party at line item using BAPI_BUSPROCESSND_CREATEMULTI
Hi all,
I am using BAPI_BUSPROCESSND_CREATEMULTI to create a sales order in CRM. The sales order is successfully generated in CRM.
I am inputting Sold to party, Ship to part, bill to and payer at header level. I am also inputting different ship to party for each line item.
But when i create the order, i observe that every line item is having the same ship to party that i provide for order header. i.e ship to party at header is being copied to each line item...but i dont want that to happen..i want to give a different ship to party at each line item.
I used the crm_order_read report to find out how partner table is filled and incorporated the same in my code....
still i am unable to populate different ship to party at line item level
here is my code...i had been trying to figure this out since 3 weeks and i am unable to find out why i am unable to put different ship to party for each line ite m.....
some one please help me if they encountered this earlier...
kindly help..this is my sample code
Ship to at header level
ls_logical_key-ref_partner_handle = '0002'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
_set_field ls_partner REF_GUID lv_guid_h.
_set_field ls_partner REF_KIND 'A'.
_set_field ls_partner KIND_OF_ENTRY 'C'.
_set_field ls_partner PARTNER_FCT '00000002'.
_set_field ls_partner PARTNER_NO wa_header-SHIP_TO .
_set_field ls_partner NO_TYPE 'BP'.
_set_field ls_partner DISPLAY_TYPE 'BP'.
_set_field ls_partner MAINPARTNER 'X'.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
Ship to at item level
ls_logical_key-ref_partner_handle = '0002'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
_set_field ls_partner REF_GUID lv_guid_i.
_set_field ls_partner REF_KIND 'B'.
_set_field ls_partner KIND_OF_ENTRY 'C'.
_set_field ls_partner PARTNER_FCT '00000002'.
_set_field ls_partner PARTNER_NO wa_item-SHIP_TO .
_set_field ls_partner NO_TYPE 'BP'.
_set_field ls_partner DISPLAY_TYPE 'BP'.
_set_field ls_partner MAINPARTNER ' '.
Some one please help me and tell me what i am missing...
regards,
Jessica Sam
Edited by: jessica sam on May 10, 2009 10:52 PM
Edited by: jessica sam on May 10, 2009 10:52 PM
Edited by: jessica sam on May 10, 2009 10:53 PM
Edited by: jessica sam on May 10, 2009 10:54 PMI know how to trace the Ship to party at line item. When i create an order manually on CRM then the table CRMD_PARTNER has the required entries and the Ship to party at line item is getting populated correctly. Also if i open the order in CRMD_ORDER the ship pto party are being populated correctly at line item..
But if i am trying to replicate this programatcally using the BAPI, i see that the ship to at header is being copied to each line item and this is not what is expected.
If i go and check in the CRMD_PARTNER the data is not filled
correctly as I dont have any ship to party at line item
So finally I even tried to insert the data manually in the CRMD_PARTNER table using an
INSERT statement and even that doesnt work...
https://www.sdn.sap.com/irj/scn/forums
So i am unable to ficgure out what is going wrong
Any body if they have any idea on poulating ship to party programatically in
sales order for each line item please help
I am unable to figure out how to fill PArtner table of this BAPI to populate ship to at line item level
Kindly Help..
Regards,
Jessica Sam -
Partner Function Address change at line item level - Item Partners checkbox
Hi guru, we have a requirement that we need to change the address for partner function at line item level without changing the partner number. Currently the ship-to partner function address is automatically coming from the header although the number is modifiable but not the address (when double click into the partner number, the pop-up is grayed out). It is probably because the Item partner check box for the shipto partner is not checked (field name: SD_PARTNER_POSFLAG). However that field is not modifiable in VA02 either.
If the shipto partner number is overwritten, then the item partner check-box is automatically checked and allows address chanage. Is there a way in the configuration that can default the 'item partners' checkbox for certain partner so the address can be changed without the need to overwrite the account?
Any advice is appreciated.
Thank you.If the item level ship-to party is derived from header partner function, but you want to change the address at item screen rather than header level. On item screen, enter the same function, the same number again in a new line, "item partner SD_PARTNER_POSFLAG" is then ticked. Then proceed to the address change.
No need to do modification. -
1 line item in the sales order ship to different shipping address
Hi,
Our customer A have 3 different branches (meaning 3 different shipping address).
During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A:
10pc to address A1
20pc to address A2
20pc to address A3
In my sales order, is there a way I just create 1 line item with the order qty 50pc for this material A, but split into 3 schedule line with 3 different ship to address?
I know there is alternate way where I create 3 different line item (with order qty 10, 20 and 20) and change the ship to address in the Item -> Partner tab. But using this method, I have to create 3 times of the same material in 1 sales order, just with the different shipping address.
I want to know is there a way I just need to create 1 line item?
Kindly please advise. Thank you.Hi there,
When you have 3 different ship-to address, system will anyway create 3 different deliveries. This is coz if the header data in shipping (ship-to) is different, system will split the deliveries. Routes are different to 3 ship-to addresses & they cannot be combined in the same delivery.
So as mentioned in above thread, create 3 different line items or create different sales orders all together for different ship-to parties.
Regards,
Sivanand -
How to change the posting date at the line item level in a sales order
how to change the posting date at the line item level in a sales order
Hi,
I believe the POSTING DATE will appear on the accounting document
In the Accounting document, the posting date will be based on the Billing date.
Please let me know if you need any more details
santosh -
Shopping cart header status differs to status at line item level
Hello
I am using SRM 5.5 EC, got a situation where there is a single line shopping cart which has been approved. The status on the header is still showing "awaiting approval" but at line item level it shows as being "approved" and no follow on document has been created.
Can anyone help and let me know why this has happened and how to change the header status now?
Many Thanks in Advance
PrakashOK found a solution
-
Switch to Open Item Management at a Line Item Level
Hi Guru's,
I want to change a non Open Item G/L account to an Open Item at Line Item level, we are on version 6.4
We have activated New G/L and I checked OSS note 175960, it says its not applicable if New G/L activated.
I tried program FAGL_SWITCH_TO_OPEN_ITEM , it switched the account to Open Item but the problem here is it did't switch at line item level it is just showing total balance. My requirement is to switch at Line Item level.
Is there any solution other than creating a new A/c with Open Item checked and transfering balances from old A/c to new A/c.
Please suggest
Thank YouHi,
There are 3 ways to realize it.
1. create a new account with XOPVW, then transfer the balance from old account to the new one. this is recommended by SAP.
2. if you want to change flag of XOPVW in this account, then make the balance to zero, then change this flag in FS00, at last trasnfer the balance back to this account-> Not recommended by SAP, because it is easy to cause data inconsistency.
3. method in note:175960-> but report :RFSEPA02 and RFSEPA03 are not support since release 4.5A.
So if possible, suggest you to use 1.
Best Regards,
Gladys -
Customized drill-down report cannot go to line item level (FGI4 and FGI1)
Hi Expert,
I created a customized drill-down report using New GL features, as follows:
FGI4 create form, with reference to form: 0SAPBLNCE-01
FGI1 create report for the form created.
After that I set some things like characteristic, variables, and output type.
When I execute the report, the data shown cannot be drill-down to line item level:
Goto > Line Item (this function is disabled).
Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
Thanks
sbmelHi sbmel,
For calling up a line item report in a drill down report you need to make the below settins:-
- You first have to generate the line item report with program RGRGENSI for your summary table.
- Then assign the generated line item report to the summary report.
Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
Regards,
Gaurav
Edited by: gka2707 on Jul 19, 2010 8:07 AM -
Fixed Value Date at line item level is not in changable mode when copied
Dear SDN Team,
Hi i have a problem in the Fixed Value date at the line item level in the Return sales order.
The Problem is When creating the return order with reference to the scheduling agreement (10.03.2010). In the Return sales Order at the line item level the fixed value date is coping from scheduling agreement item (fixed value date eg: 31.12.2009)
But i would like to have the fixed value date in the return order as 10.03.2010 but the field is greyed out.
But normally when the sales document is created with reference to the preceding document the same will be copied. But field is greyed out and it is not in changable mode.
Can any one help how to solve this.
I have checked also SAP Note where i did not find any messages.
In normal scenario - when the order is created without any reference the fixed value date is in changable mode until the document is in open.
Pleas help me to resolve this.
With Regards,
JaiHi Lakshmipathi,
I am sharing the resolution which was done to this requirement.
We have a specific condition type with statisticaly used and with routine to have KWERT with zero value,
Based on the different key combination. We have a specific key combination for the SA and SDoc and for this we need to maintain a condition record for the condition type with fixed value date and which will be linked to only the specific document. Once this is done.
We need to do update pricing in the sales order for the particular line item. by doing this the Fixed value date will be changed in the particular line item.
Thanks and Regards,
Jana -
Purchase order ship to party no at item level
Hi All,
I am able to get Ship To Party Address from ADRC table(Iam getting ADRNR from EKPO) But my client requirement is to get the KUNNR and not the address.
Is there any way to get KUNNR based on ADRNR at item level .I have search through the (KNA1 , LFA1 , VBPA , EKPA , EKPV ) But I couldn't get the relationship (KUNNR).
Actually Iam not able to get who the Ship To Party is at item level.
If we take it as shipping address of the purchasing party i could't find it in T001W.Where as if it is header it is maintained in T001W.
Do we have to take it as Third Party Ship to Party (i.e purchasing for a third party and shipping it directly to them).
Can anybody help me on this.PLZ.This is very urgent.
Thanks,
Saritha.Hi,
Thank you for ur response.
ADRNR address value is not maintained in KNA1 table.
Thanks,
Saritha. -
FI Posting of Invoice at the Line Item Level.
Hi All
Client has requirement of posting at the invoice line item level.But standard FI-AR posts at the Invoice Header level.
E.g If invoice has two line items of $20 and $30 respectively.
On the standard FI-AR side,one accounting document of $50 will be generated.It will not be posted for each invoice line level.
In order to post at the invoice line item level,i am looking for a posting user exit from SD side that will two individual account document each having invoice line item amount.Or we can have one FI accountng doc having two invoice line items in that.
Is there any way we can do this unique type of enhancement in ABAP? and also what is the exact user exit we can use from SD invoice side.
Regards
ManjinderThis is not entirely accurate - if the items are pointing to, say, different profit centers then there will be one posting per profit center. If this cannot be resolved by the standard SD/FI configuration, then the users might need to change their business process. I personally don't see any need to create postings on line item level. Just imagine what it will do to your database size.
Anyways, you'll find all the user exits here:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sdUserexits
But, again, this sounds like a very bad idea. -
Automatic Plant determination logic in the order line item level
Dear all,
I would like to know if there is a possibility to determine plants automatically, avoiding the standard plant
determination logic at line item level, to determine plant based on stock availability.
The process will be to skip the standard plant dtermination logic and drive the process through
based on ATP on plant level.
Coming more specific to the requirement the system determines the plant where the stock is available and if the stocks are not
sufficient the system goes to the next plant automaticaly and confirms the stock quantities, which also could mean that the ATP would run on plant 1 and then plant 2 and plant 3......depending on the availability of stocks with partial confirmations or full.
If there are existing user exits etc. available also when the configuration not available would welcome it.
ThanksHello
On more option I can see is of maintaining preferred plant in Table OIDAP.
Generally, this table is used for IS-Oil plant determination.
There you can set up one preferred plant and up to four alternative plants for a combination of
- sales area
-country
-transport zone (of the ship-to party)
-material number or material group.
The plant selected depends on the availability of material in the plant/storage location.
Regards
JP
Maybe you are looking for
-
File-PI_File Interface with additional feature
Dear All, We have already implemented successfully File-PI-File scenario in which files are picked from a certain folder and is converted into a different format and is sent to another folder. Now I want to add another feature to the scenario that a
-
The iPhone "iphone"cannot be synced. An unknown error occured (0xE800400)
Hi Cannot sync my iPhone due to this error message. Its a bit concerning as I'm out of space and cannot update any apps without syncing and using iTunes. I have searched these forums, googles etc but no help is available. The error code does not even
-
I am having a hard time signing onto SQL+. I there a way to look up Username and Passwords for SQL+? Every time I try to get in, SQl+ sends me the "protocol adapter error". Pleas help.
-
HELP! Why is the music sounding distorted
Hi there, so i put on all music on the ipod, and two days later it is sounding all distorted and garbled, do i have to take it all off and start again? This ipod nano sure has its imperfections...thanx
-
Runaway coreservicesd in 10.6.8
coreservicesd is taking 98% CPU according to Activity monitor. This on a 17" 2011 MBPro. How do I fix this problem? TIA, Bill