on 06-13-2013 12:15 PM
Dear all,
My requirement is to send the Order confirmation to the VW (HR Sales Person), or to his email, or to his printer.
To process this, I would need to record in VV12 a sequence by the Sales person number to assign him his specific printer and email.
1/ Sales person has been created (Tcode: VPE1), with email and printer,
2/ Sales person has been added to the Customer partner,
3/ NACE:
- Creation of 2 new tables: PARVW(Partner function)
PARNR (Partner number)
- New table included into a new Access sequence
- New access sequence added to Output message
4/ VV12: Partner "n° of employee"/ Function: "VW"/ Communication: "Device name"
5/ Creation of the Sales order: VW partner is into the customer partner,
But: in the Output analysis, system can not find the VW number (Access not made (initialized field)).
Did you already implemented such a solution based on an employee?
What did I mis?
Regards!
Sundancer
Dear all,
The expecting answer was:
Development:
1/ Extend the Communication structure:
create append to add the PERNR new ZZ data-element (KOMKBV3 et KOMBZ)
2/ Fill the User exit with this new element field : RVCOMFZZ,
FORM USEREXIT_KOMKBV1_PARTNER (V1 for Sales order, V3 for Billing doc...)
Custo:
3/ Add the new field to the table access
4/ Standard custo.
Hope it helps!
Sébastien
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SEYNAVE,
We are using Lean HR master to send email but your configuration details look not correct..
First maintain Email Id at HR master using Tcode PA30. You may use info type communication (0105) sub type Email (0010).
In Your output type configuration set Transmission medium '5' (External Send) and partner function to which you want to send this mail. In your sales order this partner function should available in Partner tab.
Take care of access sequnece and other settings if you want to use condtion based determination.
In output Type ' Processing Routine details' create Routine and assign to Form routine. This routine will control how your email go.
Create form routine in your print program, this form routine should take email id from your partner hr master for example PA0105 -0010. Routine can call function module 'SO_NEW_DOCUMENT_SEND_API1' to send email id to reciever. Take help of ABAPER to create routine.
Then take help of basis to do SCOT and SOSV setting.
I hope once you will maintain all this setting, it will solve your requirement.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sebastien,
5/ Creation of the Sales order: VW partner is into the customer partner,
But: in the Output analysis, system can not find the VW number (Access not made (initialized field)).
Could you check if the sales order (in Tab Partner) contains the particular Person responsible (partner function VW)?
If the sales order has a person responsible, then check if it matches the one entered in the output record. (VV13)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to had a look, T W,
Yes, VW is into the Sales order partner tab,
And it match to the recording in VV12.
What would be for your the Table condition to use for the Access sequence?
It might be the point:
I create 2 Tables, with:
PARVW(Partner function)
PARNR (Partner number)
Might be another field element?
Sébastien
SEYNAVE,
2 observations:
1. There is no need of having VW (HR Sales Person) field in access sequence. If in NACE, you have allowed your output type to be printed based on your specific partner function.
2. For automatic determination of output based on output condition record (VV11 / VV12 / VV13) for one output type either you can maintain that for email or printer. It can't be both. Alternatively, you can have 2 different partner type determined for each transmission medium.
Further, you are getting this error "Access not made (initialized field)", b'coz your newly created access in its access sequence is not properly defined. Google with search term "SAP Access not made (initialized field)", You will lot of response.
Best Wishes, JP
With reference to my last reply, could you please confirm if your issue resolved.
Please mark the solution in SDN as answered or helped if given solution helped you to reach issue resolution.
In case you used any other logic than share it to community so others can be benefited.
Regards
Hi,'
Hope SMTP Configuration is Done in your system and Abaper had written coding logic in the Print Programme to send the mail to Partner Functions(Sales employee) that is maintained in the Customer master or Sales order Partners.
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Siva,
Abaper had written coding logic in the Print Programme to send the mail to Partner Functions(Sales employee)
Why an ABAPer would have to write code for this?
Can this not be handled in standard, with the help of condition technique? (Transmission medium, Output timing, Condition record data etc.)
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.