Skip to Content

Help me with A sql query for Approval Procedure

Hi experts

I need the users to go through Approval Procedure if the user create the Delivery Note using the Tax code 'X0'

Regards

Vinod

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Sep 05 at 01:42 PM

    Try this query,

    SELECT distinct 'True' FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.[DocEntry] = T1.[DocEntry] WHERE $[$38.18.11] = 'X0'

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05 at 12:03 PM

    Hi,

    The approval process will work only on header level not on row level.You can user transaction notification instead of approval process.

    Regards,

    Nagarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05 at 12:28 PM

    We can't make approval through transaction notification.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05 at 01:30 PM

    This is standard system design from SAP for approval. If delivery order contains only one line item, then approval process will work for that line only.

    If multiple lines, the you have to create add-on for approval process.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05 at 01:38 PM

    Do you need approval query for only one line item?

    Add a comment
    10|10000 characters needed characters exceeded

    • Only for single line is not usefull one for me .

      Because users may use multiple lines...if it's not possible for multiple lines as per u said pls provide me with transaction processes query.

      Let me ask a doubt

      If am having 3 lines and in 2 lines there is vat and in the 3rd line there is no vat then will it go for approval..if it works then it's good for my client

      Regards

      Vinod

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.