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

put some data form the databse of SQL Server into SAP and auto general PR?

Dear all,

Can you tell me how I can put some data from the databse of SQL Server into SAP and auto general PR?

Best regards,

Merryzhang

Edited by: merry zhang on Feb 4, 2009 9:10 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Feb 04, 2009 at 09:49 PM

    What the heck is "auto general PR"? Please use correct spelling and grammar.

    You can't just put some "data" into SAP, you need to know and understand what you're doing. Creating a material? An order?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 05, 2009 at 03:37 PM

    What's a "PR"? Public Relations? Puerto Rico? Problem Report? Purchasing Requisition?

    It doesn't matter where the data comes from, what are you trying to do in SAP exactly?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 05, 2009 at 04:07 PM

    Hi Zhang,

    If i have understood your question properly, I guess you wanted to create Purchase Requistion automatically right?

    Then you have lots of option simpilest one would be create a couple of Z table with all the fields that you require for header and Item.

    create a Program and use BAPI function module to create the PR by reading the values from those Z tables. after creation delete the contents from the table. Schedule this program in Background periodically like everyday or weekly once however you would like it to be. So once the table has contents in it and when the program runs it will create the PR's (Purchase Requisition).

    You can also use a workflow with the Z table. Once the Z table is filled you can trigger a workflow based on the Table change. I'm not sure like how to do it but I nkow that this process can also be used.

    Hope this might have thrown some light upon.

    Thanks,

    Prashanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2009 at 09:46 AM

    Hi Merry,

    read the date from db via SELECT ... and create a "PR" via BAPI: BAPI_PR_CREATE.

    Regards, Dieter

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 15, 2009 at 03:15 AM

    thank you

    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.