Create/Change output conditions - sales VV11
Hi all,
I just want to know is there any BAPI or function module to create/change the output conditions for sales (VV11, VV21, VV31).
Thanks in advance.
Pranav
Hi Pranav,
I am providing you a [List of BAPI's|http://mysap.wordpress.com/2008/07/29/list-of-bapis/]. Please search them according to your requirement.
Regards,
Swapna.
Similar Messages
-
How to create an output condition record for output type
For SD LE shipping...
Create an output condition record for output type
Thanks!
Message was edited by:
Hoo Laa
Message was edited by:
Hoo LaaHi Hoo,
Follow the path.
SAP Easy Access -> Logistics -> Logistics Execution -> Master Data -> Output -> Shipping - > Create.
Tcode: VV21.
Hope I have clarified your query. Do reward if so.
Regards
Nadarajah Pratheb -
Creating change log for sales order
hi all,
i want to create change log for any given sales order if it exists.
can any one tell me how to do that??Hi Gouri,
CDHDR and CDPOS are the tables for all change history.
CDHDR contains the details such as who made the change, when, using what tcode and the change type ie. update, delete.
CDPOS contains the field name which was changed, its old value and its new value.
The change document object is VERKBELEG for sales documents.
The object value is the SD document number with leading zeros.
The following link will be also useful.
http://www.sap-img.com/ab024.htm
Regards,
Nitin. -
To create a output condition record
Hi Gurus
In order to print the output for contact person(PARNR) in Billing document,
In VV31, What are the fields that i have to assign/combine to create a conditon record for contact person(PARNR), Partner Function for this is CP.
Regards
StephenBefore maintaining anything like condition record for output or using CP as partner for output.
You need to have that as partner for output.
To do that follow following path in SPRO for related configuration:
IMG - SD - Basic Functions - Output Control - Output determination - Output Determination Using the Condition Technique - Maintain Output Determination for Billing Doc - Assign Output Typs to Partner Functions
Say,
Output Type
Medium
Parnter Function
info:output usage
RD00 - Invoice
6 - EDI
CP - Contact person
External send mail
RD00 - Invoice
1 - print
CP - Contact person
Printout
Further, don't forget to have Partner function CP maintained in your billing doc Header or Item Partner.
Regards
JP -
Create change log on Sales order in exit MV45AFZZ
Hello all,
We use userexit MV45AFZZ (FORM USEREXIT_SAVE_DOCUMENT_PREPARE) to set a reason for rejection. We do this by updating the itab xvbap setting abgru.
This works fine.
Now we want that is visible in the change log of the sales order when this reason for rejection is done. How can I fill the sales order change log in a standard sap way?
I've already found FM "VERKBELEG_WRITE_DOCUMENT" but I don't have a clou if it's the correct one and if it is what do I have to fill?
Any help would be great!
Kind regards,
Patrick KeltjensHi,
If you need to highlight that VBAP-ABGRU was set by userexit and not by the user, you should store this information in an application log (SLG1) programmatically.
At first you have to configure your specific application log via SLG0.
Further info can be found here:
[http://wiki.sdn.sap.com/wiki/display/Snippets/ApplicationLogginginSAPUsing+ABAP]
Regards,
Andrea -
Hi Team,
I have created one Z-filed (Customised filed) in the Purchase order ,but when i do any change in that field the change output condition type is not triggering .
I want when i should change any value in the customised field the change output condition type should get trigger , So can you please help me what configuration i need to carry out to achieve this...
Regards
TaraHi,
Go to SPRO > MM > Purchasing > Messages > Fields Relevant to Printouts of Changes - Here add the Z-field with Table Name.
And then under option SPRO > MM > Purchasing > Messages > Output Control > Message Types > Define Message Types for Purchase Order > Fine-Tuned Control: Purchase Order - Here add o/p type with operation 2 i.e. change.
And now check the same in PO. -
Maintain output condition table for billing documents
Hi
I need to create new output condition table for billing document with the key combination of "Billing type and Export Indicator". In Field catalog: Messages for billing documents I am able to find field Export Indicator but the same field i am not able to find creation of new condition table (V/63).. Kindly let me know is there any settings required to show the same in V/63.
Thnaks
SrinivasHi Ram
The filed already is there in in structure" KOMKBV3" ....
Thanks
RAO -
In Tx ME21N, Z output condition exists but is not proposed automatically
Hi experts,
I created an output condition ZCS for Purchase order, and did all the config in NACE. But whenever i create purchase order, condition ZCS is not getting proposed in Messages, I have to manually enter the condition type and assign printer to it. It is very odd, because Determin. analysis shows that the condition record of output ZCS is found (there is a green traffic light). Not sure what I should do now...
I'd appreciate your help!
LingHi
Check Fine tune Control in IMG>MM>Purchasing>Messages>Output Control>Message type>Define Msg type for PO>fine tune control
Check Printer assignement for Purchasing Group IMG>MM>Purchasing>Messages>Assign output device
Check Condition record created for your out put type in MN04
Hope it helps
Karthik -
Output Condition for Zebra Labels
Hello Guys,
Can i get some instructions to create Output Condition for Zebra Labels? This is the first time we are going for a Zebra printer to print labels at the time of GR. I did create new output conditions for print/fax/email in the past but never created one for labels. Label and sapscript are already created.
Thanks
RonnieHi Joyce,
You can set the printing of production order automatically in the production scheduling profile (at the time of release). I do not think there is output type for printing production order.
Hope this help you.
Regards,
PSS
Edited by: PSS on Jul 22, 2009 10:36 PM -
Want to change output type for 10000 sales orders through MASS
Hi Friends,
I would like to change the Output type in the sales order for 10000 sales orders.
Can I do with MASS transaction. If so, Plz let me know how ?
Is there any other process to change the output type for 10000 sales orders, as its difficult to manually in each and every sales order.
Its very urgent issue, Plz let me know at the earliest.
Thanks & Regards,
Praveen Kumar. AThis may be little tough for 10000 sales orders.
1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
I hope I answered ur query.
Pls lemme know if you need some more info. (You can reward me too...) -
How to change pricing Conditions in Sales order in change sales order bapi
Hi Experts,
How to change pricing Conditions in Sales order in change sales order bapi.
I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
Thanks in Advance .
NLNHI NLN
I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
<b>Import Paramters:</b>
SALESDOCUMENT - Sales Document Number
ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
<b>Tables:</b>
CONDITIONS_IN - ITM_NUMBER,
COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
COND_TYPE,
COND_VALUE,
CURRENCY.
CONDITIONS_INX - ITM_NUMBER,
COND_COUNT,
COND_TYPE,
UPDATEFLAG as <b>'U'</b>,
CURRENCY.
Hope i have clarified your query.
Kind Regards
Eswar -
Report on Change in Condition Record effects which all Sales Orders
Hello Gurus,
Thanks in advance. My customer requires a report which gives him list of Sales Orders effected due to Change in Condition Record.
Proper input to this will be greatly rewarded.
Regards,
Vishvesh Kamdarhi,
whenever u change the condition record it will fall under the validility date, ie.,
<b>example:</b>
Condition record for cond type PR00 is
<b>valid from 01/05/2007 to 31/99/9999 is Rs.1000</b>
but suddenly when u change prices on 01/10/2007 then system will display has below
<b>vaild from 01/05/2007 to 31/09/2007 is Rs.1000
vaild from 01/10/2007 to 31/99/999 is Rs.1500</b>
hence u take all the sale orders & billing document which are created from 01/10/2007, this will slove ur purpose
SE16-->vbak--->enter -
> here u will find created on enter the date & execute
hope this heklps u
regards,
Arunprasad -
How to know if an output condition record is ever used in sales docs
All,
I can see some output condition records in table B001. Additional detail of these records is in table NACH. But is there a way to know whether these condition records are determined in any sales docs?
In individual sales documents, I can manually check what condition records are determined from the 'output determination analysis' screen. Here I can see the number of the condition record that the system has determined. But is there a table which links sales document and output condition record? (equivalent of KONV)
Thanks & Regards,
KC
PS: Table NAST stores transaction data but only the output type and sales doc number is shown but it doesn't show the condition record (though it can be checked manually).Hi Krishna,
Depending on the version of SAP you are using there is a transaction i think it is VA70 in ECC6 or in 4.6 there is a standard program for mass printing from a sales order.
You can use this tcode/program the very same as VL71 for deliverys and enter in your output type and change the processing mode to 2 and execute from here you can see if it was ever printed
Regards
Paul -
Change the condition type based on sales document type
Dear ALL,
I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP. I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues. What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity. The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value.
Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues. We would need to have the calculation done only on quantities changed in the credit memo request .
please advice me. your inputs are highly appreciated.
TIA
KOGIDear ALL,
someone please help me with this issue. your inputs are higly helpful.
TIA
KOGI -
Create/Change Sales Deals using VB21
Hey All-
Currently we have BDC to Create/Change Sales Deals using tcodes VB21 and VB22.Now we have decided to use any standard Function Module/BAPI in place of BDC because of performance issue.
I was trying with function module 'RV_CONDITION_COPY''RV_CONDITION_SAVE', 'RV_CONDITION_RESET' and 'Commit Work' ,but don't see any sales deals are creating.I see records updates table 'A501','KONH' and 'KONP' without Sales Deals Number.If anyone of you resolved the issue,Can you please post me the sample code?Thanks
Thanks,
SonyThanks Mishara..I did the same way,but still did not work..
wa_komg-matnr = e_material.
wa_komg-vkorg = e_sorg.
wa_komg-meins = 'EA'.
wa_komg-vtweg = '10'.
wa_komg-spart = '10'.
wa_komg-zzshiptype = e_shiptype."'D'.
wa_komg-waerk = 'USD'.
wa_komg-mfrnr = e_mfrnr.
wa_kona-boart = 'ZNSC'.(Type of Sales Deal)
wa_kona-botext = 'Test for ZNSC'.
wa_kona-abrex = e_mfrnr.
wa_kona-vkorg = e_sorg.
wa_kona-vtweg = '10'.
wa_kona-spart = '10'.
wa_kona-abtyp = 'C'.
wa_kona-kappl = 'V'.
wa_kona-kobog = 'ZNSC'. (Type of Sales Deal)
wa_kona-bukrs = '1000'.
wa_kona-waers = 'USD'.
wa_kona-datab = e_date_from.
wa_kona-datbi = e_date_to.
wa_kona-ernam = sy-uname.
wa_kona-erdat = sy-datum.
wa_kona-erzet = sy-uzeit.
it_komv-kappl = e_appln."V.
it_komv-kschl = e_condition."ZE8P(condition type)
it_komv-kpein = '1'.
it_komv-waers = 'USD'. "gw_t001-waers.
it_komv-kmein = 'EA'.
it_komv-kbetr = e_amount.
it_komv-krech = 'C'.
wa_pispr-matnr = e_material.
wa_pispr-vkorg = e_sorg.
wa_pispr-vtweg = 10.
wa_pispr-spart = 10.
CALL FUNCTION 'SPR_KOMK_KOMP_FILL'
EXPORTING
pi_i_spr = wa_pispr
IMPORTING
pe_i_komk = komk
pe_i_komp = komp.
CALL FUNCTION 'RV_CONDITION_COPY'
EXPORTING
application = e_appln
condition_table = '501'
condition_type = e_condition
date_from = e_date_from
date_to = e_date_to
enqueue = 'X'
i_komk = komk
i_komp = komp
key_fields = wa_komg
maintain_mode = 'A'
no_authority_check = 'X'
keep_old_records = 'X'
used_by_idoc = 'X'
i_kona = wa_kona
overlap_confirmed = 'X'
no_db_update = space
IMPORTING
e_komk = komk
e_komp = komp
new_record = new_record
TABLES
copy_records = it_komv
copy_recs_idoc = it_komv_idoc
EXCEPTIONS
enqueue_on_record = 1
invalid_application = 2
invalid_condition_number = 3
invalid_condition_type = 4
no_authority_ekorg = 5
no_authority_kschl = 6
no_authority_vkorg = 7
no_selection = 8
table_not_valid = 9
no_material_for_settlement = 10
no_unit_for_period_cond = 11
no_unit_reference_magnitude = 12
invalid_condition_table = 13
OTHERS = 14.
CALL FUNCTION 'RV_CONDITION_SAVE'
TABLES
knumh_map = lt_knumh_map.
CALL FUNCTION 'RV_CONDITION_RESET'.
COMMIT WORK.
Please,let me know where I am doing the mistake...Thanks
Maybe you are looking for
-
2LIS_02_ITM : sequence of records in R/3 are coming in BW in reverseway
The sequence of records i can see in R/3(in RSA3) ARE comining in BW in reverse order sequence. say for Example. in R/3 i can see the records as 1 2 3 4 where as in BW in PSA The records are 4 3 2 1 because of that the 4th record is overwritting by t
-
Ok, so I am trying to install boot camp on my mac. I partitioned it, and I inserted my Max OS X Install disc 1, and click start installation. The Installer Disc Could Not Be Found. Insert your Windows installer disc and wait a few seconds for the dis
-
How to improt/export class,test,quiz
Dear We are on r12, currently we are using OLM module for test, quiz etc but now onward we need to import or export class, session or quiz as well. How can we check content manager has been install through application, How to connect it to third part
-
Nesting Roles within Roles, is it used in practice ?
Can the Oracle DBA community comment of the practice of nesting one or more roles within another role. Said another way, the concept of creating "super-group" role and assigning "sub-group" roles beneath them. 1. Is this concidered to be good or bad
-
Script error when trying to watch video
I just bought a NEW computer...windows 8 64bit, IE10, I can watch video on most web sites but the one I really want to watch I can't, I get an error " a script in this movie is causing adobe flash player to run slowly, if you continue your computer m