Smartform development for Planned service invoice for Billing type YL2

I have a requirement for smartform which is basically for planned serice invoice for billing type YL2.
My end user asking me to develop two layouts ( Two Main windows ) in one smartform its changing depend on the condition , that condition is if AFIH-ALART = Y06 and AUFK-AUART = YSM1 OR YSM2 OR YSM3 OR YSM4 THEN THE LAYOUT IS DIFFERENT.
header and footer is same for two layouts  in one smartform.
Pls suggest me how to give condition for changing main window depend upon the condition ,two main windows contain different data its changing on the above condition .
Pls suggest me the solution for this query.

hi
as the layouts are different,  it is not possible to do this in main window because a smartform can have just 1 main window and you can't change the layout defined.
create a secondary window with the other layout and this window'll be displayed only when the required condition is met and same applies to main window.
hope this'll help
Regards
Dheeraj

Similar Messages

  • Sales document type ZA99 cannot be invoiced with billing type LR

    Hello Guys
    I am getting this error even if i have configured billing. Please help. Here is the error
    'Sales document type ZA99 cannot be invoiced with billing type LR'
    Thanks
    Venky

    If your process chain is like ZA99 (order) -> ZL99(delivery) ->ZF99 (billing) -> LR (invoice List)
    Then your copying control settings should reflect the same flow.
    VOV8: delivery and billing types to default as above
    VTLA: set up for ZA99 ->ZL99; VTFL: ZF99 ->ZL99; VTFF: ZF99 ->LR
    Since no copy control settings for ZA99 ->LR, itemCa at VOV7 is not order-rele billing, and no default value at VOV8, it can not be copied.
    If you do want to invoice your order directly like service item scenario, make customizations accordingly.
    Message was edited by:
            John MG

  • Delivery type LR cannot be invoiced with billing type RE?

    Hi,
    I am refering below flow to create an return order, but face an error when creating credit billing document:
    ret sale order(RE)-ret delivery(LR)-post goods receipt(stock will be restored in corresponding storage loc)---credit for return(RE)
    Error msg: " Delivery type LR cannot be invoiced with billing type RE;
    Check the table entries for the copying control of billing
    documents and add the missing entries as necessary.
    Make the appropriate settings in Customizing if you have
    the authorization to do so."
    So i guess i might need maintain corresponding copying control for 'delivery document to billing document'...As the source order type is LR, and target order type is RE...I checked SPRO and found there are below inputs needed.  May i know what kind of data should be inputed normally??
    "Copying requirements
    Determ.export data
    Assignment Number
    Reference number"
    Thank you very much!!

    Hi
      In standard SAP credit memo for sale returns with refrence to return order only. (RE). Thats why you are getting this error. If your requirement is to refer the delivery quantity for the credit memo then you can do any one of the following
    1. Change the copy control setting for Return order to Credit memo.
        Go to VTFA transaction and select your return order type (RE) and Credit memo type (RE) and go to item category level and select your returns item category (REN) and change the billing quantity to 'D' -Delivery quantity.
        Now create your credit note with reference to your returns sale order. (not delivery). Onlly delivered quantity will be copied to the credit memo.
    2. If you want to create return credit memo with reference to your return delivery then follow the first two guy's reply. Also you have to do one more setting at your return order document type (RE).
       Go to VOV8 and enter ur return order type and go to details then enter the return credit memo type in the delivery related billing field. (FKARV) in the billing section.
    Regards
    Shiva

  • Item category TA TAN cannot be invoiced with billing type F2

    Hi,
    I'm new to SAP SD . when i try to create billing for  a sales order the error is as follows:
    "Item category TA TAN cannot be invoiced with billing type F2"
    Please help me in solving this.
    Thanks,
    Challa

    Hi,
    Sorry i got got the answer. Item Cat TAN is delivery related billing wherein i tried to bill for the Order.
    Thanks,
    Challa

  • Error of ZCQC TAN cannot be invoiced with billing type ZCQB

    Hi Experts,
    While creating billing document thru Sales Order (Compounding Re-Order type), an error "Item category ZCQC TAN cannot be invoiced with billing type ZCQB" is coming.
    Please provide guidance to resolve error.

    Hi PARIKH NIKHIL
    Maintain the copy controls in VTFA -(Order Related Billing)
    --Select your  Billing document & Sales order Document
    --In header
    Copying requirement- *001*
    Reference number-- E
    Check mark copy item number
    Save It
    --Check in VOV7 select your item category & check billing reference should be  B (Order Related Billing)
    --Raise Billing in VF01 with reference to order number
    Let me know if your problem is solved
    Regards
    Pradeep

  • Item category ZLCO L2N cannot be invoiced with billing type ZLR.

    Hi experts,
    I made one sales order with order type ZLCO.(Order relevant Billing type). At the time of doing VF01 i am getting the following error Item category ZLCO L2N cannot be invoiced with billing type ZLR.
    Any one guide me to solve this problem.
    Regs.
    SR

    hi
    Kindly check the below
    1.Check the copy control configuration  in the t code VTFA
    2.Check the t code VOV8 sales document configuration
    Regards
    Damu

  • I need a statement for the service you automatically billed me for.

    I need a statement you automatically billed me for, for my annual membership so submit to our auditing department.  Can you email me one?

    Hi,
    Please see this document: Print a payment receipt or invoice | Creative Cloud
    You can find instructions for printing your invoice in the Payment & Credit Cards section.
    Regards,
    Florence

  • Service entry sheet creation for planned services

    Hi,
    I have created a service purchase order with planned services. After this I am trying to create a service entry. During ML81N, I give the P.O number and then click on create service entry.
    However, to adopt the services from the purchases, there is a service selection tab which takes the user to the services tab of the purchase order and then the user must select the relevant service and click on the adopt button to bring the  service into service entry sheet screen.
    However, in my  case, the service selection tab is not appearing on the service entry screen. Hence I am not able to call the services from the purchase order. I am on ECC 6.0 version.
    Am I missing some step in config or in procedure ?
    Kindly advice.
    Regards,
    Rajeev

    Hi,
    This doesn't sound like a config problem.
    If the services are on the PO then you should be able to select the option to choose them from the PO services.
    A remote (very remote) possibility is that you may have an authorisation problem, stopping you from being able to use the PO details? Is this possible? do you have authorisation to change this PO via ME22N etc:?
    Steve B

  • Help needed for creating 1 invoice for 2 different material types.

    Dear, Gurus
    I really need help here I have spent 3 days cracking my head trying to solve the problem. Problem is client was creating invoice with reference to order and while invoice was being made it would cause an invoice split. The materials involved are Trading Good and Service Material. They would like only 1 invoice. Note nothing was different except material group and item cat. of the material. payment terms billing dates partners everything is same.
    Current item config for Trading Good material is ZMPI-project item cat.
    Copying requirements   023  Item ord.ref. w/o AZ        Billing quantity     A
    Data VBRK/VBRP         000                                           Pos./neg. quantity   +
                                                                                    Pricing type         K
                                                                                    PricingExchRate type
                                                                                    Price source
    Current item config for service Material is TAD-Service
    Copying requirements   002  Item/order-related          Billing quantity     A
    Data VBRK/VBRP         001  Inv.split (sample)            Pos./neg. quantity   +
                                                                                    Pricing type         G
                                                                                    PricingExchRate type
                                                                                    Price source
    I was told to change Data VBRK/VBRP to 003 One Invoice which I did in both of these item cat. and yes they worked perfectly but at time of creating the invoice for service material the qty that showed was 11. Note: In sales order it is 1 qty. So I went back into the config of item cat TAD and changed copying requirement to 023 instead of 002 but nothing changed. Seems a qty of 10 is referencing something else which I have no idea what or where it is picking this up from. Just to see or test things I went into the sales order and tried changing the service material qty then a weird popup appears and says service order 12344456 has been blocked. (Seriously I have no idea why this would happen or should be existing at all.) Even if for some reason it is being referenced the service order that is existing is qty 1.
    I really really do need help and if someone can help me that would be god sent.
    Regards, Ali

    You did not mention what value is maintained in the field billing quantity in the copy control->Item settings. Check for the service item, what value is assigned. Put value A and re-test.
    Note that whenever you change any settings in configuration side, you need to create a new documents to test the results of the settings. You should not use the existing documents.
    When you say the document is blocked, then check the status of the sales order to find the reason for blocking (like credit block, approval etc)..
    Regards,

  • Mandatory Segments / Fields for Incoming Vendor Invoice for PO

    Hello,
               I have a Requirement to develop an Inbound Interface for Incoming Vendor Invoice with Reference to a PO. If I have to build an IDoc using WE19 tool, what are the Minimum Mandatory Segments / Fields that I need to populate in order to Post the Invoice successfully for the PO? Please let me know along with the Qualifiers.
    Thank You,
    Venkata Phani Prasad K

    Managed to Find the Necessary Segments along with the Qualifiers required to Post the Incoming Invoice. Closing the Thread.

  • Regarding marking of status for generate draft invoice for single projects

    Hi,
    1)
    I have read through the portion - "Automatic Invoice Approve/Release Extension" in the document - "Oracle® Projects APIs, Client Extensions, and Open Interfaces".
    Noticed the package - "pa_client_extn_inv_actions" and procedures - "approve_invoice, release_invoice".
    I understand that these procedure play role in the actually approving & release of the invoice but will this also play role in changing the status or some other code need to be written for changing the status.
    My requirement of customizing a workflow for approval also need to mark status as unapproved when not approved. Not sure if same procedure will help.I am completely new in Project accounting so not sure if I have put forward very basic questions.
    2) Second question is in regards to the way this procedure should be modified :
    This is the code for approve_invoice:
    /*----------------------------------------------------------------------+
    | Approve Customer Invoice Template |
    +----------------------------------------------------------------------*/
    Procedure Approve_Invoice ( P_Project_ID in number,
    P_Draft_Invoice_Num in number,
    P_Invoice_Class in varchar2,
    P_Project_Amount in number,
    P_Project_Currency_Code in varchar2,
    P_Inv_Currency_Code in varchar2,
    P_Invoice_Amount in number,
    X_Approve_Flag out NOCOPY varchar2, --File.Sql.39 bug 4440895
    X_Status out NOCOPY number ) is --File.Sql.39 bug 4440895
    BEGIN
    -- Reset the output parameters.
    X_Approve_Flag := NULL;
    X_status := 0;
    -- Add your Approve Invoice Logic here.
    -- If you want to Approve the Invoice set X_Approve_Flag to 'Y'.
    -- If it's null or set to 'N', Approval of Invoice will not be Done.
    -- Do not add 'commit' or 'rollback' in your code, since Oracle
    -- Projects controls the transaction for you.
    EXCEPTION
    when others then
    -- Add your exception handler here.
    -- To raise an application error, assign a positive number to X_Status.
    -- To raise an ORACLE error, assign SQLCODE to X_Status.
    RAISE;
    END Approve_Invoice;
    I have shown below what I understand on the modifications to be done on the same:
    Procedure Approve_Invoice ( P_Project_ID in number,
    P_Draft_Invoice_Num in number,
    P_Invoice_Class in varchar2,
    P_Project_Amount in number,
    P_Project_Currency_Code in varchar2,
    P_Inv_Currency_Code in varchar2,
    P_Invoice_Amount in number,
    X_Approve_Flag out NOCOPY varchar2,
    X_Status out NOCOPY number ) is
    BEGIN
    -- Reset the output parameters.
    X_Approve_Flag := NULL;
    X_status := 0;
    X_Approve_Flag := 'Y';
    -- If you want to Approve the Invoice set X_Approve_Flag to 'Y'.
    -- If it's null or set to 'N', Approval of Invoice will not be Done.
    EXCEPTION
    when others then
    X_Status = 1;
    -- To raise an application error, assign a positive number to X_Status.
    -- To raise an ORACLE error, assign SQLCODE to X_Status.
    RAISE;
    END Approve_Invoice;
    **Will this modification "X_Approve_Flag := 'Y';" result in the invoices to be approved if I put this after the APPROVE path and if I put "X_Approve_Flag := 'N';", does that mean that the invoice would be rejected/unapproved so that I can put it after the REJECT path ?
    3)
    Custom workflow launch procedure to be fired from billing extension screen. Presently what is done is in the project template screen, in the billing assignment, the billing extension is referred.
    That means for each and every project, billing extension name will be attached.
    Present flow is once the generate draft invoice runs, triggers the billing extension, which in turn invoke the custom workflow launch procedure. But my question is how my workflow launch procedure is going to identify the particular transaction which triggered the workflow procedure, because based upon some project number/id/invoice number, I will have a select fetch the data into variable and then setting those into workflow attributes between create process and start process.
    So question is how my procedure will identify the transaction which invoked the procedure to get the particular project number/invoice number may be.
    I am not getting much from my research so thought of sharing with you if someone can assist me on the same.
    Regards,
    Ad

    Hi Krishna,
    Yes. I am invoking my workflow from billing extension only. I have entered the procedure name in the billing extension. Now when the draft invoice runs , setup is such that billing extension gets invoked as a result of "draft invoice for a single project".
    Till now its fine because my workflow is actually getting launched from here.
    Now custom requirement is that the approve and release in invoice review screen will be disabled and the approval process will have to be custom.
    Till this also its fine.
    A scenario is when the custom notification reaches approver. He/she would either approved or reject. If he approves, then invoice should get approved and then released.
    For this we tried and it seems no API is available as mentioned by Oracle. So whats the way to update invoice statuses ?. Presently we are going with a not recommended way - insert into tables . But I feel something should be there on updating status as per custom logic.
    You can let me know what u did for changing statuses
    When we do release from invoice review screen, an RA invoice number gets generated. I also need to update the table with the RA invoice number while insertion in table. Now there is no d/b sequence for this number. I have tried to open the logic of Release button and could get on table name PA_IMPLEMENTATIONS which always have 1 row for per OU. and there is a field next ra invoice number which shows the RA invoice number to be used. This value will keep on incremented as long as RA number gets generated.
    I am stuck at this place , on how to get the RA invoice number with some proper recommended method.
    In short I need a way to update inoice statuses like approved, released other than direct insert in table
    and how to get RA invoice number to be utilised while the release logic
    Regards,
    Ad

  • Current best practice for Time service settings for Hyper-V 2012 R2 Host and guest OS's

    I am trying to find out what the current best practice is for Time service settings in a Hyper-V 2012 environment. I find conflicting information. Can anyone point me in the right direction. I have found some different sources (links below) but again the
    are not consistent. Thanks
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx
    http://technet.microsoft.com/en-us/library/virtual_active_directory_domain_controller_virtualization_hyperv(v=ws.10).aspx
    http://social.technet.microsoft.com/wiki/contents/articles/12709.time-services-for-a-domain-controller-on-hyper-v.aspx

    From the first link provided by Brian, it does state that the time service should be off, but then the update changes that statement.  Still best to rely on the first link in the OP - it was written by the guy that has been responsible for much of what
    gets coded into Hyper-V, starting from before there ever was a Hyper-V.  I'd say that's a pretty reliable source. 
    Time service
    For virtual machines that are configured as domain controllers, it is recommended that you disable time synchronization between the host system and guest operating system acting as a domain controller. This enables your guest domain controller to synchronize
    time from the domain hierarchy.
    To disable the Hyper-V time synchronization provider, shut down the VM and clear the Time synchronization check box under Integration Services.
    Note
    This guidance has been recently updated to reflect the current recommendation to synchronize time for the guest domain controller from only the domain hierarchy, rather than the previous recommendation to partially disable time synchronization between the
    host system and guest domain controller.
    . : | : . : | : . tim

  • Account is blocked for posting - parking Invoice for one time customer

    Hi Experts
    My end user is encounter error "Account is blocked for posting " when they tried to park invoice for one time customer (FV70). I checked and confirm the customer is not been blocked and allowed for posting in this period. Anything i can do for resolve this issue?

    Hi
    after you open T-code FS00 click on the GL and choose the change pen then click on  un-mark the Lock indicators .
    Regards
    Mahmoud El Nady

  • Item category TA YTAK cannot be invoiced with billing type F2

    Hi Experts,
    Error message in creating billing
    I did not make shipment and directly make delivery PGI This is transportation relevance showing in delivery.
    Is this reason preventing from creating F2 blling type?
    I am getting error for item category YTAK can not be invoiced with billing tye F2
    VOV8 order type is OR. F2 is maintained for delivery related and also sale order related billing F2. YTAK item category billing relevance A It has special stock indicator E. Copy control VTFL has Item category YTAK as below screen shots.
    Sales order is complete, delivery is complete and PGI is done. No order/delivery/billing block.
    I had made shipment configuration but for this delivery I did not make shipment but directly PGI.
    So is this error for billing?

    Hi,
    I have resolved this issue by creating shipment.

  • Check for Payment Service Invoices - Canada

    When printing checks for Payment, using 2007A SP01 PL09, in the Canadian localisation, the stub lines print twice when printing a check for payment involving  service type AP invoices. It prints the lines correctly, then prints the invoice keys again and a 0
    line. Discovered my issue.
    Edited by: Dianne Johnson on Feb 23, 2010 10:54 PM

    Your question is not very clear.  What do you mean for your last sentence: Discovered my issue?  You may share what is your solution if you discovered the solution by yourself.
    Thanks,
    Gordon

Maybe you are looking for