Sales Document Partners
Can someone please tell me the DataSource to pick up the partners on a sales document in ECC?
Thanks
Hi,
According to know knowlegde, there is no standart datasource for VBPA table. For your requirement you need to extend your datasource for required partners via rsa6 or lbwe. For help, please examine this post:
How to add Z fields from VBPA in datasource 2LIS_11_VAITM in delta mode
Similar Messages
-
Populating the Partners from Sales document (Customer/Sales order/delivery)
Hi All,
Is there any way to Populate the Partners which are mantained in Sales document (Customer/Sales order/delivery) into Customer Quality notification (Q1)
Presently only Sales to party and ship to party is getting populated when we create Q1 notification.
Thanks in advance
jayExplore :
Quality notification>Notifcation creation->partner->Define partner fuction procedure->Assign Partner Functions to Notification Type--->
Check here whether you can get here the partner function. -
Change partners (CR/SP) in Sales Document
Hi All,
I have a requirement where I need to change the partner (forwarding agent CR/SP) in sales order if the shipping condition is manually changed in the order. Which is the best possible way to accomplish this task? I am using USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ. The code is as follows.
IF SY-TCODE = VA02
SELECT SINGLE PARTNER INTO V_PARTNER FROM ZCARRIER
WHERE LAND1 = V_LAND1
AND LZONE = V_LZONE
AND VSBED = V_VSBED
AND TRAGR = V_TRAGR.
IF SY-SUBRC = 0.
SELECT SINGLE * FROM LFA1 INTO WA_LFA1
WHERE LIFNR = V_PARTNER.
LOOP AT XVBPA WHERE PARVW = 'SP'.
XVBPA-LIFNR = V_PARTNER.
XVBPA-ADRNR = WA_LFA1-ADRNR.
XVBPA-NAME1 = WA_LFA1-NAME1.
XVBPA-UPDKZ = 'X'.
MODIFY XVBPA.
ENDLOOP.
ENDIF.
ENDIF.
The code above does not accomplish the task completely. I am able to see the updated Partner on the screen of partners tab of the sales order but it doesnt update the VBPA (Sales Document: Partner) table. I guess I am missing some thing else. Any help is appreciated.
Thanks,
Giri..Hello Seshu,
Could you be more specific?
I have to do a similar job. I have to make VA01 to choose forwarder from a list of possible forwarders, and I got to the point that in the partners list ALV from va01, I complete the partner number, but i can't make it take the complete dates about that number, for the rest of the columns in Partner list(Name, street,...).
I tried in debbuger to find ADRC table but it does not exist in INCLUDE MV45AFZZ.
Many thanks,
Elena -
Partners are grey out in sales document fd type
Hi folks,
When am creating my sales order with document type FD free of charge delivery
in the sales order sold to party and ship to party tabs are coming grayed out why is it so.
I have created partner functions with account group as 0005 which is prospective customer.
i have done partner determination for sales document header. any body have idea on that
please suggest me .
thanks In advance.Hi,
Goto Header-->Partners.
Check whether the number is in editable mode or not.Even though every thing is greyed out that number will be editable.Am I right?
If so remove the last digit of the number and then re-enter the same digit.
After that you will receive a message as every thing is redermined.
Double click on the number.
Now you can edit the address etc. data that is present there.
Regards,
Krishna. -
Billing block for customer for sales document type OR
Hi
I want to block a customer for a particular sales document type OR
How to do it?
RegardsHi Nikhil
There is a field called "Check Partner Auth.", but it is necessary to create the order from a contract. This field is in sales document customizing VOV8.
SAP Documentation:
Check partner authorizations
This check determines whether a partner is authorized to release against a contract.
Procedure
Here you can specify whether the check is to be performed against the partners in the contract or the partners in the customer hierarchy. If you do not want the check to be performed, leave the field blank.
When you create a release order for a contract, the system determines whether a partner is authorized to release against the contract. The check is performed at header level. Depending on the rule you enter in this field, the system checks against one of the following:
Partners in the contract
If the partner has the partner function AG (sold-to party) or AA (sold-to party authorized to release) in the contract, the system accepts the partner as the sold-to party for the release order.
Partners in the hierarchy
If the sold-to party of the contract is at a higher level in the customer hierarchy to the partner who wants to release against the contract, the system accepts the partner as the sold-to party for the release order.
Note
If you create a contract with reference to another contract, the system does not run a check and it copies all the partners created in the target contract. If you do not want it to do this, use copying control in Customizing to change it.
Regards.
Mikel -
What is the need of creating partner functions for sales document type.
Hi SAP (SD-GURUS),
Actually we create partner functions before creating customer ex: sold to party, ship to party, bill to party, and payer.
These partner functions are going to be copied into sales order while processing sales order.
Again what is the need of creating partner functions for sales document type.
Thanks&Regards
sreenivas peruruThere are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
Hope this helps...
THanks,
Jignesh Mehta -
Assign partner determination procedure to Item Category/Sales document type
Hello All,
How can I assign a partner determination procedure to an item category or sales document type? That field is disabled in item category config step. Please suggest.
Thanks,
lavanyaHI Lavanya,
The partner determination will happen through a different way and not through item category definition.
The path would be
S&D->MAster Data->Bussiness partners->customers->Customer hierarchy->set partner determination for hirearchy categories.
In this you will have one option to define by item category.
Hope this helps.
Abhishek -
"Partner function CA can only occur 1 times in procedure TA (Sales Document
Dear Experts,
I have a requirement where I need to capture the Partner function more than once....
Say i need to capture the two or more commission agents in one sales order....
But when I enter the second comm agent the system triggers
"Partner function CA can only occur 1 times in procedure TA (Sales Document Header)
CheersHi,
Go to VOPA....
1.Create Partner Functions as many as required....say PF1,PF2 and so on...
2.Assign all the partner functions to the account group.
3.mark the partners as mand or notchang in the procedure details....
Once u r done with this u can add the PF1..PF2 .....in the customer master/sales doc....
Hope this will help u.
Thanks
Ivy -
Report to display sales documents
Hi Experts:
I need to send a list of sales documents. To do so I understand that I need a executable report.
The only programm, I know is SAPLCRM_1O_MANAG_UI, but this is not executable.
Is there any standard programm I can use?
Or do you have any advices which functions to use to build our own programm?
Best regards,
CristinaTry function CRM_ORDER_GETLIST. If you need report, you will have to develop it. In that case use function crm_order_read to retrive data.
-
Report to show the followup sales documents and items
Sales had executed many sales quotations with customers over a period of time.
Now the Sales Staff wanted to know how many sales documents and what/how many sales items are being purchased by the customer with respect to the quotation.
Is there a report that list out the sales documents and items created w/respect to a particular quotation instead of looking at the document flow which is difficult to diagnose.
Thankshello, friend.
you can try table VBFA, where you can see sales documents and their subsequent documents.
for a general listing of quotations, use tcode VA25.
regards. -
Sales document report for all open documents
hi i need the code for sales document report for all open documents is sd
... can anyone help me out.
thanks in advanceTry transaction VA05. In that choose "Open Orders" along with other selection criteria.
If you want the Open sales order qty in output and its not displayed, do the following.
Sales -> System modification -> create new fields ( without condition technique) -> New fields for lists.
You can change V05TZZMO and structure VBMTVZ from there or use SE38 / SE11.
For both you'll need an object registration in OSS.
Hope this helps.
Thanks,
Balaji -
Crystal Report - multiple sales document types
In XLR, I can easily drag 'DocNum', 'DocDate', 'Sales Doc Type' fields and specify the filter to show sales doc type equal to A/R invoice and A/R credit memo. It neatly shows various types of sales documents and display them in rows.
In crystal, I have to drag the 'DocNum', 'DocDate' fields for A/R Invoice, A/R credit memo individually under different columns. Is there a way I can dispaly mixed sales document types in rows? Thanks.Hi,
In XLR, you get the data from JDT1 table. You can do the same for CR.
Thanks,
Gordon -
Function Module to Generate Outbound IDOC for Sales Documents
Hello Experts,
Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents. Some of the fm's I have come across are the following:
IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
Points will be given for any help provided.
Thanks in advance.Hi Nagaraj,
I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order. For everyone's reference here is the code:
form process_data.
DATA v_idoc TYPE edidc-docnum.
DATA i_edidd TYPE TABLE OF edidd.
DATA wa_idoc_ctrl TYPE edidc.
LOOP AT i_nast INTO wa_nast.
CLEAR i_msgs[].
CALL FUNCTION 'WFMC_PROTOCOL_GET'
EXPORTING
cps_nast = wa_nast
tables
messages = i_msgs
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
*--- Check first if there is an IDOC
IF wa_msgs-msgv1 IS INITIAL.
CONTINUE.
ENDIF.
v_idoc = wa_msgs-msgv1.
CLEAR i_edidd[].
CLEAR wa_idoc_ctrl.
CALL FUNCTION 'IDOC_READ_COMPLETELY'
EXPORTING
document_number = v_idoc
IMPORTING
IDOC_CONTROL = wa_idoc_ctrl
* NUMBER_OF_DATA_RECORDS =
* NUMBER_OF_STATUS_RECORDS =
TABLES
* INT_EDIDS =
INT_EDIDD = i_edidd
EXCEPTIONS
* DOCUMENT_NOT_EXIST = 1
* DOCUMENT_NUMBER_INVALID = 2
OTHERS = 3.
CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
EXPORTING
object = wa_nast
control_record_in = wa_idoc_ctrl
* IMPORTING
* OBJECT_TYPE =
* CONTROL_RECORD_OUT =
tables
int_edidd = i_edidd
* EXCEPTIONS
* ERROR_MESSAGE_RECEIVED = 1
* DATA_NOT_RELEVANT_FOR_SENDING = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK.
ENDLOOP.
ENDLOOP. -
Sales document 400136021 is currently being processed (by user MNAUSHAD (C2
Hi Friends,
Iam using Mobile Sales and iam getting an error when iam opening the sale order created in laptops
Scenario : Sale order created in laptop got replicated in CRM and R/3 and delivery got created in
R/3.
The replicated sales document is not seen in the Document flow in CRM enterprise
I could not find any queue's in SMQ2 or in SMQ1 both in R/3 or in CRM.
when i open the same sale order in VA02 iam getting the error.
Sales document 400136021 is currently being processed (by user MNAUSHAD (C2)
Let me know if any of you has faced the same issue,
Regards,
Satish KumarHi Wolfard,
Please find my answers,
1. Does this error also occur when creating a similar sales document in CRM directly (i.e. it is rather a CRM related issue than mobile related)? - No from CRM enterprise to R/3 i dont find an error- It is more of a Sync issue between Mobile> CRM> R/3.
b) Do you know a user or batch name in CRM resp R/3 with that name mentioned by you?
I know the user name - but this user name is not at all related.
c) Please be aware that those queues smq1/2 are dynamical i.e. after processing the data the entries were deleted again; only in case of a sys fail the queues would be stopped; in the particular case of waiting for processing in R/3 there would be a queue status "WAITUPDA"
I accept the queues are dynamic and it will deleted after it is processed,, The issue is that i dont find any queue in SMQ1 in R/3 and also in SLG1 on that particular date i could find the Log number with the error
With the help of Log error i can find out the sale order.
Trust it is ok
satish -
In FBL5N report user wants the sales document number to be displayed,
HI, Guys
Need ur help to sort out the problem
In FBL5N report user wants the sales document number to be displayed,
but the sales ducument number column is coming blank and this needs to pick from VBRP table
As I discussed with Abaper, he reqiures a key field which common in BSEG abd VBRP table
So,Please guide me in approaching the right way
MunenderHi,
Speak with your SD consultant. They can set up the copy control in SD so that the sales order is populated in the invoice in field ZUONR (Assignment).This will then copy to the assignment field in accounting.
Alternatively you can use an exit to populate another field during the Posting.
Kind regards
Maybe you are looking for
-
"Configuration system failed to initialize" when trying to connect FM12 to Sharepoint
Adding a connection to Sharepoint using the FM12 CMS Connection Manager is failing with the error "Configuration system failed to initialize". I can access all the sites and libraries in Sharepoint perfectly from IE on the same PC, but no matter wha
-
How to display text in addition to average group result
Hi All, This is probably really simple but i need your help. What i have done: I have 4 questions which each one has 5 radio box options. For each group of questions, i have put a value of 1-5 for the radio boxes. What i am trying to do: What i want
-
Hi, Running VS 2005 I want to create a report that will be exported to Excel (not printed) once opened in Report Viewer. I have many columns so I need to have the report about 23 inches wide, but I also don't want to select a specific printer (No Pri
-
OIM 11gR2 Active Directory integration issue
Hi, I am trying to install AD connector on OIM 11gR2 and have successfully performed all the necessary and relevant steps according to the deployment guide. When i am trying to test the connector though, by running the "Active Directory Organization
-
How to add ndf files in alwaysOn ?
HI All, How to add ndf files in alwayson (database added in ag group). Thank Vijay