Skip to Content

On PGI to create invoice and inbound delivery (multiple Special Function in V2 application Issues)

Hi All

On PGI in VL02N, requirement is to create proforma invoice automatically. For this, calling custom program based on special function configured for output type ZXXX. But there is already SPED output type for creation of inbound delivery on PGI .

Now on PGI in VL02N, there are 2 special functions executing SPED & ZXXX output types, could not able to create invoice along with SPED. Without SPED my logic is working fine and creating proforma invoice and could see in document flow.

How to handle both one after the other ? Please help tried several ways, finally posting for suggestion.

Waiting for reply.

Thanks, Uday.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 25, 2020 at 10:28 PM

    Hello Udaya,

    SAP offers proforma invoice as billing type F8, are you creating proforma invoice via F8 billing type against the delivery, or you have a custom output type ZXXX for proforma invoice which you trigger on delivery PGI ?

    SPED and your ZXXX output type should not have any relation, and you should go to output type determination analysis to figure out why your ZXXX output is not triggering.

    It could also be that you have a routine linked to your ZXXX output type, so you should check the custom logic in routine via NACE to determine if ZXXX is getting suppressed.

    Regards,

    Ameya B.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Ameya, Thanks for quick reply.

      Creating custom proforma invoice via ZF8 billing type against the delivery for ZXXX output type.

      SPED and ZXXX output type has only one relation, that is requirement 1 in config.

      ZXXX output is triggering , in the custom program I have called CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE' IN BACKGROUND TASK to create invoice, but it is not creating invoice in immediate mode (4). And I could go till this point of debug.

      Is this because of creation of inbound delivery (SPED) and invoice parallel ? Does SAP recommends to create invoice and inbound delivery in the same session for one outbound delivery VL02N ?

      Thanks, Uday

  • Posted on Jul 26, 2020 at 10:25 AM

    Hello Udaya - Thank you. So to me it seems you have created a copy of standard F8 billing type to create your own custom ZF8 billing output which you call proforma invoice.

    Why do you need a custom delivery output type ZXXX for the billing document ZF8 ? You can simply trigger ZF8 using automated billing background job using program - SDBILLDL or transaction VF04. This will also help you eliminate your ZXXX output type.

    Regarding SPED, you can try with mode 3, and background job RSNAST00 to trigger processing of your driver program linked to SPED.

    I think you should review your design with your functional resource, as it seems you have created ABAP customization instead of leveraging standard SAP provided solutions.

    Regards,

    Ameya B.

    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.