on 08-24-2023 3:28 AM
Hi Team,
I have requirement the i need to display the Barcode with length of 6 with below field values
first 2 digits - current page numebr ( ex:01)
second 2 digits - Total pages count ( ex: 10)
last 2 Digits - last 2 digits of personnel number ( Ex: 23) ( this field im already getting in the layout)
so it need to concatenate 3 field values ( 011023 ) and display as barcode , iam aware of binding a single field and display as barcode , but how do i concatenate 3 fields and display barcode? do i need to write script or logic ? where i need add it? please advice?
Thank you
Nk
In general, both providing a field with the concatenated values in the interface and creating it via scripting would work. In this specific case, at least one component is dynamic (current page) so your only option is scripting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply , now my requirement is slightly changed , i need to count totally no. of pages for each PERNER instead of total pages in Spool, suppose there are total 9 pages and 3 PERNER are there , so each PERNER have 3 pages ,
ex: for first PERNR
first 2 digits - current page numebr ( ex:01)
second 2 digits - Total pages count for penner(03 )
last 2 Digits - there should counter , the value should increase for each page ( so end of the 9 th page it should be 09)
Please let me know how to write logic to count pages for each PERNER?
Thank you
NK
c5e08e0478aa4727abc4482f5be390b2 even though the page number and total number of page varies, as the OP knows the final total number of pages, NK could do everything in ABAP without scripting anything (in case doesn't know how to script), and pass the values to the Adobe form.
010101
010202
010303
020104
020105
...
It's not clear what knowledge NK is missing.
Do a barcode?
Get the page number?
Bind barcode value to an ABAP variable?
Formatting number with leading zero if <= 9?
Concatenate strings?
Again, it's a question of type "this is my requirement, do everything for me" (although maybe the OP is missing only one tiny piece of information).
which is why I am done with the answer 🙂
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.