cancel
Showing results for 
Search instead for 
Did you mean: 

Using Addressnode for a addressfield in table

Former Member
0 Kudos

Can somebody help me by solving a problem in SAP Interactive Forms by Adobe?

For a purchase order must the delivery address displayed on the positons,

when the positions are assigned to different plants.

I want to use a addressnode in the context, that refers to a addressfield included in table

(e.g. item-adrno). But the result is an error message.

Is there any way to bring an address to every position using the Business Address Service

or using an other way?

Kind regards and thanks for help

Christian Peters

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Christian!

I've just checked - addresses are showed Ok in table rows.

Here goes my [test form result|http://www.perstnev.ru/downloads/adrc_result.pdf]

Please, check if you pass parameters correctly to address block.

And add error checking block after the call of the form's function module from you program before closing print job.

if sy-subrc ne 0.
    message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.

* Close spool job
if interface_type <> 'S'.
  call function 'FP_JOB_CLOSE'
    exceptions
      usage_error    = 1
      system_error   = 2
      internal_error = 3
      others         = 4.

  if sy-subrc ne 0.
    message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.

endif.

Thus you may receive more info about your error.

I suppose it is smth with the address you try to output.

Regards,

Petr Perstnev

Former Member
0 Kudos

Hallo Petr,

i do not understand how you solved the problem.

Are you able to give me more informations, how you solved

the call to the Business Address Service.

It would be very helpful for me.

Kind regards

Christian

Former Member
0 Kudos

Here it goes http://www.perstnev.ru/downloads/adrc.zip

All inclusive.

Regards,

Petr Perstnev

Former Member
0 Kudos

Hallo Petr,

i put the addressnode like you did and the compiler didn't brought an error.

now i have in the design mode a new entry for the address!

thank you very mutch

Kind regards

Christian

bolschoe wam spasibo

Former Member
0 Kudos

>

> bolschoe wam spasibo

That's very pleasant.

You are welcome!

Answers (0)