Sales order output typeq
Hi,
I have created a new output type for sales orders. I want this output type to be selected in case of some changes in some fields of the sales orders.
I have to code a routine, when a field in the sales order is changed, this routine has to compare the new value value of the field with the old value to determine if the output type is selected or no.
In the routines I have access to the new values i in the structures KOMKBK1/KOMPBV1. However, I dont know how to access to the old values. Any idea?
Thanks
Old values are in
*KOMKBK1
*KOMPBV1
Similar Messages
-
Hi Friends,
I am facing below mentioned issue and request your suggestion to solve it
Via processing of sales order output type BA00 another Z output type is processed and acknowledgment is sent to SAP inbox( sost).
This is working incase of manual addition of BA00 output type and via standard program " sd70av1a", but this functionality is not working when i am calling this standard program in a Z report via batch job.
with the below code-
DATA: name TYPE tbtcjob-jobname.
DATA: number TYPE tbtcjob-jobcount.
DATA: print_parameters TYPE pri_params.
name = 'ORDER_PRINTING'.
CLEAR: range1.
*REFRESH: range.
range1-sign = 'I'.
range1-option = 'EQ'.
range1-low = 'BA00'.
* range1-high = 'ZBA1'.
APPEND range1 TO range.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT sd70av1a WITH rg_kschl IN range
WITH rg_vbeln IN order_tab
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
In this case only BA00 is getting processed but Z output type created for sending acknowledgment is not triggered.
Please suggest how can i achieve the required functionality.
Thanks,
SuryaSolved myself..
Thanks.
Br,
Surya -
Header condition type value not displayed in sales order output
Hi gurus,
I have observed a strange issue regarding a header condition in a sales order.
we have a set up like following:
1. If the Header condition XXXX is used in sales Order then this value should be printed on sales order output.
2. If the Header condition mentioned in above point is not maintained in sales order it should print the total price of all line items.
Though i have maintained the header condition value in Sales Order Header its not displayed in SO output.
That is , I have a sales order and it has one HEADER condition type entered with 3500 USD.
In fact this value is used for some business purpose and is being printed on the sales order output for a specific output type.
But where as in a sales order this header condition value is not getting printed on the output though I am using same data as of the sales order which is having the header condition value printed on its output.
According to business,we must have the header condition value printed on sales Order output.
Please suggest how to proceed.
Thanks in advance.Not sure if you are using costom smartform to print invoice, if yes then ask developer to debug and find the root cause and fix it.
You might need to give him condition when it shuld be printed and when not.
You can take reference of another output type for which it is printing -
I have to send the sales order output via mail to a customer
have to send the sales order output via mail to a customer, what steps i have to follow
kindly guide me.
regards
satyaHello,
You need to carru out your output configuration for this.
Use tcode, NACE where you can do this centrally.
Select V1 & click on output types above
Select output type MAIL for your requirement & use tranmission medium as simple mail.
After configuring your MP mail partner functions & use of proper output program you will be able to send mail to your party.
Hope this is helpful to you.
Regards,
Dhananjay -
Regarding finding out Partner function based on Sales Order/Output Type
Hi All,
<b>I have a issue in finding out Partner function[PARVW], Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
Can anybody solve this issue!
Thanks in advance.
Thanks & Regards,
Prasad.Check this FM
WFMC_MESSAGES_SELECT
example
tables : nase.
constants: appl like nase-kappl value 'V2'.
select-options:
rg_nacha for nase-nacha default '1',
rg_kschl for nase-kschl.
ranges: rg_objky for nast-objky.
data:
msgs_1 like msg0 occurs 100 with header line.
*-Fill Object Key
*-Execute fm
call function 'WFMC_MESSAGES_SELECT'
exporting
pi_application = appl
pi_processing = '1'
tables
ri_medium = rg_nacha
ri_type = rg_kschl
ri_object = rg_objky
tx_messages = msgs_1. -
Re: Sales Order OUtput( V**) v/s Billing Output ( VF31)
Hello Friends,
In Standard SAP, we have VF31 - Output from Billing , where we can choose the Invoice we would like to print.
I would like to have the same functionality for Sales Order Output.
In Standard SAP , there is no such functionality where we can choose the Sales orders which we want to print.
Pl. let me know what type of enhancement would be required to achieve the above mentioned functionality.
Thanks a lot in advance,
Julie.Hi,
There are two options for you.
1.Using the standard program "RSNAST0D".
Goto SE38,Enter the Program name as "RSNAST0D".
Execute or press F8.
In the selection screen,Enter the Application as "V1".Selection type as "2(for repeated processing)".
Execute.
You can make this one as a T.Code also by using the transaction SE93.Ask your ABAPer for this.
You can use the program "RSNAST0F" for monitoring the incorrectly processed output".
2.For VF31,it uses a standard program "SD70AV3A".
Make a copy of this one and change the necessary tables etc. for this so that the screen is also similar to our VF31.For this ask your ABAPer to develop a Z program.
Regards,
Krishna. -
Tcode for Sales Order Output(collective processing)
Hi
What is the tcode or program to print sales orders collectively, similar to VL71 for deliveries & VF31 for invoices.
Regards
UmaHi Uma
There is no such T code for sales order print.
You can use SE38-> run RSNAST00 program for sales order output (collective processing).
try and revert. -
How to print one sales order output from two printers using single command.
Dear all,
Our requirement is to print single sales order from two different printers, where as one printout for sales order output and another for sales order cash receipt.
We developed two smartforms for both outputs.
But we are struggling to assign the smartforms to single document type, which has to result two printouts after saving the sales order.
Please help us to solve the issue.
Your suggestions will be highly appreciated.
Best regards
Raghu ramHi,
You should define two different output type for your requests, one is for SO output, the other is for SO cash receipt. That's okay!
Good luck
Z.T -
Quotation/Sales order output using SMARTFORMs ?
Hi,
Whether standard SMARTFORMs are available for printong Quotation/Sales order output?
Please provide me details if available.
Thanks & Regards
Seshagiri.Hi Seshagiri,
Take a look in table TNAPR for application V1 if you can find any entries in SFORM.
Regards,
John. -
For some sales orders output type is not showing even thoug configured in N
Hi ,
I have 100 sales orders out them 10 sales orders out put type is not appearing in VA02->goto->OUTPUT->HEADER->EDIT
In Tcode : NACE every thing is configured accordingly.
As an abaper what can I do.Hi,
1. go to transastion VA02.
2. enter the sales order number for which you are not getting the output type
3. go to > extras>output--> header >edit> you will get the output messages window
4. In Application tool bar you find the ICON i (determine analysis ) or press cntr+F1.
5. in analysis out put you will find the reason why the output type is not getting selected. -
Hi All,
I would like to know is there anyway the output message be created once i create a sales order? At the moment i have to manually enter the Output message type & only then print.
Hope my question is clear.
VivekHi
Please do following checks.
1. Output requirement in output determination (Tcode NACE) should not anyway restrict output to propose if all things are fine.
2. Some times standard requirement routines have check that if change transaction is there ie. VA02/VL02N/VF02 the o/p is supressed. Pls. check this if this is needed.
3. If the o/p is a print o/p, check the communication is maintained in VV11.
4. If the o/p is email, then do maintain the customer master email text fields correctly.
5. If there is a EDI message, then do maintain partner profile in WE20 correctly.
6. Also maintain VV11 correct condition records.
All above will surely ensure that when order is created o/p will be proposed.
Furthermore the processing of o/p can be defined at 4 levels which can be decided according to process you want to follow.
Hope this is helpful. Reward points accordingly.
Kind Regards
Sandeep -
Sales order output type is on header level, but output trigger is based on
line item user status.........
Order Confirmation is sent to the customer once confirmed.
Depending on the scenario and the systems involved in the process, the trigger to send the Order Confirmation from SAP is differ. The user status will be used as the trigger, however different statuses will be used depending on the scenario.
Client wants all items on a Sales Order to appear on the Order Confirmation. What this means is that once an Order Confirmation is triggered at the item level an Order Confirmation will be issued and include all items on the Order.
For example, a sales order (123) contains 3 items (10, 20 & 30). The first item (10) is passed user status (which required triggering an output) and the status is updated, the other two items were not passed to that user status which required triggering the output. The output should be issued based on one item meeting the qualifying criteria . The Order Confirmation should contain all 3 items. The first item (10) will show on the Order Confirmation as confirmed qty on a specific date at a specific price. Items 20 and 30 will show on the Order Confirmation as Pending. When the second and or third items are confirmed, another Order Confirmation will be issued showing again all 3 items and the whether they have been confirmed.Hi!
Sounds like you need a line-triggered output (with a message, which displays all lines of the order).
Do you have problems to create a new output type?
Regards,
Christian -
HI,
in sales order header level -output type has got picked up-
*i want to find for which key combination output condition record is picked upor not * -
pl suggest is it possible to do any output determination analysis at order level.Hello
pl suggest is it possible to do any output determination analysis at order level.
It is possible,
From with in sales document click on => EXTRA => OUTPUT =>HEADER =>EDIT
Then you will find a BLUE ICON with a i symbol , click on that blue icon
OR
then click on GOTO -> DETERMIN. ANALYSIS
BUT REMEMBER THE SALES ORDER MUST NOT BE ON DISPLAY MODE
I hope now you can easily find out which OUTPUT TYPE & which key combination are being called
In case of any doubt on above please revert back
Thanks
ASHOK -
Sales Order Output - determined by Sales Order Type, Created By
I want have my order output determined by sales order type
(vbak-auart) and created by (vbak-ernam).
I have created a condition table 501, access seqeunce Z001.
In v/48, in accesses for Z001, I created
AcNo: 10
Tab: 501
Requirement: [empty]
Exclusive: unchecked
in fields, I can't find ERNAM in structure KOMKBV1(header), but I find one in KOMPBV1 (item).So I have assigned it to ERNAM.
besides, I have created the corresponding records in VV11
I expect to have:
Output Z001 will be created for sales order type OR if created by user XXX
However, no output is generated. When I go out detemination analysis, I found that in the output determination procedure, it did go into output type Z001, but, since no value is found for "created by", i got message "Access not made (initialized field").
I suspect that no value stored in KOMPBV1-ERNAM. Do you know how I can get it done?
Points will be awarded for useful information. Thanks in advance.Hi
You have to include this field as a Zfield in the structures KOMKBV1, KOMPBV1 and KOMB.
You have to include the field as Zfield in these structures.
Once this is done, you should also be able to update this field in the structures.(As on now, you have only created a field, but you have not mentioned how the field has to be updated.
In order to update the logic, you have to do a small code in one of the user exits for outputs.
In the user exit, you have to write a code like this
MOVE VBAK-ERNAM = KOMKBV1-ZERNAM(this is the zfield you have created)
Now create the condition table and do the rest.
Your output should work fine. The user exit I was saying is the subroutine USEREXIT_KOMKBV3_FILL in the include RV61B902 in the user exit RVCOMFZZ. If you can give this info to the technical guy, he should be able to find out the same for saels order output also.
The user exit RVCOMFZZ also has the subroutine USEREXIT_KOMKBV1_FILL which you can verywell use for your requirement. This will solve your problem
Hope this helps.
If you have any problems in this, you can again put the problems in this thread. I will try to solve.
Reward if this helps you -
Sales Order - Output determination not working
Dear Friends,
Greetings!
I have a strange problem,
Order Acknowledgement is to be emailed out automatically on meeting requirement 902 on order save. It goes out to customer (Output: ZBAC: Partner SP: Customer copy different layout), and commissioned agents (Output: ZEC1 to ZEC5, upto 5 partners: C1 to C5, Rep copy layout). Customer copy - ZBAC works fine, but ZEC1-ZEC5 rep copy output does not appear at all.
here is <u>output analysis</u> for ZEC1 and ZEC2:
ZEC1 529 No condition access - if desired, please set in Customizing
ZEC1 562 This output is not defined for Customer 0001010059
ZEC2 529 No condition access - if desired, please set in Customizing
ZEC2 562 This output is not defined for Customer 0001010059
All output types use same <u>access Sequence</u> as below:
1 5 Sales Organization/Order Type 0
2 13 Sales Org. 0
3 7 Order Type 0
Sample <u>Output Procedure</u>, using requirement 902
2 1 ZBAR Ord Conf. - Rep copy 902 >>> Rep copy, I originally thought would be possible to create 5 condition records with partners C1 to C5; but
3 1 ZBAC Ord Conf. - Customer 902 >>> Customer copy
930 1 ZEC1 eMail Partner C1 902 >>> Rep copy should go to partner C1
931 2 ZEC2 eMail Partner C2 902 >>> Rep copy should go to partner C2
932 3 ZEC3 eMail Partner C3 902 >>> Rep copy should go to partner C3
933 4 ZEC4 eMail Partner C4 902 >>> Rep copy should go to partner C4
934 5 ZEC5 eMail Partner C5 902 >>> Rep copy should go to partner C5
<u>VV12 Output record for ZEC1: by Order Type</u>
ZOR Sales Order C1 5 4 EN
ZOR Sales Order C2 5 4 EN
<u>VV12 Output record for ZBAC: by Sales Org</u>
3000 Rochester Operations SP 5 4 EN
>>> C1 and C2, SP Partner does not get description, when I click F4 then SAP throws following message: Possible entries only for mail addresses and PD Org objects Message no. VN341
Appreciate your feedback, let me know if any additional information required.
thank you,
Hetalcheck in NACO transaction is you have assigned access sequence to your ZEC* output ytpes and if you have ticked checkbox "Access to output conditions" - otherwise it will not even try to access condition records.
From help :
Access to output conditions
Indicates whether the system determines the output by searching for valid
condition records.
Procedure
If you want the system to search condition records for the appropriate
output, mark the field.
Note
If you leave the field blank and if you are processing sales, shipping,
or billing documents, the system automatically determines output from
information stored in the customer master record.
Maybe you are looking for
-
Error while exporting PAR file
Hi, I am getting an error "Build of project failed" while exporting a PAR file to the project folder and it is showing that "The project was not built due to classpath errors (incomplete or involved in cycle)." I am very new to this technology, so pl
-
Can't remove apple mobile device support. need to for update?
Every time I plug in my iPhone (3GS or my wife's 4) or my iPad2 I get a message telling me to update Apple mobile devise support and to do so I need to uninstall it and iTunes and reinstall. Windows won't uninstall AMDS. (windows vista) It will unins
-
I have a MacBook Pro and a MacBook Air. The Air lost its operating system somehow and would not boot. I created a thumbdrive to boot it. I purchased Mountain Lion. Apple delivered a redemption code for the software. I entered the code (on the Pr
-
Archivelink Parameters for Adobe Form
Hello, I am trying to Archive outbound correspondence (SAP Adobe Form) to a content repository that I set up for Inbound correspondence using Archivelink. Archivelink is configured and working for Inbound corresponence that resides on my local drive,
-
Trying to create new pencils in Adobe Brush for use in Adobe Sketch
I'm really impressed with Adobe brush. I figured I would create some new pencil thicknesses for Adobe sketch. They've come out ok but only really work with long straightish lines. If I try and do smaller curved lines I have a couple of issues. Someti