Need Help in Debug of O/P of Sales Order
Hi Experts ,
I have a customized Output type ZOC1 triggered from Sales Order once Credit Block is removed and PR00 price is Updated . For few Orders its not getting triggered . In nace I checked there is a custom Prog and Form_Routine and Form . How shall I proceed with the Debug to find why this O/p is not triggered for some of the Sales Orders .
Thanks
MM_Sd
Hi,
Each output types may be specific to some vendor or other.
For debugging simply put a break-point in subroutine configured in NACE against output type ZOC1.
Debugg using '/hs'.
Regards
Sreekanth
Similar Messages
-
I need a Badi that is triggered when saving Sales order in both Va01 and Va
Hi
I need a Badi that is triggered when saving Sales order in both Va01 and Va02
I tried with the following BADI's
BADI : BADI_SD_SALES
Implementation : /BEV1/SR_SALES_ORD_1
Method SAVE_DOCUMENT
Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
It is asking for Access key. Which i do not have.
Should i create a implementation and then create a method and then put my code there?
Anybody plz help.You will probably not find a BADI to suit your needs. However if you look at include program MV45AFZZ you should find two subroutines: USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT. You can put the code you need directly into these subroutines. If these have not been changed yet on your system, you will need an access key to make these changes.
Please read the documentation in the header of the subroutines for furtner information on when they are called.
Best Regards,
Chris H. -
Hi,
i need your help in debugging the vf03 tcode. the senariou is as follows.
in vf03 when i enter the billing document no. and press enter and then when i click on parter push button on the application toolbar and then click on ship-to-party item then under the field tax juridiction cde which is refering to txjcd field of vbadr table im getting the value as TAXUSX instead of a 10 digit value which is present in txjcd field of kna1 table for that particular customer.
and this is happening only for few invoice no's not for all.
i think that some where the data is getting changed or not properly communicated for some invoice numbers.
i need help for where to start tracing and how to debug this error out and the flow logic of debugging.
waiting for ur reply
regards,
maqsoodHi kahan,
frist you have check with your function consultant is there are mataing the TAX for that countary .
and come to debug.
easyt way is take that screen field name(patha pres F1 and technical attributes ) and program name screen name .
then seach that field in that program screen put break-point at that level and run tranction.
stil you facing any problem send more details i will try to help you.
Do Reward points..if found helpful
thaks,
saleem -
Help needed on the logic used to display ERP Sales order in CRM WEB UI
Hi,
I have a requirement where i need to trigger an activity/workflow in CRM for orders that are created through ERP Salesorder functionality. In the workflow list, we need to give the order description and provide an hyperlink to the order number. on selection of order number, it should display the ERP sales order. To achive this in workflow, i am trying to understand the as-is standard functionality which is available in Agent Inbox search on ERP sales order.This search is getting the ERP orders and on selecting the order it is opening the ERO sales order page. I tried debugging the method GET_MAINCATAEGORY available in the component iccmp_inbox and in the view Inboxsearch.But couldnt really able to crack the logic how it is retrieving the ERP sales order from inbox search. Any pointers on how this is achieved will be of great help.
Thanks,
UdayaHi Denis,
very good idea. I thougt myself about that workaround, but it is not really that for what I searched.
I mean the "SAP Query" is a really good standard tool, that are used by many customers. That is why think there must be a standard way to display the SAP Query in the Web UI without using Transaction Launcher.
But it seems that there is no way, except of the transaction launcher or by using an additional analyse system like SAP BI.
By the way do you know a Web UI compoment which enable the user to start reports like SE38?
Regards
Fabian -
Hi all ,
I am in need of a fuction module to create a transfer order ( LT03 ) where i am able to pass / specify the source storage unit / handling unit from which the materials can be taken for the TO.
I also need a function module where i can confirm this TO in LT12.
Thank you in advance.
Ponits for sure!!!Hi,
Use FM : L_TO_CONFIRM to confirm the transfer order.
MOVE wa_to_tab4-tanum TO g_confirm_tab-tanum.
MOVE wa_to_tab4-tapos TO g_confirm_tab-tapos.
MOVE wa_to_tab4-altme TO g_confirm_tab-altme.
MOVE wa_to_tab4-nista TO g_confirm_tab-pickm.
IF NOT wa_to_tab4-vlenr IS INITIAL.
MOVE wa_to_tab4-vlenr TO g_confirm_tab-lenum.
ELSE.
MOVE g_vscfld TO g_confirm_tab-lenum.
ENDIF.
MOVE 'X' TO g_confirm_tab-parti.
IF NOT wa_to_tab4-nlpla_old IS INITIAL AND
NOT wa_to_tab4-nltyp_old IS INITIAL.
MOVE wa_to_tab4-nlpla TO g_confirm_tab-nlpla.
g_confirm_tab-squit = 'X'.
ENDIF.
IF wa_to_tab4-nistm > wa_to_tab4-nista.
l_diff = 'X'.
g_confirm_tab-kzdif = wa_to_tab4-kzdif.
ENDIF.
PERFORM get_bint_param USING g_lgnum wa_to_tab4-vltyp
CHANGING l_returns.
CASE l_returns.
WHEN '1' OR '3'.
IF l_diff EQ 'X'.
MOVE wa_to_tab4-nista TO g_confirm_tab-nista.
g_confirm_tab-ndifa = wa_to_tab4-vsolm - wa_to_tab4-nista.
ELSE.
MOVE wa_to_tab4-nista TO g_confirm_tab-nista.
ENDIF.
WHEN '2'.
IF l_diff EQ 'X'.
g_confirm_tab-diffm = wa_to_tab4-verme - wa_to_tab4-nista.
g_confirm_tab-restm = 0.
ELSE.
g_confirm_tab-restm = wa_to_tab4-verme - wa_to_tab4-nista.
g_confirm_tab-diffm = 0.
ENDIF.
g_confirm_tab-pickm = wa_to_tab4-nista.
CONCATENATE '00' wa_to_tab4-vlenr INTO g_confirm_tab-lenum.
ENDCASE.
APPEND g_confirm_tab.
CALL FUNCTION 'L_TO_CONFIRM'
EXPORTING
i_lgnum = wa_to_tab4-lgnum
i_tanum = wa_to_tab4-tanum
I_SQUIT = ' '
I_QUKNZ = ' '
I_SUBST = ' '
i_qname = sy-uname
i_ename = sy-uname
I_SOLEX = 0
I_PERNR = 0
I_STDAT = INIT_DATUM
I_STUZT = 0
I_ENDAT = INIT_DATUM
I_ENUZT = 0
I_ISTWM = 0
I_KOMIM = ' '
I_EINLM = ' '
I_TBELI = ' '
I_UPDATE_TASK = ' '
i_commit_work = 'X'
I_AUSFB = ' '
TABLES
t_ltap_conf = g_confirm_tab
T_LTAP_CONF_HU =
T_LTAP_CONF_HU_SERIAL =
EXCEPTIONS
to_confirmed = 1
to_doesnt_exist = 2
item_confirmed = 3
item_subsystem = 4
item_doesnt_exist = 5
item_without_zero_stock_check = 6
item_with_zero_stock_check = 7
one_item_with_zero_stock_check = 8
item_su_bulk_storage = 9
item_no_su_bulk_storage = 10
one_item_su_bulk_storage = 11
foreign_lock = 12
squit_or_quantities = 13
vquit_or_quantities = 14
bquit_or_quantities = 15
quantity_wrong = 16
double_lines = 17
kzdif_wrong = 18
no_difference = 19
no_negative_quantities = 20
wrong_zero_stock_check = 21
su_not_found = 22
no_stock_on_su = 23
su_wrong = 24
too_many_su = 25
nothing_to_do = 26
no_unit_of_measure = 27
xfeld_wrong = 28
update_without_commit = 29
no_authority = 30
lqnum_missing = 31
charg_missing = 32
no_sobkz = 33
no_charg = 34
nlpla_wrong = 35
two_step_confirmation_required = 36
two_step_conf_not_allowed = 37
pick_confirmation_missing = 38
quknz_wrong = 39
hu_data_wrong = 40
no_hu_data_required = 41
hu_data_missing = 42
hu_not_found = 43
picking_of_hu_not_possible = 44
not_enough_stock_in_hu = 45
serial_number_data_wrong = 46
serial_numbers_not_required = 47
no_differences_allowed = 48
serial_number_not_available = 49
serial_number_data_missing = 50
to_item_split_not_allowed = 51
OTHERS = 52
Regards
Kannaiah -
Help on transferring goods from blocked to sales order stock
Hi Gurus
i need your help in this urgent production issue here is the details
our scenario is make to stock, when delivering and shipping against sales order, the user had some issues in t-code VL10H,
so user only physically finished the delivery and shipped it, but did not execute it in SAP,
so the user has put the stock in blocked status against these sales orders.
can you help me in moving this stock from blocked status and issue against the sales orders in SAP so that we can perform delivery in SAP. and close the sales orders
appreciate if you can explain the details steps and movement types and t-codes
thanks a lot in advance for your help and repliesChakri,
You need to read the book on R/3 System SAP Strategies guide to MRP Planning and also Product Costing let me know if you need any help on this.
Saleem
Edited by: SYED SALEEM on Mar 9, 2008 6:05 PM -
Need of User-Exit in the creation of Sales Order(VA01)
Hi,
In the creation of Sales Order, I need to Compare the Ordered Quantity and Confirmed Quantity. If the CQ is less than OQ I need to create one more line item with the same material for the rest of the quantity and send the request to Production order for the remaining quantity. For this I am unable to get the exact exit. Please help me in this regard ASAP.
Thank you.the following program are the user exit for billing.
we often use RV60AFZC and RV60AFZZ.
RV60AFZA
RV60AFZB
RV60AFZC
RV60AFZD
RV60AFZZ
RV60BFZA
For Sales order
Pricing, item addtion deletion
MV45AFZZ
First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
Hope this helps somehow.
In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
regards
vinod -
Help required in mapping Materials , Quotation and Sales order
Hi,
We need your help for the following requirement
There is a vehicle model and colours for these models
Company gets sales plan from dealers for vehicle model and later dealer confrms the PO Qty with model and required colour.
I need to map this in SAP.
I am proposing to create a Quotation for the sales plan from dealers with vehicle model and when company recieves PO , they will create Sales order with reference to Quotation.
The challenge i need to get all the colours ( finished materials ) for that model, currenttly all models and finished materials are managed in product heirarchy.
When i create order with reference to quotation..........the dealer should able to get the list of colours ( materials ) in the system for that model ( i am planning to create material masters for these models as well)....Please help me how to map this in SAP SD
i am just guessing if higher level item category concept can help .......or please suggest feasible solution
When he creates sales order with reference to quotation, instead of model ( mateial ) from the qtn ..........dealer should get the list of end prodcuts ( colours ) for the model in the sales order so that he chooses the required colour and saves SO.
Actually this is a portal driven project and SO creation is also integrated inthe portal for the dealers.
Regards
Venkata Rama ReddyHi there,
You said that the sales order process is done through the portal through the dealers? We are currently looking at a similar requirement from a customer perspective to create an online store sort of feel integrating the S/D module.
Can you share any ideas, things you did for portal integration? Web Dyn Pro application, Visual Composer, gave portal access to the dealers to S/D transactions?
Thanks for any input you can give!
Jonathan -
Conditiuons needs to be ZERO for creating third party sales order.
Hi Friends,
we are creating third party sales order, which triggers PO automatically based on the outline agreement.
before saving the PO , i needs to set ZERO for cretain condiations.
please let me know how to solve this. means any user-exits are to solve this or anmy BADIS.
REGARDS,
vIJAYHi Satya,
i am creating Project for EXIT_SAPMM06E_006... but it asking Enhancement Name. and also creation steps and implement steps.
which Enhancement that i want to implement.
pls help.
regards,
Vijay -
BAPI needed for goods receipt for delivery created from sales order
Hi experts,
I need help.
I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
Is there any way to post this? I need BAPI and not FM MB_*....
Thanks & REgards,
Bhavin A. ShahHi,
Please refer to link,
https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
Regards
Shree -
Condition value need to change at quotation level not in sales order
Hi,
As client requirement, Condition value and new condition type can be added at Quotation if Sale Order is created with reference of same Quotation than system should not be allowed for editing or adding new condition type.
If Sales Order is created without reference than system should be allowed for edit or add condition.
Please resolve my query.
Thank You!
ChakradharaHi Chakradhara,
you need to define a requirement in VOFM where you check table VBFA field VBELV.
If system retrieves data when accessing to this table with VBELV equal to your quotation number and VBTYP_N equal to C (sales order) means that sales orders have been created from your quotation. If so, then field sy-subrc should be equal to 4.
When you add your new condition to your price schema, don´t forget to place the requirement created in column requirement.
Ask for the help of an abaper for coding the requirement.
Regards,
JM -
Need to Create delivery on the basis of sales order and schedule line
Hi,
I need to create delivery on for sales order which is splitted in schedule line number (ETENR).
I am using FM RV_DELIVERY_CREATE and passing sales order number with single line item at a time for different (schedule line) VBEP-ETENR. but it is creating the delivery for all schedule line items in first time only and in second loop it is not returing any thing even error. can any one please suggest me urgently what can I do for it.Hi Ankit,
You will have to create your own program to do this.
There is no standard way todo this.
Best regards,
Ramki -
Need to Make end customer field mandatory in sales order form.
I need to make end customer field mandatory when sales channel entered as some value...
for this i have used when validate record on order form
when i enter a value in sales channel as desired value the form is getting saved automatically and the field is getting mandatory
but my requirement is to make field mandatory and then to save the order.
let me know the sequence how it works if any one knows.Sanni,
>
when i enter a value in sales channel as desired value the form is <b>getting saved automatically</b> and (then) the <b>field is getting mandatory</b>
but my requirement is to make field mandatory and then to save the order.
>
Which trigger are you using to do the "getting saved automatically'?
Does this trigger fire before the trigger that is making the field mandatory?
Regards,
PS: Is this an Oracle EBS query? If yes, this is the wrong forum
Edited by: Prabodh on Jun 14, 2012 4:48 PM -
Do I need to create billing for FD (free delivery) sales order
Hi
I have a question. I created first a sales order (FD) in our sap system. but I don't know whether I need to create billing for the FD order. when I try to create billing for this FD order, SAP cannot to process it.
I also research configuration. in VOV8, SAP not set billing function.
thanks
HenryHi henry
If you have created Free of charge delivery (FD) sales order then the item category will be KLN only.After PGI then stock level will reduce and the effect of the stock is that you are issuing stock to customer at free of charge.And as you have assigned cost center then the data will flow to the controlling area and the Financial document after PGI.
Secondly if you assign TANN as a item category and do delivery and then PGI then if the reference document is different then it will have affect as the KMN and TANN item categories doesn't have same features
Regards
Srinath -
MTO-Need to block (Not to Change)plant in sales order after process order
Hi All,
We are creating MTO sales order and requirement has been forwarded to MRP. Planning person is creating process order and will start their work. Sometime sales person change the plant in the existing sales order. Say for ex: changing the plant from 1000 to 1001. But requirement is already been transferred to 1000 plant. After changing the plant in sales order again the same requirement transferring to 1001 plant for planning. So based on this, 1001 plant also started producing the material. Here the problem is both the plants are producing for the same requirement. Now I need to control the this problem. Is there any way to control in std sap? if possible which way we can control? Please share your ideas.
Thanks in advance,
Babuhi
use user exit
MV45AFZZ
FORM USEREXIT_FIELD_MODIFICATION
here you write the logic
when production order exit that line item plant is not changeable ,
Maybe you are looking for
-
How to increase Indent in Mail messages and save as a default
How can I persuade my Mail settings to accept a larger Indent on a permanent basis.? I find that my Canaon printer has problems with some fonts being too near the Left hand edge of the page.
-
My C665 S5046 no longer recognizes the hard drive
I booted up my toshiba C665 S5046 and it goes to a screen stating I need to use a boot disk? Any idea what happened or what can I do as a work around? Does this mean the hard drive is bad?
-
CRM_COPY_BADI For Followup Transaction
Hi, I am currently trying to copy one field from the interaction record in teh IC Webclient to a followup transaction. (These transactions are both business activities). I believe the field I want to copy is in the SUBJECT method. I have created an
-
Read user selection from slicer of pivot charts
I want to read the slicer selection made by user and use those values to get the data from SQL.
-
I am in Mexico, and pages like google or yahoo redirect to .mx sites. I would like to know how to keep them from redirecting, to stay at google.com / yahoo.com