Skip to Content
author's profile photo Former Member
Former Member

Approval Query for GRPO Document when there is no base document that is PO

Hi,

I want to create a approval template in sap business one and here i want that whenever there is no base document for GRPO then it should go for approval.

Regards,

AswiniKumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on May 25, 2013 at 04:40 PM

    Hi Aswini Rout

    Try With This Query

    Select Distinct TRUE from pdn1 where BaseRef='-1'

    Hope Helpful 😊

    Regards

    Kennedy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2013 at 02:33 AM

    Hi Aswini Rout,

    Try this approval query:

    SELECT distinct 'true' FROM PDN1 T0 INNER JOIN OPDN T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[BaseRef] = ''

    Assign the above query in approval template.

    Hope helpful.

    Thanks & Regards,

    Nagarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2013 at 08:04 PM

    Hi,

    Approval query may only work for header table. Not line table. However, the link is only saved in line table.

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

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.