Copy the bill to party address to payer before order creation
Hi Experts,
There is a requirement to copy the address and partner of role 'Bill to party' to role 'Payer' while creating an order in CRMD_ORDER.
Could you please help me know if any BADIs or enhancements available to perform this task.
Thanking you in anticipation.
Regards,
Santosh
Hi Santosh
You can try by calling FM 'CRM_ORDER_READ' , read the table ET_PARTNER and fetch the BP with respect to the partner function. After fetching the ID, u can modify the details by calling CRM_ORDER_MAINTAIN.
Hope this helps!!!
Prerna
Similar Messages
-
hi all,
i need bill to party address table ,
Regards,
Amit.THE BILL TO PARTY ADDRESS TABLE IS KNA1
............. but more than this u need to concentrate on field [ PARVW ] : PARTNER FUNCTION....
this particular field determines weather s1 - sol to party
sh - ship to party
py - payer
bp - bill to party
based on this partner function only u r customer function ( weather it is bill to party or sold to party ........determined] ...i hope u got it now
reward points if helpful............. -
SD : Ship to party and bill to party address getting changed in sales order
Dear All ,
We are facing a problem in production client regarding Ship to party and bill to party address getting changed at the sales order level. First of all , i would like to discuss the sales business process in which the problem is getting faced.
Step 1 : The sales order is created for machine with all relevant details and the ship to party and bill to party address is changed as per the business requirement.
Step 2 : The outbound delivery is created with reference to sales order.
Step 3 : The commercial invoice, intercompany invoice and excise invoice is created.
Step 4 : The Credit memo request is created with reference to commercial invoice no.
Step 5 : The Credit memo is created.
Step 6 : The FOC value contract is created with reference to credit memo.
Step 7 : The FOC release order is created with reference to value contract, where ship to party and bill to party address is changed as per requirement.
Step 8 : Outbound delivery is created for realse order.
Step 9 : The FOC invoice is created.
The problem is the moment we change the address in step 1 , the system gets in manual mode. Hence, whenever Bill to party and ship to party address is changed at Step 7, the same gets replicated at the machine invoice level which is incorrect.
Please comment / reply ASAP.
Regards.During the manual change if you want to assign a new address number (which
prevents the changing of the address in the preceding document),
you can use Note 97832 (modification). -
Bill to party address printing in standard invoice smartform
Hi Experts,
I am trying to modify the standard invoice smartform as per client requirement.In the payment window, i deleted the fields which are not necessary and I have to print bIll to party address in payment information window. I wrote the code like this in program lines.
CLEAR GS_HD_ADR.
get customer adress number
READ TABLE IS_BIL_INVOICE-HD_ADR INTO GS_HD_ADR
WITH KEY BIL_NUMBER = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER
partn_role = 'RE'.
ADRNR = GS_HD_ADR-ADDR_NO.
DATA : IT_ADRC TYPE STANDARD TABLE OF ADRC with header line
WA_ADRC like line of it_ADRC.
SELECT * FROM ADRC INTO TABLE IT_ADRC
WHERE ADdrnumber = GS_HD_ADR-ADDR_NO.
read table IT_ADRC INTO WA_ADRC index 1.
Next I Created one text node and I inserted fields like
&wa_adrc-name1&
&wa_adrc-street&.
In SE16 , data is there for name1 and street fields of ADRC table. when I am trying to activate the form , iam getting warning message as field&wa_adrc-name1& has no defined value. In the output, data is not displayed for bill to party address. Please tell me the solution.Hi Parwez,
Sorry Iam very busy from morning.So,Iam unable to reply .You can ignore the warning messages.
In global definitions, types tab write the following code.
types:begin of ty_adrc,
addrnumber type AD_ADDRNUM,
name1 type AD_NAME1,
street type AD_STREET,
city1 type AD_CITY1,
city_code type AD_CITYNUM,
end of ty_adrc.
types:wa_adrc type table of ty_adrc.
In global data,
it_adrc type table of ty_adrc
wa_adrc type ty_adrc
In the program lines of address window, write this code.
CLEAR gs_hd_adr.
get customer adress number
READ TABLE is_bil_invoice-hd_adr INTO gs_hd_adr
WITH KEY bil_number = is_bil_invoice-hd_gen-bil_number
partn_role = 'RE'.
adrnr = gs_hd_adr-addr_no.
SELECT name1 street city1 city_code FROM adrc INTO corresponding fields of TABLE it_adrc
WHERE addrnumber = gs_hd_adr-addr_no.
loop at it_adrc into wa_adrc.
READ TABLE it_adrc INTO wa_adrc with key addrnumber = gs_hd_adr-addr_no.
endloop.
try with this code -
User Exit to change the Ship-to party address at Sales Order headder level
Hi,
I have requirement like this......
I need to change the ship-to party address at Sales Order headder level. for that which user exit i need to use and which structure i need to use to update the transaction.
I used : userexit_save_document_prepare, in that i passed data to 'xvbpa' and 'xvbadr' structures. even though it is not update the transaction.
Please let me know the answer.
Thanks,
Satish.Hi Satish,
Step1. Create new Data Copy Routine using Tcode VOFM.
Step2. *-----------------------------------Ship to Party from contract
IF CVBPA-PARVW = 'WE' OR
CVBPA-PARVW = 'SH'.
REFRESH IT_STP.
SELECT KTOKD
A~KUNNR
NAME1
NAME2
A~ADRNR
FROM VBPA AS A INNER JOIN KNA1 AS B ON A~KUNNR = B~KUNNR
INTO CORRESPONDING FIELDS OF TABLE IT_STP
WHERE VBELN = CVBPA-VBELN .
Step3.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 80
ENDPOS_ROW = 10
STARTPOS_COL = 10
STARTPOS_ROW = 5
TITLETEXT = 'Your Title'
IMPORTING
CHOISE = T_SELIDX<=====Index No of selection
TABLES
VALUETAB = IT_STP
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
Step4.
READ TABLE IT_STP INTO WA_STP INDEX T_SELIDX.
IF SY-SUBRC = 0.
CLEAR:CVBPA-KUNNR, CVBPA-ADRNR.
MOVE WA_STP-KUNNR TO CVBPA-KUNNR.
MOVE WA_STP-ADRNR TO CVBPA-ADRNR. <========Address ID (Change Here).
ENDIF.
Regards,
Amrendra
Moderator Message - Please do not reply to old, dormant threads.
Message was edited by: Suhas Saha -
Trying to see the bill-to party form 0customer
I am trying to look at the bill to party. It references 0customer but bill_to is not even there. Can somebody explain?
No thats not the way a reference characteristic would work. When you say 0CUSTOMER is a reference char of 0BILL_TO, a billing party number will appear as 0CUSTOMER number in this master data table.
In other words though 0SOLD_TO, 0BILL_TO, 0SHIP_TO are separate partner functions, they are all reated as 0CUSTOMER from master data perspective.
So if you want to see the attribute values of a particula billing party, go to 0CUSTOMER master data table (/bic/pcustomer) and give the billing party number for 0CUSTOMER field.
Hope this helps! -
Can we copy the same quotation to more than one sales order?
Can we copy the same quotation to more than one sales order?is it posibble.......pls reply
Hi vepa venkat suhas.,
If the quotation quantity is 100,with reference to quotaion if you raise a sales order for 100 materials then you cannot raise other sales order with reference to the quotation.untill your quatity of 100 in quotation is finished you can raise a sales order
REWARD if helpfull
Thanks & Regards
Narayana -
Spliting up the G/L account in time of Sales Order creation .
Hi,
I am an ABAPer. Please let me know using ABAP code how to split the G/L account in time of Sales Order creation for a Payment Card.
Shyamal.Hiya,
Don't have the system before me, but I think the approx path is:
IMG --> Controlling --> Profitability Analysis --> Master Data --> Valuation --> Define and Assign Val Strategies (I think it is KE4U).
Look up the Val Strategy assignments and look for anything with Record Type "A".
Secondly, look for:
IMG --> controlling --> Profitability Analysis --> Actual Postings --> Active transfer of Sales Order Data
Under here, look for any assignments of Condition Types to Value Fields and Quantity Fields to COPA Value Fields (Qty.)
If these are present, they must have been put there on purpose. You should NOT JUST GO AHEAD AND DELETE them. Check why these are there and then check why these are flowing into your COPA report.
Normally COPA reports are defined by Record Type. If you used Record Type "F" in your reports, you should always get the proper PL report. However, if you assigned a combination of "F" and "A", you will find that your Order data is flowing into COPA along with the Billing data. So the third check point should be your report definition. Call up the form for the report you are running using transaction KE35 (Change Mode). Check the definition of the Sales quantity, etc. and look for any flows with Record Type "A". Since the form may be used by others, it is not a good idea to delete a form as it is. Copy the form into another and change the new one. Delete the "A" assignments and see if you get the correct result.
Broadly these are the areas you need to check. But COPA is vast and there could be other areas as well (e.g., KEDR Derivations, or some custom programs (SMOD)) which can trigger flows to COPA Value Fields.
Cheers. -
How can I copy the contents of an address book group
Does anyone know how I can copy the entire contents of an Address Book group and paste the results into an e-mail to send to others? When I select the group and then the "copy" tool, it copies only the first address in the group. If I select "select all", it selects all e-mail addresses everywhere, not just the ones in the intended group.
He did not want to add them all to his address book; he simply wanted to have my long list of staff email addresses without having to type it or create it himself, like this: [email protected], [email protected], [email protected], [email protected], etc. We used to use an email application called Eudora which allowed you to copy and paste group lists as though they were just text characters. With Mail (and Address Book), everything is connected to everything else and a group list is actually a set of flagged contacts from your "All Contacts" list.
-
I want to copy the name with email address from Mail like I could before Mavericks
Hi There
I have resisted upgrading to Mavericks for all this time because Mavericks now stops the name of the contact being copied when I copy the email address from the sender. What is now copied is: '[email protected]'
What I want and what it used to be before Mavericks is: 'Dave Garnish <[email protected]>'
I know it sounds petty but it has stopped me upgrading for all this time, but now I need 4k monitor support.
Thanks in advance anyone who may have the answer to this.
Best
DaveThe following Terminal command used to enable the use of the name along with the email address:
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool YES
(Change YES to NO to undo the change.)
I don't know if it still works.
You can also affect this feature in the mail message via Mail, Preferences, Use Smart Addresses. When unchecked the sender's address gets the name and angle bracket thing.
charlie -
Add Bill to party number in ISA sales order
Hi Experts,
We got a requirement to add bill to party to the sales order.How can we do this?
Thanks in Advance.Hi kausahl,
Thanks. I called the fm in the prepare method.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_OPPORT_H =
IT_LEAD_H =
IT_ACTIVITY_H =
IT_SALES =
IT_PRICING =
IT_PRICING_I =
IT_PRIDOC =
IT_ORGMAN =
IT_SHIPPING =
IT_ACTIVITY_I =
IT_PRODUCT_I =
IT_BATCH =
IT_FINPROD_I =
IT_STRUCT_I =
IT_CONFIG =
IT_PAYPLAN =
IT_PAYPLAN_D =
IT_CUSTOMER_H =
IT_CUSTOMER_I =
IT_SERVICE_H =
IT_SERVICE_I =
IT_SERVICE_ASSIGN =
IT_QUALIF =
IT_APPOINTMENT =
IT_TEXT =
IT_SCHEDLIN_I =
IT_PARTNER =
IT_SERVICE_OS =
IT_REFOBJ =
IT_SUBJECT =
IT_CANCEL =
IT_CANCEL_IR =
IT_CANCEL_DATES =
IT_STATUS =
IT_BILLPLAN =
IT_BILLING =
IT_ORDPRP_I =
IT_ORDPRP_I_D =
IT_ORDPRP_OBJL_I_D =
IT_CUMULATED_I =
IT_SERVICEPLAN_I =
IT_SERVICEPLAN_IE =
IT_PRICE_AGREEMENTS_BBP =
IT_PRICE_AGREEMENTS_CRM =
IT_CONFIG_FILTER =
IT_AC_ASSIGN =
IT_SURVEY =
IT_EXTENSION =
IT_ACTIVE_SWITCH =
IMPORTING
ET_EXCEPTION =
CHANGING
CT_ORDERADM_H =
CT_ORDERADM_I =
CT_INPUT_FIELDS =
CV_LOG_HANDLE =
CT_PARTNER_ATTRIBUTES =
CT_DOC_FLOW =
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
But how to give these i/p parameters according amit's post.i am little confude with that code.
can you pls tell me what parameters to pass?
Thanks in Advance -
Why the bill I got is different with my order??
I ordered Verizon Fios Double Freedom
phone plan: versizon freedom essentials $49.99
Fios internet plan: Fios up to 20Mbps/5mbps $52.99
versizon fios double freedom saving -$42.99
total : $ 59.99
special offer: Get $25.00 off total monthly price shown below months 1-3 and 5.00 off months 4-12
But Fios Double Freedom is 79.99$$ in the bill. I called custom service, but they can't figure it out.........What should I do?Excuse my last post, I just noticed that you do not have Video service with us according to your original post...some of use blast through some of these forum posts too fast...
In this case, I have no idea why your bill is that high. One thing to do is call the verizon store before going there, not all of the stores can assist with fixing a FiOS bill. -
Create Return Order copy from Billing created from DBM Order Processing
Hi SAP Gurus
I have scenario where the user requested to create return order based on Billing created from DBM Order Processing.
I know that, we can create return order from DBM. but the function copy based on order. the user is requested to do return
by billing document ( function as SD )
is this requirement can be done in SD VA01 where the user can copy the billing created from DBM and create return order using SD functionHi,
in DBM you regulary have mulitiple invoices per order (due to split).
You either can cancel an certain invoice and adapt the order or create a returns order based on an given order where you can select certain (e.g. invoiced) items.
BR -
Validation should be included on the billing address not the u0093sold to addre
Hi folks,
how can we do the validation based on the billing adress(bill to party).
as of now we are doing validation based on sold to party.
in my customer master i have only 3 options in account group field (Tcode:xd01)-customer-trading,customer -non trading,customer-site.
if i start create customer it obviously takes sold to ,
in sales orders we are picking profit centers based on customer groups that way we hard coded in program and we are getting results.
if i enter customer in sales order(sold to party), system search this particulor customer belongs to which group and it fatchs that profit center.
now i have to do the profit center validation based on bill to party.
if i want to pick the profit center based on the bill to party in which transaction system picks the profit center based on bill to party.
can u help me.
Thank you.
Regards,Hi Shailesh,
This can be done by using the User Exit of sales order.
Please use USER EXITS at sales order Level
EX:- TRY with the follwoing User Exits and take your Abapers Help in this
MV45ATZZ
For entering metadata for sales document processing. User-specific
metadata must start with "ZZ".
MV45AOZZ
For entering additional installation-specific modules for sales
document processing which are called up by the screen and run under
PBO (Process Before Output) prior to output of the screen. The
modules must start with "ZZ".
MV45AIZZ
For entering additional installation-specific modules for sales
document processing. These are called up by the screen and run under
PAI (Process after Input) after data input (for example, data
validation). The User exits in the SD orders. These are program names (SE38):
MV45ATZZ
For entering metadata for sales document processing. User-specific
metadata must start with "ZZ".
MV45AOZZ
For entering additional installation-specific modules for sales
document processing which are called up by the screen and run under
PBO (Process before Output) prior to output of the screen. The
modules must start with "ZZ".
MV45AIZZ
For entering additional installation-specific modules for sales
document processing. These are called up by the screen and run under
PAI (Process after Input) after data input (for example, data
validation). The modules must start with "ZZ".
MV45AFZZ and MV45EFZ1
for entering installation-specific FORM routines and for using user
exits, which may be required and can be used if necessary. These
program components are called up by the modules in MV45AOZZ or
MV45AIZZ. e modules must start with "ZZ".
MV45AFZZ and MV45EFZ1
for entering installation-specific FORM routines and for using user
exits, which may be required and can be used if necessary. These
program components are called up by the modules in MV45AOZZ or
MV45AIZZ.
Please Reward If Really Helpful,
Thansk and Regards,
Sateesh.Kandula -
Need to pick Bill to party and Payer from Ship to party instead of Sold to
Hi,
Please let me know the configuration setting needs to be done for capturing the Bill to party and Payer from the Ship to party instead of the Sold to party. This requirement needs to apply to curtain document types only.
Please respond as soon as possible.
My mail ID: [email protected]Hello,
you can change your customizing settings in the transaction VOPAN and put there that the Bill-to and payer should be determined from the ship-to party ( in special partner determination procedure). Than assign this partner procedure to your spacial sales order types.
Best regards,
Lela
Maybe you are looking for
-
Two people using the same Mac for tutorials.
I went through a tutorial with the writer of a program and he was walking me through the program while he was in his home city and state. I believe this 'sharing' was set up in our .Mac accounts. I do remember him telling me to get ready to accept a
-
Transformation of german characters using xsl
Hi, I have an xml which contains german characters .. i apply an xsl on the xml to get an html output using xalan. and the german character is converted to "?". When i try converting this using a stand alone java client class it successfully transfor
-
Elements 7 crashes everytime on capture
It seems that every time I try to capture video the program will crash and it always crashes on these two files; Adobe Premeire Elements.exe and uiframework.dll. I am not sure if it has to do with Smart Tagging, Split Scenes or Capture to Timeline bu
-
Yahoo chess Applet not loading in Firefox
When I am at Yahoo Games, the pop up window for Chess opens, but never loads. I tried it in IE and it works fine - so the problem comes down to Firefox. When I click on a games room - and window pops up and asks to punch in a code (to avoid spam). Th
-
Hello developers, I got a question for you guys and girls. I have to build a "cropping tool" for a website. The users will have to upload images to the server and if they want, they can choose to crop it (but only after the image was uploaded) so