Restrciting NAST entries while 'print preview' of VA02/03 sales order

Hi experts,
While doing 'printing preview' for the displayed  VA03/02 sales order, an entry is created in the NAST table.
The requirement is to not create(or diffrentiate based on some flag) this entry in NAST table while doing 'printing preview' ..but for actual print the entry in NAST table should be created.
Finally the main aim is to differentiate between print preview vs actual print based on NAST entry.
I tried debugging but the parameters for print preview vs actual print  are same.
How can the print preview action be distinguished from actual print in such cases.
Thanks

Hi,
The requirement is to not create(or diffrentiate based on some flag) this entry in NAST table while doing 'printing preview' ..but for actual print the entry in NAST table should be created.
For your requirement to differentiate, you can use the field VSTAT in NAST table, this has possible values of 0, 1 and 2.
0     Not processed
1     Successfully processed
2     Incorrectly processed
So as and when an output type for printing is attached, the status of the output remains '0' until the form is actually printed, so in case of print preview it will remain to be '0'. This will change to '1' once the Print command is actually issued.
Regards,
Chen

Similar Messages

  • Using VA02 tcode sales order deletion

    Problem is: user getting error "you cannot select assembly order(production order number) for deletion" while trying to delete item from sales order using transaction code VA02.
    other info: corresponding production order status is
    "TECO PRT  CNF  DLV  PRC  BASC BCRQ GMPS"
    could anybody can tell me what is the reason for this? and how one can delete the same.
    Appreciate your quick resolution.
    Thanks,
    Aritra
    Message was edited by: Aritra Samanta

    Hi Suraj,
    Thanks for your response!
    But problem is that user is not going to delete sales order: he wants to delete one line item in "Change Make to Order" screen (Transaction code VA02).
    He is not able to delete one line item in sales order.
    Please tell me why he is not able to delete that item.
    for your information:I found some operations are not yet confirmed/closed in that corresponding production order. And also he is not able to close that production order.
    Is there any link between these to sales order changing?
    waiting for your valuable comments.
    Thanks,
    Aritra

  • Error while creating and opening a ERP sales order in SAP CRM

    Hi,
    I am getting an error while creating or opening a ERP sales order from SAP CRM.
    "Creation of the ERP Transaction failed" this is the error i'm getting while creating. when i try to open an existing sales order I'm getting a dump.
    Attached the dump screen shot. From the dump analyasis it seems the transactions are not loaded through LORD framework.
    The RFC connection seems to fine as i have tested accessing an ECC RFC FM through a sample program and its successful..
    please help..
    Thanks
    Krishna

    Hello Krishna,
    Did you get a solution to this? I have the same dump message.
    As a matter of fact, we already use ERP Sales Order and it works fine. But I have recently configured a new sales order document type, and the dump occurs only for this new Z order type.
    Thanks a lot,
    Luis.

  • SD - Manual entries allowed for item category in the Sales Order

    Hi experts,
    please do you know any OSS note related to SD, in order to increase the number of Manual entries allowed for item category in the Sales Order (table T184)?
    Thank you very much
    Andrea

    Hi,
    I searched OSS notes and did not find any OSS Note related to add more than 11 Manual Item categories or append T184 Table.
    Has any found solution for this, will this be a CORE MOD.
    Pavan Verma

  • Problem while print preview purchase order for new document type

    Dear Experts,
    I have got the problem as below and need your helps.
    I created a new purchasing document type and then created a new PO with this document type. PO was created successfully in the system. I added a message to print out PO with the followed parameters as NEU output type, 1.Print Out medium , VN partner function, dispatch time is 3 ( Send with application own transaction).
    Then, I clicked Print Preview button on the ME23n screen, the error message bellowed was shown
    "The combination of  document type
    and Purchasing organization is invalid.
    please check the document and change it.
    unable to print the form"
    I really want to print the PO with new purchasing document type on the existed purchasing organization, Could you please help me identify the problem and solution for this issue?
    Appreciate for your responses.
    Thanks,
    Tinh Vo Trung
    Edited by: Tinh Vo Trung on Sep 23, 2011 7:43 AM

    Dear All,
    Many thanks for your responses.
    Regarding to maintain the condition record in MN04, I already done for that but the problem was not resolved.
    Could you please come with the other posible causes and solutions for this issue?
    Dear Bijay Kumar Barik,
    Please let me know why we check the new document type in Program, Routine and From of NEU output type?
    p/s: I compared the version the program, FORM and routine of NEU output type and found that there is no the differences btw DEV server and QAs server. However, An PO created susscessfully in QAs server, but the error was happend in DEV server.
    Could you please come with the other posible causes and solutions for this issue?
    Thanks,
    Tinh Vo Trung

  • Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application

    Dear All,
    We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
    Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
    When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
    It is working fine for 3 different forms but problem with only 1 form.
    Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
    Thanks,
    Bharath.K

    Dear All,
    Thanks for your responses.
    We had identified the reason.
    Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
    Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
    Thanks,
    Bharath.

  • An Error while print preview (PLD) in all Data base

    After  creation of UDF, i have assigned a database table for the same in PLD but i was not getting Print preview.Now i hav removed the UDF and im trying to open a printpreview but still im getting the error like
    "Internal error(-101)occured(message 131-103)"
    Can any one help me....please.In all database im receiving same error.

    Hi,
    Could you please check whether the printer is installed on your machine or not. As this error message
    usually comes due to non installation of printer. In case this does not help, could you please tell whether this happens only with customised template or system template also.
    Regards,
    Gagan Thareja
    SAP Business One Forum Team

  • Print preview issue for amendment purchase order

    Hi
    Whenever i have created po in me21n t.code for two materials that time my outputype neu coming automaticaly and po print out also come for two materials in me9f .
    Supoose i have change quantity in me22n t.code for first line item for same po that time also neu coming automatically.but in   me9f coming printout first line item only,after that  po quantity changed available text in print preview,second line item material not comes,i need second line material also in print preview,plz help.
    Following configurations are completed for my output type(NEU) automatic generation in ME21N t.code and ME22N t.code
    in nace t.code EF purchase order for my condition records NEU for my document type nb and my vendor vn and message transsmission medium 5, dispatch time 3,language En,and my communication output device HP and save it
    SPRO-IMG-MM-PURCHASING-MESSAGES-MESSAGE TYPES-DEFINE MESSAGE TYPES FOR PURCHASE ORDER-FINED TUNED CONTROL PURCHASE ORDER-operation 1 for neu automatic generation in me21n, then operation  2 for neu automatic generation  in me22n.
    Regards
    Sam
    Edited by: sadaraji on Apr 15, 2011 3:50 PM
    Edited by: sadaraji on Apr 15, 2011 3:53 PM

    Hi,
      One thing you can do is, create a GUI Status resembleing the current GUI status, except the Print Prieview Button.Ans set the GUI Status before calling the Transaction in BADI or User Exit.
    Thanks & Regards,
    Vamsi.

  • Print Preview issue related to Purchase Order

    HI,
    I am working on purchase order printout. For the creation of P.O. I have worked on printout ad its working fine. As comes to change purchase order, client is using same output type and if they take the printout its coming as
    Amendment to P.O. (In case creation of new purchase order printout Its coming as Purchase order only.) And in the change purchase order printout, its showing the items changed(But in print preview i am able to see the the new created purchase order only....not the changed purchase order print preview)..
    How can I see the change purchase order print preview?..so that I can make the changes as per the client requirement.
    Thanks,
    Kishore

    Kalyan,
    This is possible provided you have mantained Individual Capacity Defination in the Capacity header of the work center. Since yours is Labour you need to assign the person to the Individual capacity details for Machine you can define your own naming. With this you should be able to confirm every product with referance to the Individual Machine.
    Since you are using Serial Numbers, I assume that GR you are doing using transaction MB31 or MIGO, where you can assign the Serial Number to the material.
    Regards,
    Prasobh

  • PM: Problemas de "Print Preview" al imprimir varias Work Order

    Buenos dias Estimados,
    Estoy experimentando problemas a la hora de imprimir varias Work Orders usando las transacciones IW32 , IW33 y IW38.
    Al intentar imprimir 20 work orders juntas, 20 ventanas de Print Preview aparecen asi dificultando la impresion de multiples work orders.
    SI alguien tiene alguna respeusta o ayuda para resolver este problema de setting se agradece.
    Gracias!

    Hola:
    Se me ocurre que podría ser que estuvieses llamando a tu programa de impresión cada vez que quieres realizar una copia de tu formulario. Eso no es necesario ya que puedes enviar el número de copias por parámetro a tu formulario. Quizá sea eso, a ver si hay suerte.
    Saludos,
    Óscar
    http://blogdesap.blogspot.com

  • Sales Item's Qty is disabled in change mode (VA02) of Sales Order.

    Hi,
    1) We create Sales order (L2) from Service Order(DP90 tcode), system automatically selects 'LABOR HOURS' material, based on actual hours posted for a service order and adds this as 1st line item in Sales Order. When order is saved and we go back to VA02, we find that LABOR HOURS item is disabled, meaning we cannot change Qty but can only change Amount. The item is not billed yet.
    2) If we add 2nd line item with same 'LABOR HOURS'  material in change mode(VA02), Ssave and get back to VA02 again, this item is enabled. We want to make the 1st Line item's qty enabled so users can change the qty before creating billing document.
    Since the 1st line item is created from DP90 tcode, system does not allow us to change the Qty ? Any help is appreciated.
    Niranjan

    Hi Jelena,
    Thanks once again for your time and responding back.
    If you remember, I had mentioned that we are creating Sales order from DP90 tcode. We had created a custom screen(and tcode) called ZWIN where we had provided a button to create Sales order from Service Order using DP90 tcode. In this custom screen, we were calling BDC for DP90 and creating Sales order. On the same custom screen, we had given option where users could enter other materials. For these extra materials added, we were using BAPI 'BAPI_SALESORDER_CHANGE', to add these new materials. Here is how I fixed it.
    1) DP90 would have created sales order with Item 10 for LABOR HOURS.
    2) Then  'BAPI_SALESORDER_CHANGE' would have added any extra materials selected on Custom screen.
    3) While calling this BAPI, I deleted Item 10 with LABOR HOURS and added new Line Item 11 with same LABOR HOURS.
    Now when I get into VA02, I see that LABOR HOURS line is enabled, which means we can change Qty.
    This avoided deleting line item and adding same item in VA02 when there was a change in qty later.
    Thanks again.
    Niranjan

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Error while updating Ship to Address on Sales Order form

    hi ,
    A user is trying to update the ship to address on a standard sales orders screen, this is pretty common and never caused any issues. However with one particular order the user gets the following error :
    "You cannot update Ship To Location; the standard value rule set prevents override. "
    This is an Oracle shipped message and not custom code. The message name is OE_SEC_UPDATE_VIOLATION whose text is : You cannot update &ATTRIBUTE; &REASON
    Seems like REASON is the message : OE_SEC_SV_VIOLATION, whose text is
    " the standard value rule set prevents override. "
    This is a message shipped by Oracle Order entry. I am not able to locate this message since the oracle shipped files are not available to us and this is not in any database code(i searched the code)
    Does anyone know when this message is thrown. It seems like some value set error but am not able to figure out where it is being set.
    Any help in this will be appreciated.
    Thanks

    Did you check if any Processing rule is defined for Ship to location update :
    Setup> Rules > Security > Processing constraint ?
    Maybe this order matches condition that prevents this field from being updated.

  • Budget control in project WBS'e  while creating the auto PR from Sale order

    Hi experts,
    we are creating the auto pr from sales order for trading process with budget wbs element. but commitment is not posted in project wbs were as pr is created through sale order
    pls suggest if any additional setting is required  to post commitment while creating auto pr from sale order.
    rgds
    rajesh

    Check account assignement categories in SD for PR creation and See if you can make PR to be created with WBS as account assignement like we do in OPTT.

  • BDC Program to Set Reason for Rejection in VA02 in Sales Order Change

    Hi i have a requirement i have to set "reason for rejection" in random line items of Change mode of sales order VA02.
    I have to develope BDC for this task and i have the list of all open line items which displays in VA05, can any of them can guide me how to develop BDC which will randomly select line items and set reason for rejection in VA02 Sales Order Change transaction.
    With Regards,
    S.Saravanan

    Hi Saravanan,
    As mentioned in the previous reply, you can use the FM:SD_SALESDOCUMENT_CHANGE and set the reason code for the line item like for eg:  move '03' to IT_INPUT-REASON_REJ. and also set 'U' for update flag in the header structure,
    move 'U' to HEAD_INPUT_INX-UPDATEFLAG
    this will be best and easy method.
    for this, FM,you need to pass the below parameters:
    CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'
    EXPORTING    
       salesdocument                   = old_order
           order_header_in             = head_input
            order_header_inx           = head_input_inx
          TABLES
            return                      = return
           item_in                     = it_input
           item_inx                    = ii_input_inx
           schedule_in                 = schedule_input
           schedule_inx                = schedule_inputx
    declare all these structure and internal tables as per documentation of the FM.
    hope this helps.let me know if you need more information.
    Thanks,
    Srini.

Maybe you are looking for

  • ITunes Radio Purchase Missing from iPhone w/Match Enabled

    I recently purchased Usher's 'Scream' while listening to iTunes Radio on my iPhone 5. Purchase went through successfully, but when I try to download it locally from the iTunes store app on my iPhone the download appears to complete but it never appea

  • Problem with thumbnails loading on LR Gallery.

    Hi everyone. I am having difficulty getting galleries to upload properly, and show the jpg files after running them through Lightroom. I use the web gallery in LR, but then when I go to view a gallery online (it looks fine my the example given in LR)

  • Using B&W monitor with Beige G3

    I would like to use a B&W monitor with the older Beige G3 computer. I know I would need an adapter but what kind and where can I get one? I see adapters at the Apple website but have no idea which one I should use. Also, how can I use a USB Hub with

  • Website and webproof

    Being new at this. I am looking at getting a website and downloading the webproofing .... can someone recomend a easy (for computer dubbies) and well prices (not gonna break the bank) webhost? Thanks

  • Lost iWeb Template

    My iWeb template for my website seems to have disappeared. I have searched high and low within this iMac to find it but cannot. I enjoy posting to my site and would like to continue to do so. Can you help me find my template or suggest other ideas?