cancel
Showing results for 
Search instead for 
Did you mean: 

INVOICE number created in ECC

Former Member
0 Kudos

Hi,

I am creating SRM invoice through interface. I am picking up a file & creating invoice in SRM. It is getting created but it is not bringing back the invoice number created in ECC. The status of invoice is 'Approved'. It should be 'Posted in the backend'. Am i missing populating some field which is required for the invoice to be posted in backend? Please let me know if any one has worked on any such scenario.

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

May be due to some bug in the system.

<u>Please go through the follwoing SAP OSS Notes as well -></u>

Note 826467 BAdI implementation: Outgoing message in EBPXML format

Note 839364 Long texts at item level and header level are interchanged

Note 828534 Incorrect method-interface BBP_SAPXML1_IN_BADI

Note 824179 Outbound XML messages are invalid (empty days)

672282 XML invoice receipt: Error "Sold-to party in invoice ..."

Note 558317 Invoice receipt XML multi-company incorrect

Note 643516 Incorrect item numbering in XML invoice receipt

655921 Derive 'bill to address' from requester

Note 578938 XML Invoice receipt: Texts not transferred correctly

579669 Error messages XML invoice receipt not returned correctly

556230 XML IV XI receipt:Incorrect terms of payment

Note 550257 Invoice receipt: No error message and no invoice

Note 517056 Sending EBP XML invoice via XI: OrderingParty is missing

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Hi Atul,

Thanks for your reply. when I create invoice manually, it gives the backend invoice number but when I create thru interface, although invoice is getting generated in ECC but the invoice number is not coming back in SRM.

Please help.

Regards,

yann_bouillut
Active Contributor
0 Kudos

Hi,

If invoice is created (interface or directly) in SRM, then an IDOC is sent to ECC to create the invoice (with different number range between SRM and ECC).

SRM report BBP_GET_STATUS_2 retrieve the invoice number and store it in the SRM document history (SC, PO, INV...).

Kind regards.

Yann

Former Member
0 Kudos

Thanks for your reply Yann.

I ran that report after creating the invoice but its not updating the status as 'Posted in the Backend' in SRM. Its still showing approved. Am I missing sth in thw whole process..Please help me out.

regards.

yann_bouillut
Active Contributor
0 Kudos

Hi,

Do you have any dump in ST22 in ECC or SRM ?

Did you check that the IDOC is not in error in ECC ? -> check TA WE02

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann,

the Invoice is getting created in the ECC & the invoice number is also there in the status record of the IDoc as below:

Document no. 5105601173 created

The only thing is that this invopice number is not getting reflected in SRM.

Please help.

Regards.

Former Member
0 Kudos

Hi

Seems to be bug incase the number is not visible in SRM side.

<u>All the Taxes are added and displayed in SRM Invoice at the Header level.</u>

<i>See related SAP OSS Note -></i>

Note 906672 - SRM-SUS localization for India in SRM 5.0 release.

Regards

- Atul

Former Member
0 Kudos

Hi friends,

I have debugged the proxy. The FM that this proxy is using is

BBP_SAPXML1_IV_CREATE_VND_IN which inturn is using FM BBP_API_IV_CRT which inturn is using BBP_IV_CRT_PROCESS which inturn is using BBP_IV_CRT_COMPLETE.

Inside this FM, The code :

IF ls_header_p-be_object_type IS INITIAL.

i_header-be_object_type = c_b_iv_fi.

i_header-be_log_system = i_header-logsys_fi.

ENDIF.

is populating BUS2068 in i_header-be_object_type. This fields needs to be BUS2081 which is the case in standard invoice created manually. I am not sure what field do i need to populate by which value to get the value BUS2081 in field i_header-be_object_type.

Please help.